SlideShare a Scribd company logo
SHRI RAMDEOBABA COLLEGE OF ENGINEERING
AND MANAGEMENT, NAGPUR.
F I N A L Y E A R P R O J E C T
By:
• Sayali Bodhankar - 18
• Mayur Harisangam - 53
• Akash Kharde - 79
• Shubham Patwardhan - 81
Project Guide:
• Prof. B. Lad.
Development of software to
detect faulty circlips by
pattern matching.
What is a circlip?
• A circlip (circular clip) is a type
of fastner or retaining ring consisting of a
semi-flexible metal ring with open ends
which can be snapped into place, into
a machined groove on a dowel pin or other
part to permit rotation but to prevent
lateral movement.
• Circlips are often used to secure pinned
connections.
Literature
Survey
• Mostly used for surface defect detection like sheet metal, fabric
textiles etc.
• Process: surface image is acquired by using a camera from top of
the surface from a distance adjusted so as to get the best possible
view of the surface.
• R-G-B image is converted into grey scale.
• Noise removing and filtering.
• Thresholding is done to get those pixels which represents an object.
• Histogram equalisation :
Histogram equalization is a method for stretching the contrast by
uniformly distributing the grey values enhances the quality of an image
useful when the image is intended for viewing.
• This method is applicable to differentiate textures , also the method
detects a variety of defects for a given texture.
1. Texture Defect Detection:
Literature
Survey
• This method is generally used for detection moving objects in videos from
static cameras.
• Generally an image’s regions of interest are objects (humans, cars, text
etc.) in its foreground.
• The rationale in the approach is that of detecting the moving objects
from the difference between the current frame and a reference frame,
often called “background image”, or “background model.
2.Foreground extraction and background
subtraction
Literature
Survey
• PCA is used to extract features of stored image and test
image.
• The Euclidian distance applied between the features of
standard images and the features of the test image, to
recognize the highest similarity image from the standard
image to the test image.
3.Principle Component Analysis:
Process Flow
Calculate Number of Holes
FAIL
Calculate Area
=2 ?
No
PASS
Within
Tolerance
range?
Dilation :
This operation is used to restore boundaries of the particles eroded due to erosion
operation. A dilation eliminates tiny holes isolated in particles and expands the particle
contours according to the template defined by the structuring element. This function
has the opposite effect of an erosion because the dilation is equivalent to eroding the
background.
For any given pixel P0, the structuring element is centered on P0.The pixels masked by a
coefficient of the structuring element equal to 1 then are referred to as Pi.
If the value of one pixel Pi is equal to 1, then P0 is set to 1, else P0 is set to 0.
If OR(Pi) = 1, then P0 = 1, else P0 = 0.
Firstly an Erosion operation is performed to eliminate the pixels isolated in the
background.
For a given pixel P0, the structuring element is centered on P0. The pixels
masked by a coefficient of the structuring element equal to 1 are then referred
as Pi.If the value of one pixel Pi is equal to 0, then P0 is set to 0, else P0 is set to
1.If AND(Pi) = 1, then P0 = 1, else P0 = 0.
According to the erosion operation mentioned above a pixel is cleared if it is
equal to 1 and the three neighbours to its left are not equal to 1.
However this operation also erodes the contour of particles according to the
template defined by the structuring element.
Local Thresholding:
The average is referred to as local mean m(i,j) at pixel (i,j).
An image B(i, j) is calculated as
B(i, j) = I(i, j) – m(i, j)
where m(i, j) is the local mean at pixel (i, j).
An optimal threshold is determined by maximizing
the between-class variation with respect to the threshold.
The threshold value is the pixel value k at which the following expression is maximized
B2=[T(k)-(k)]2/(k) [1-(k)]
where
(k)=i=0kip(i) , T=i=0N-1ip(i)
● i represents the gray level value.
● k represents the gray level value chosen as the threshold.
● h(i) represents the number of pixels in the image at each gray level value.
● N represents the total number of gray levels in the image. (256 for an 8-bit image)
● n represents the total number of pixels in the image.
Thresholding
Thresholding sets each grey level that is less than or equal to
some prescribed value T‐called the threshold value‐to 0, and
each grey level greater than T is changed to K ‐ 1.
Thresholding is useful when one wants to separate bright
objects of interest from a darker background or vice versa.
The thresholding transformation is defined by:
T(i,j) = k-1 ; I(I.j)>T
T(I,j)= 0 ; I(I,j)<T
For Entire Circlip
Inverse Transformation
Inverse Transformation is applied to greyscale
image.
Given greyscale image has 256 grey levels.
K=256
Inverse image: N(I,j)
Greyscale Image: I(I.j)
N(I,j)=(k-1)-I(I,j)
Normal Circlip
Faulty Circlip
Basler Industrial Camera
• Model Name -daA2500-14uc - Basler dart
• Sensor Type -CMOS
• Sensor Size -5.7 mm x 4.3 mm
• Resolution (H x V) -2592 px x 1944 px
• Resolution -5 MP
• Pixel Size (H x V) -2.2 µm x 2.2 µm
• Frame Rate -14 fps
• Power Requirements -Via USB 3.0 interface
• Power Consumption
• (typical) -1.3 W
• Basler dart can be interfaced using USB 3.0.
Hardware Implementation
Proximity Sensor
Components Required:
1. LM 358 IC
2. 1 InfraRed LED PhotoDiode pair
3. Resistors: 2 x 270R, 10K
4. Potentiometer: 10K
5. Breadboard
6. Power Supply: (3-12)V
7. Few Breadboard connectors
The sensing component
in this circuit is IR
photo-diode.
More the amount of
Infrared light falling on
the IR photodiode, more
is the current flowing
through it.
(Energy from IR waves is
absorbed by electrons at
p-n junction of IR
photodiode, which
causes current to flow)
This current when flows
through the 10k resistor,
causes potential
difference (voltage) to
develop.
As the value of resistor is
constant, the voltage
across the resistor is
directly proportional to
the magnitude of current
flowing, which in turn is
directly proportional to
the amount of Infra-Red
waves incident on the IR
photodiode.
So, when any object is
brought nearer to the
IR LED, Photo-Diode
pair, the amount of IR
rays from IR LED
which reflects and falls
on the IR photodiode
increases and therefore
voltage at the resistor
increases.
We compare this voltage change
(nearer the object, more is the
voltage at 10K resistor / IR
photodiode) with a fixed
reference voltage (Created using
a potentiometer).
Here, LM358 IC (A
comparator/OpAmp) is used for
comparing the sensor and
reference voltages.
The OpAmp functions in a way
that whenever the voltage at
non-inverting input is more than
the voltage at inverting input, the
output turns ON.
The positive terminal of
photodiode (This is the point
where the voltage changes
proportion to object distance)
is connected to non-inverting
input of OpAmp and the
reference voltage is
connected to inverting input
of OpAmp.
When no object is near the IR
proximity sensor, we need
LED to be turned off. So we
adjust the potentiometer so as
to make the voltage at
inverting input more than
non-inverting.
When any object approaches
the IR proximity sensor, the
voltage at photodiode
increases and at some point
the voltage at non-inverting
input becomes more than
inverting input, which causes
OpAmp to turn on the LED.
In the same manner, when the
object moves farther from the
IR proximity sensor, the
voltage at non-inverting input
reduces and at some point
becomes less than inverting
input, which causes OpAmp to
turn off the LED.
Serial Communication by ARDUINO
• Baud Rate = 115200.
• Both sidesof the serial connection(i.e. the
Arduino and your computer) need to be set to
use the same speed serial connectionin order
to get any sort of intelligibledata. If there's a
mismatch between what the two systems think
the speed is then the data will be garbled.
• :Serial.begin(115200) would set the Arduino
to transmit at 115200 bits per second.You'd
need to set whatever software you're using on
your computer (like the Arduino IDE's serial
monitor) to the same speed in order to see the
data being sent.
Microcontroller ATmega328
Operating Voltage(logic level): 5V
Input Voltage (recommended): 7-
12 V
Input Voltage(limits): 6-20 V
Digital I/O Pins : 14 (of which6
provide PWM output)
Analog Input Pins: 8
DC Current per I/O Pin: 40 mA
Flash Memory 32KB (ATmega328)
of which2KB used bybootloader
SRAM: 2KB(ATmega328) EEPROM:
1KB (ATmega328) Clock Speed: 16
MHz Dimensions: 0.73" x 1.70"
Besler D2500 camera
acrylic circular sheet
15x15 rectangular
plastic container
LED
Proximity Sensor and
Arduino Nano Board
Pixel to real world
measurements.
• Image used for calibration.Whatever length
measurement are shown after
image processing are in terms
of pixels. To convert these
measurements to real world
standard units such as
centimetre or metre, we have
to calibrate the program
accordingly. To calibrate the
program, we need to see how
many pixel lengths
correspond to what length in
centimetres. For this purpose
we have taken an image of a
scale and measured its length
in pixels.
Result
Publications
Paper submitted
to
IJCA
(International
• Rafael C. Gonzalez, Richard E. Woods, “Digital Image Processing”, 2nd ed.,
Prenticece Hall, Upper Saddle River, New Jersey 07458 .
• Su-Ling Lee and Chien-Cheng Tseng,Senior Member, IEEE, “Color Image
Enhancement Using Histogram Equalization Method without Changing Hue
and Saturation”,2017 IEEE International Conference on Consumer Electronics
- Taiwan (ICCE-TW)
• Mao Xiaobo, Yang Jing ,”Research on Object-background Segmentation of
Color Image Based on LabVIEW”,Proceedings of the 2011 IEEE International
Conference on Cyber Technology in Automation, Control, and Intelligent
Systems, March 20-23, 2011, Kunming, China
• Suresh Babu Changalasetty, Ahmed Said Badawy, Wade Ghribi and Lalitha
Saroja Thota ,”Identification and Extraction of Moving Vehicles in
LabVIEW”,International Conference on Communication and Signal
Processing, April 3-5, 2014, India .
• Abahan Sarkar Graduate Student Member IEEE, Tamal Dutta, and B K Roy
Member, IEEE,”Fault Identification on Cigarette Packets - An Image
Processing Approach ”,2014 Annual IEEE India Conference (INDICON).
Defect detection in circlips using image processing in ni lab view

More Related Content

What's hot

Real-time Object Tracking
Real-time Object TrackingReal-time Object Tracking
Real-time Object Tracking
Wonsang You
 
Fuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge DetectionFuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge Detection
Dawn Raider Gupta
 
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
sipij
 
Edge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy LogicEdge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy Logic
IJERA Editor
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
DHIVYADEVAKI
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
Presentation of Visual Tracking
Presentation of Visual TrackingPresentation of Visual Tracking
Presentation of Visual Tracking
Yu-Sheng (Yosen) Chen
 
Orb feature by nitin
Orb feature by nitinOrb feature by nitin
Orb feature by nitin
NitinMauryaKashipur
 
Seminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab codeSeminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab code
Bhushan Deore
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
Vaddi Manikanta
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
IOSR Journals
 
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015) Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Konrad Wenzel
 
Iris & Peri-ocular Recognition
Iris & Peri-ocular RecognitionIris & Peri-ocular Recognition
Iris & Peri-ocular Recognition
Shashank Dhariwal
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
Satheesh K
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
A B Shinde
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
Md Shabir Alam
 
Overview Of Video Object Tracking System
Overview Of Video Object Tracking SystemOverview Of Video Object Tracking System
Overview Of Video Object Tracking System
Editor IJMTER
 
Line detection algorithms
Line detection algorithmsLine detection algorithms
Line detection algorithms
Supun Kandaudahewa, MIEEE
 
Stereo vision
Stereo visionStereo vision
Stereo vision
Dũng Nguyễn
 
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
IOSR Journals
 

What's hot (20)

Real-time Object Tracking
Real-time Object TrackingReal-time Object Tracking
Real-time Object Tracking
 
Fuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge DetectionFuzzy Logic Based Edge Detection
Fuzzy Logic Based Edge Detection
 
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
 
Edge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy LogicEdge Detection Using Fuzzy Logic
Edge Detection Using Fuzzy Logic
 
Image segmentation in Digital Image Processing
Image segmentation in Digital Image ProcessingImage segmentation in Digital Image Processing
Image segmentation in Digital Image Processing
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Presentation of Visual Tracking
Presentation of Visual TrackingPresentation of Visual Tracking
Presentation of Visual Tracking
 
Orb feature by nitin
Orb feature by nitinOrb feature by nitin
Orb feature by nitin
 
Seminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab codeSeminar report on edge detection of video using matlab code
Seminar report on edge detection of video using matlab code
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015) Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
Dense Image Matching - Challenges and Potentials (Keynote 3D-ARCH 2015)
 
Iris & Peri-ocular Recognition
Iris & Peri-ocular RecognitionIris & Peri-ocular Recognition
Iris & Peri-ocular Recognition
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Overview Of Video Object Tracking System
Overview Of Video Object Tracking SystemOverview Of Video Object Tracking System
Overview Of Video Object Tracking System
 
Line detection algorithms
Line detection algorithmsLine detection algorithms
Line detection algorithms
 
Stereo vision
Stereo visionStereo vision
Stereo vision
 
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
2-Dimensional Wavelet pre-processing to extract IC-Pin information for disarr...
 

Similar to Defect detection in circlips using image processing in ni lab view

project_final_seminar
project_final_seminarproject_final_seminar
project_final_seminar
MUKUL BICHKAR
 
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptxPRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
PoonamRijal
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
Hemantha Kulathilake
 
Object detection at night
Object detection at nightObject detection at night
Object detection at night
Sanjay Crúzé
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
IOSR Journals
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
Sean Moran
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
N.CH Karthik
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
OpenCV.pdf
OpenCV.pdfOpenCV.pdf
OpenCV.pdf
sagarawasthi5
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
SanthiNivas
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGO
Hunter Rew
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhm
Md Mosharof Hosen
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...
alikhajegili
 
Image processing
Image processingImage processing
Image processing
kamal330
 
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATIONDEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
SelvaLakshmi63
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Back projection geometry in cbct
Back projection geometry in cbctBack projection geometry in cbct
Back projection geometry in cbct
DrGayatriMehrotra
 
Photometric calibration
Photometric calibrationPhotometric calibration
Photometric calibration
Ali A Jalil
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Vision
othersk46
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox Detector
Jinwon Lee
 

Similar to Defect detection in circlips using image processing in ni lab view (20)

project_final_seminar
project_final_seminarproject_final_seminar
project_final_seminar
 
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptxPRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
PRINCIPLES OF IMAGE RECONSTRUCTION IN CT - poonam rijal.pptx
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
Object detection at night
Object detection at nightObject detection at night
Object detection at night
 
Analysis of Image Compression Using Wavelet
Analysis of Image Compression Using WaveletAnalysis of Image Compression Using Wavelet
Analysis of Image Compression Using Wavelet
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
OpenCV.pdf
OpenCV.pdfOpenCV.pdf
OpenCV.pdf
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Modeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGOModeling of Optical Scattering in Advanced LIGO
Modeling of Optical Scattering in Advanced LIGO
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhm
 
The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...The information and mutual information ration for counting image features and...
The information and mutual information ration for counting image features and...
 
Image processing
Image processingImage processing
Image processing
 
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATIONDEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
DEEP LEARNING TECHNIQUES POWER POINT PRESENTATION
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Back projection geometry in cbct
Back projection geometry in cbctBack projection geometry in cbct
Back projection geometry in cbct
 
Photometric calibration
Photometric calibrationPhotometric calibration
Photometric calibration
 
Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Vision
 
PR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox DetectorPR-132: SSD: Single Shot MultiBox Detector
PR-132: SSD: Single Shot MultiBox Detector
 

Recently uploaded

22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 

Recently uploaded (20)

22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 

Defect detection in circlips using image processing in ni lab view

  • 1. SHRI RAMDEOBABA COLLEGE OF ENGINEERING AND MANAGEMENT, NAGPUR. F I N A L Y E A R P R O J E C T By: • Sayali Bodhankar - 18 • Mayur Harisangam - 53 • Akash Kharde - 79 • Shubham Patwardhan - 81 Project Guide: • Prof. B. Lad.
  • 2. Development of software to detect faulty circlips by pattern matching.
  • 3. What is a circlip? • A circlip (circular clip) is a type of fastner or retaining ring consisting of a semi-flexible metal ring with open ends which can be snapped into place, into a machined groove on a dowel pin or other part to permit rotation but to prevent lateral movement. • Circlips are often used to secure pinned connections.
  • 4. Literature Survey • Mostly used for surface defect detection like sheet metal, fabric textiles etc. • Process: surface image is acquired by using a camera from top of the surface from a distance adjusted so as to get the best possible view of the surface. • R-G-B image is converted into grey scale. • Noise removing and filtering. • Thresholding is done to get those pixels which represents an object. • Histogram equalisation : Histogram equalization is a method for stretching the contrast by uniformly distributing the grey values enhances the quality of an image useful when the image is intended for viewing. • This method is applicable to differentiate textures , also the method detects a variety of defects for a given texture. 1. Texture Defect Detection:
  • 5. Literature Survey • This method is generally used for detection moving objects in videos from static cameras. • Generally an image’s regions of interest are objects (humans, cars, text etc.) in its foreground. • The rationale in the approach is that of detecting the moving objects from the difference between the current frame and a reference frame, often called “background image”, or “background model. 2.Foreground extraction and background subtraction
  • 6. Literature Survey • PCA is used to extract features of stored image and test image. • The Euclidian distance applied between the features of standard images and the features of the test image, to recognize the highest similarity image from the standard image to the test image. 3.Principle Component Analysis:
  • 7. Process Flow Calculate Number of Holes FAIL Calculate Area =2 ? No PASS Within Tolerance range?
  • 8.
  • 9. Dilation : This operation is used to restore boundaries of the particles eroded due to erosion operation. A dilation eliminates tiny holes isolated in particles and expands the particle contours according to the template defined by the structuring element. This function has the opposite effect of an erosion because the dilation is equivalent to eroding the background. For any given pixel P0, the structuring element is centered on P0.The pixels masked by a coefficient of the structuring element equal to 1 then are referred to as Pi. If the value of one pixel Pi is equal to 1, then P0 is set to 1, else P0 is set to 0. If OR(Pi) = 1, then P0 = 1, else P0 = 0. Firstly an Erosion operation is performed to eliminate the pixels isolated in the background. For a given pixel P0, the structuring element is centered on P0. The pixels masked by a coefficient of the structuring element equal to 1 are then referred as Pi.If the value of one pixel Pi is equal to 0, then P0 is set to 0, else P0 is set to 1.If AND(Pi) = 1, then P0 = 1, else P0 = 0. According to the erosion operation mentioned above a pixel is cleared if it is equal to 1 and the three neighbours to its left are not equal to 1. However this operation also erodes the contour of particles according to the template defined by the structuring element. Local Thresholding: The average is referred to as local mean m(i,j) at pixel (i,j). An image B(i, j) is calculated as B(i, j) = I(i, j) – m(i, j) where m(i, j) is the local mean at pixel (i, j). An optimal threshold is determined by maximizing the between-class variation with respect to the threshold. The threshold value is the pixel value k at which the following expression is maximized B2=[T(k)-(k)]2/(k) [1-(k)] where (k)=i=0kip(i) , T=i=0N-1ip(i) ● i represents the gray level value. ● k represents the gray level value chosen as the threshold. ● h(i) represents the number of pixels in the image at each gray level value. ● N represents the total number of gray levels in the image. (256 for an 8-bit image) ● n represents the total number of pixels in the image.
  • 10. Thresholding Thresholding sets each grey level that is less than or equal to some prescribed value T‐called the threshold value‐to 0, and each grey level greater than T is changed to K ‐ 1. Thresholding is useful when one wants to separate bright objects of interest from a darker background or vice versa. The thresholding transformation is defined by: T(i,j) = k-1 ; I(I.j)>T T(I,j)= 0 ; I(I,j)<T For Entire Circlip Inverse Transformation Inverse Transformation is applied to greyscale image. Given greyscale image has 256 grey levels. K=256 Inverse image: N(I,j) Greyscale Image: I(I.j) N(I,j)=(k-1)-I(I,j)
  • 11.
  • 14. Basler Industrial Camera • Model Name -daA2500-14uc - Basler dart • Sensor Type -CMOS • Sensor Size -5.7 mm x 4.3 mm • Resolution (H x V) -2592 px x 1944 px • Resolution -5 MP • Pixel Size (H x V) -2.2 µm x 2.2 µm • Frame Rate -14 fps • Power Requirements -Via USB 3.0 interface • Power Consumption • (typical) -1.3 W • Basler dart can be interfaced using USB 3.0.
  • 16. Proximity Sensor Components Required: 1. LM 358 IC 2. 1 InfraRed LED PhotoDiode pair 3. Resistors: 2 x 270R, 10K 4. Potentiometer: 10K 5. Breadboard 6. Power Supply: (3-12)V 7. Few Breadboard connectors The sensing component in this circuit is IR photo-diode. More the amount of Infrared light falling on the IR photodiode, more is the current flowing through it. (Energy from IR waves is absorbed by electrons at p-n junction of IR photodiode, which causes current to flow) This current when flows through the 10k resistor, causes potential difference (voltage) to develop. As the value of resistor is constant, the voltage across the resistor is directly proportional to the magnitude of current flowing, which in turn is directly proportional to the amount of Infra-Red waves incident on the IR photodiode. So, when any object is brought nearer to the IR LED, Photo-Diode pair, the amount of IR rays from IR LED which reflects and falls on the IR photodiode increases and therefore voltage at the resistor increases. We compare this voltage change (nearer the object, more is the voltage at 10K resistor / IR photodiode) with a fixed reference voltage (Created using a potentiometer). Here, LM358 IC (A comparator/OpAmp) is used for comparing the sensor and reference voltages. The OpAmp functions in a way that whenever the voltage at non-inverting input is more than the voltage at inverting input, the output turns ON. The positive terminal of photodiode (This is the point where the voltage changes proportion to object distance) is connected to non-inverting input of OpAmp and the reference voltage is connected to inverting input of OpAmp. When no object is near the IR proximity sensor, we need LED to be turned off. So we adjust the potentiometer so as to make the voltage at inverting input more than non-inverting. When any object approaches the IR proximity sensor, the voltage at photodiode increases and at some point the voltage at non-inverting input becomes more than inverting input, which causes OpAmp to turn on the LED. In the same manner, when the object moves farther from the IR proximity sensor, the voltage at non-inverting input reduces and at some point becomes less than inverting input, which causes OpAmp to turn off the LED.
  • 17. Serial Communication by ARDUINO • Baud Rate = 115200. • Both sidesof the serial connection(i.e. the Arduino and your computer) need to be set to use the same speed serial connectionin order to get any sort of intelligibledata. If there's a mismatch between what the two systems think the speed is then the data will be garbled. • :Serial.begin(115200) would set the Arduino to transmit at 115200 bits per second.You'd need to set whatever software you're using on your computer (like the Arduino IDE's serial monitor) to the same speed in order to see the data being sent.
  • 18. Microcontroller ATmega328 Operating Voltage(logic level): 5V Input Voltage (recommended): 7- 12 V Input Voltage(limits): 6-20 V Digital I/O Pins : 14 (of which6 provide PWM output) Analog Input Pins: 8 DC Current per I/O Pin: 40 mA Flash Memory 32KB (ATmega328) of which2KB used bybootloader SRAM: 2KB(ATmega328) EEPROM: 1KB (ATmega328) Clock Speed: 16 MHz Dimensions: 0.73" x 1.70"
  • 19. Besler D2500 camera acrylic circular sheet 15x15 rectangular plastic container LED Proximity Sensor and Arduino Nano Board
  • 20. Pixel to real world measurements. • Image used for calibration.Whatever length measurement are shown after image processing are in terms of pixels. To convert these measurements to real world standard units such as centimetre or metre, we have to calibrate the program accordingly. To calibrate the program, we need to see how many pixel lengths correspond to what length in centimetres. For this purpose we have taken an image of a scale and measured its length in pixels.
  • 21.
  • 22.
  • 23.
  • 24.
  • 27. • Rafael C. Gonzalez, Richard E. Woods, “Digital Image Processing”, 2nd ed., Prenticece Hall, Upper Saddle River, New Jersey 07458 . • Su-Ling Lee and Chien-Cheng Tseng,Senior Member, IEEE, “Color Image Enhancement Using Histogram Equalization Method without Changing Hue and Saturation”,2017 IEEE International Conference on Consumer Electronics - Taiwan (ICCE-TW) • Mao Xiaobo, Yang Jing ,”Research on Object-background Segmentation of Color Image Based on LabVIEW”,Proceedings of the 2011 IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems, March 20-23, 2011, Kunming, China • Suresh Babu Changalasetty, Ahmed Said Badawy, Wade Ghribi and Lalitha Saroja Thota ,”Identification and Extraction of Moving Vehicles in LabVIEW”,International Conference on Communication and Signal Processing, April 3-5, 2014, India . • Abahan Sarkar Graduate Student Member IEEE, Tamal Dutta, and B K Roy Member, IEEE,”Fault Identification on Cigarette Packets - An Image Processing Approach ”,2014 Annual IEEE India Conference (INDICON).