SlideShare a Scribd company logo
1 of 4
Download to read offline
N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18
www.ijera.com 15 | P a g e
Qcuip: Quality Control Using Image Processing
Ankita Bhaskar Watpade, Mansi Sunil Amrutkar, Nikita Yogesh Bagrecha,
Mrs. Archana S. Vaidya
Gokhale Education Society's R.H. Sapat College Of Engineering Management and Research, Nashik 5
Abstract
Now a days industries require accurate and timely information to improve their quality and increase the
production of goods. Thus digital image processing can be used in this area mainly for the detection of faulted
parts or missing part. Automated visual inspection is the key factor behind all the industrial application of digital
image processing. The proposed project mainly deals with analysis to find faulty industrial parts and correcting
it. Automated visual inspection uses digital camera that captures image which is coming out of product line. The
captured image is then fed to computer for further processing. The typical image processing task is to find the
faulty piece by comparing the user requirements and manufactured product image. This proposed idea will
employ verification of measurements of all the pieces that are coming out of product line. Based on the error
rate modification in the design can be pursued. This proposed idea increases the speed and accuracy and avoids
human errors which are common in quality testing. The proposed project overcomes the weakness in the
existing system. Thus manual inspection can be replaced with the proposed idea and hence productivity can be
increased.(Abstract)
Keywords—Edge Detection, filter, product line, statistical approach visual inspection, RGB.
I. INTRODUCTION
Today there is no field of technical endeavor
left out without the impact of Digital Image
Processing[2]. Digital Image Processing is a technique
for analyzing and manipulation of the digital images
using computers [2]. Automated visual inspection uses
digital camera that captures image which is coming
out the product line. The captured image is then fed to
the computer for further processing. The typical image
processing task is to find the faulty piece by
comparing the user requirements and manufactured
product image.
In many industries, quality of products is
tested by using gauges. The product is fitted onto the
gauge and if it the does not fit appropriately then the
product is considered to be faulty.
Also in some industries, the quality testing is
done by a human eye wherein human observes the
shape and size of the products coming out of the
product line. But in practice only a few pieces are
taken and verified for dimension and orientation of the
shapes. This way of performing a test manually is a
tedious process and prone to human errors which
reduce the quality of the products. In this study we
propose to perform the quality test using Image
Processing techniques. Image of every product is
taken and the dimension and orientation of the shapes
cut are calculated with actual dimension in drawing.
This increases the speed and accuracy and avoids
human errors which are common in quality testing.
II. LITERATURE SURVEY
Quality assurance and management are growing in
importance in industrial development and production.
The decentralized production of components by
suppliers mean that tight specification have to be met
to ensure problem free assembly in final production,
resulting in a high quality final product. Test
engineers strive to catch defects before the product is
released but they always creep in and they often
reappear, even with the best manual testing process.
Automated product testing is the best way to increase
the effectiveness, efficiency and coverage of your
product testing. Typical features such as hole patterns
as well as borders, sharp edges, elongated holes can be
measured with Quality Control Using Image
Processing (QCUIP). The full surface component
measurement enables a simple good GO/NO GO
statement. It also shows the deviation for a fast
evaluation of processing. This means early detection
of potential problems so that process can be corrected
in timely manner, resulting in lower production cost
and efficient quality control. Companies that
implement these techniques benefit from shorter
production time for products. Companies remain
competitive because they help their customer to go
from idea to product faster, optimize production
workflow, and minimize rejects while production is
running.
RESEARCH ARTICLE OPEN ACCESS
N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18
www.ijera.com 16 | P a g e
III. QUALITY VERIFICATION USING IMAGE
PROCESSING
Digital Image Processing techniques are
employed to verify almost all the products that are
coming out of the product line. This is pursued by
taking image of each and every product as soon as it
comes under the camera. Captured image is fed to the
computer for further processing. The colored image is
converted to black and white image and then to binary
form. This binary image is then subjected to template
matching. This proposed idea of using Digital Image
Processing helps to save time as the process to carry
out quality testing becomes fully automated and
results in increased productivity. It gives accurate
results as industries carry out manufacturing on large
scale. It also reduces human efforts.
IV. IMAGE CONVERSION
The captured image is a RGB image which
needs to be converted into binary form.
A grayscale digital image is an image in which the
value of each pixel is a single sample, that is, it carries
only intensity information. Images of this sort, also
known as black-and-white, are composed exclusively
of shades of gray, varying from black at the weakest
intensity to white at the strongest[1]. First we need to
convert the grayscale image to a binary image. The
output image replaces all pixels in the input image
with luminance greater than level with the value 1
(white) and replaces all other pixels with the value 0
(black).If the input image is not a grayscale
image, convertsthe input image to grayscale, and then
converts this grayscale image to binary by
thresholding.
Image conversion:
while (true)
{
Captured frame will get stored into integer pointer
frame.
It is shown in “video”.
Convert Invoked image into binary form using ,
CvInvoke.cvCvtColor(frame,frame,EmguCV.CvEnu
m.COLOR_CONVERSION.CV_BGR2RGB);
Specify threashold value for conversion of image.
CvInvoke.cvShowImage("Video", frame);
//shows rgb image in video.
CvInvoke.cvShowImage("Binary", thresh);
//shows binary image with thresh in Binary.
break;
}
//On key press application window will disappear.
This is the code used for making binary
conversion of image in frame.Frame is in the integer
pointer . MVSCALAR used for scaling the image to
appropriate size.
CvInvoke.cvShowImage(“video”,frame) it shows real
rgb video captured by camera.
CvInvoke.cvShowImage(“Binary”,thresh) shows
binary conversion of frame in video.
V. TEMPLATE MATCHING
Template matching [5] is a technique
in digital image processing for finding small parts of
an image which match a template image. It can be
used in manufacturing as a part of quality control. The
binary image is given as an input for template
matching process. This image is compared pixel by
pixel with the template image of an ideal product to
verify the actual shape and dimension.Matches are
estimated based on the intensity values of both image
and template. If the templates match accurately then
product will be considered as a non faulty piece.
Template Matching
In template matching ,we are selecting an
ideal image and a captured image which are need for
comparison.
We are comparing height and width of both
image,using loop and checking for maximum
matching of pixels in both images.
If images ae not same increament count2 for
unmatching pixels. In this we are using threashold
value as 700 for matching pixels. If count is less than
that then it is considered as correct image else
incorrect.We can set threshold count as per need.
Template Matching:
Get the height and width of captured image, values
will be stored in i and j.
Get the maximum matching pixel of both images
using
img1_ref = img1.GetPixel(i, j).ToString();
img2_ref = img2.GetPixel(i, j).ToString();
Maintain count for maximum amount of pixel
matching,
if (count2 < 700)
{
correct image;
}
else
{ incorrect image;}
VI. IMPLEMENTATION
As shown in Fig1, initially the product is
placed under the camera. The camera then captures
the image of the product and sends it to the QCUIP
system for further processing. When the QCUIP
system receives the image, it coverts this image to
N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18
www.ijera.com 17 | P a g e
binary form and subjects it for template matching. The
Template matching process compares this captured
image with the original template already stored in the
database. The appropriate results are stored in the
database.
If the templates are a match then the product
is considered to be quality product. And if not then the
faulty area is highlighted on the image. It helps the
manufacturers to easily identify the faulty products
from the bulk. Thus this process helps in speeding up
the quality testing.
VII. RESULTS
After partial implementation of the proposed
study we have carried out image conversion that is
from RGB to Binary, of our products which we are
going to use for this project.
Following are the images taken after the
partial implementation. These images show the RGB
form of the product along with their Binary form.
Fig2 (a): Actual product used for quality control
with their binary image
Fig2 (b): Actual product used for quality control
with their binary image
Fig1. Working Model
VIII. FUTURE SCOPE
This proposed idea canbe enhanced with
some advanced and extra features.We can use a
conveyor belt for capturing images of products that
come directly out of the product line. After getting
reult from system we can separate faulty produts and
good products. We can also maintain count of good
products as well as faulty products produced in the
entire day. A daily analysis report can be generated
which can be viewed by the manager as soon as the
task finishes. This proposed study will be helpful in
another application like Coin sorting. We can sort the
coins and count the total amount.
IX. CONCLUSION
A major area of imaging is in automated
visual inspection of manufactured goods. Detecting
anomalies is the major task of this proposed idea. This
study proposes the detection of faulty pieces using
Image Processing Techniques and overcomes the
weaknesses in the existing system. This proposed idea
N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18
www.ijera.com 18 | P a g e
can also be extended to any irregular shapes of
products.
REFERENCES
[1] Stephen Johnson (2006). Stephen Johnson
on Digital Photography. O'Reilly. ISBN 0-
596-52370-X.
[2] Gonzales, R.C. and R.E Woods, 2008.
Digital Image Processing. Prentice Hall,
Harlow, pp: 954, ISBN: 013168728X.
[3] Donald. and M.B. Pauline, 1994. Computer
Graphics.2nd
Edn. Prentice Hall, Englewood
Cliffs, pp: 653, ISBN: 0131615300.
[4] Research Journal of Applied Sciences,
Engineering and Technology 5(1):142-145,
2013 ISSN: 2040-74459; e-ISSN: 2040-
7467 Maxwell Scientific Organization 2013.
[5] R. Brunelli, Template Matching Techniques
in Computer Vision: Theory and Practice,
Wiley, ISBN 978-0-470-51706-2, 2009

More Related Content

Viewers also liked

Sustentacion proyecto 3
Sustentacion proyecto 3Sustentacion proyecto 3
Sustentacion proyecto 3
000Mariana000
 
Quality Resume
Quality ResumeQuality Resume
Quality Resume
vipin rana
 
Boletín agosto
Boletín agostoBoletín agosto
Boletín agosto
Glanayi
 
hohmann robert resume 2
hohmann robert resume 2hohmann robert resume 2
hohmann robert resume 2
Rob Hohmann
 
Portafolio MpComplementarios 2015
Portafolio MpComplementarios 2015Portafolio MpComplementarios 2015
Portafolio MpComplementarios 2015
Andres Lozano
 

Viewers also liked (20)

Cr4301542546
Cr4301542546Cr4301542546
Cr4301542546
 
Cs4301547552
Cs4301547552Cs4301547552
Cs4301547552
 
D43031521
D43031521D43031521
D43031521
 
Ce4301462465
Ce4301462465Ce4301462465
Ce4301462465
 
Jz3517311738
Jz3517311738Jz3517311738
Jz3517311738
 
Bq36404412
Bq36404412Bq36404412
Bq36404412
 
J41046368
J41046368J41046368
J41046368
 
Fs3510121016
Fs3510121016Fs3510121016
Fs3510121016
 
Lh3619271935
Lh3619271935Lh3619271935
Lh3619271935
 
Lf3619161920
Lf3619161920Lf3619161920
Lf3619161920
 
G42034346
G42034346G42034346
G42034346
 
C42042729
C42042729C42042729
C42042729
 
Sustentacion proyecto 3
Sustentacion proyecto 3Sustentacion proyecto 3
Sustentacion proyecto 3
 
Responsabilidad Empresarial / Gestión – Suplemento Especial RSE
Responsabilidad Empresarial / Gestión – Suplemento Especial RSEResponsabilidad Empresarial / Gestión – Suplemento Especial RSE
Responsabilidad Empresarial / Gestión – Suplemento Especial RSE
 
Final congreso
Final   congresoFinal   congreso
Final congreso
 
Quality Resume
Quality ResumeQuality Resume
Quality Resume
 
Boletín agosto
Boletín agostoBoletín agosto
Boletín agosto
 
01. sistemas de control grado 10
01. sistemas de control grado 1001. sistemas de control grado 10
01. sistemas de control grado 10
 
hohmann robert resume 2
hohmann robert resume 2hohmann robert resume 2
hohmann robert resume 2
 
Portafolio MpComplementarios 2015
Portafolio MpComplementarios 2015Portafolio MpComplementarios 2015
Portafolio MpComplementarios 2015
 

Similar to C43011518

Similar to C43011518 (20)

Identify Defects in Gears Using Digital Image Processing
Identify Defects in Gears Using Digital Image ProcessingIdentify Defects in Gears Using Digital Image Processing
Identify Defects in Gears Using Digital Image Processing
 
IRJET- Transformation of Realistic Images and Videos into Cartoon Images and ...
IRJET- Transformation of Realistic Images and Videos into Cartoon Images and ...IRJET- Transformation of Realistic Images and Videos into Cartoon Images and ...
IRJET- Transformation of Realistic Images and Videos into Cartoon Images and ...
 
IRJET-Next Generation Sequences Analysis using Pattern Matching Algorithm
IRJET-Next Generation Sequences Analysis using Pattern Matching AlgorithmIRJET-Next Generation Sequences Analysis using Pattern Matching Algorithm
IRJET-Next Generation Sequences Analysis using Pattern Matching Algorithm
 
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNINGHANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
 
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNINGHANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
HANDWRITTEN DIGIT RECOGNITION USING MACHINE LEARNING
 
IRJET-Implementation of Image Processing using Augmented Reality
IRJET-Implementation of Image Processing using Augmented RealityIRJET-Implementation of Image Processing using Augmented Reality
IRJET-Implementation of Image Processing using Augmented Reality
 
IRJET - Visual Enhancement of E-Commerce Products
IRJET -  	  Visual Enhancement of E-Commerce ProductsIRJET -  	  Visual Enhancement of E-Commerce Products
IRJET - Visual Enhancement of E-Commerce Products
 
An Intelligent approach to Pic to Cartoon Conversion using White-box-cartooni...
An Intelligent approach to Pic to Cartoon Conversion using White-box-cartooni...An Intelligent approach to Pic to Cartoon Conversion using White-box-cartooni...
An Intelligent approach to Pic to Cartoon Conversion using White-box-cartooni...
 
iVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image InpaintingiVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image Inpainting
 
Paper id 28201429
Paper id 28201429Paper id 28201429
Paper id 28201429
 
An Image Based PCB Fault Detection and Its Classification
An Image Based PCB Fault Detection and Its ClassificationAn Image Based PCB Fault Detection and Its Classification
An Image Based PCB Fault Detection and Its Classification
 
TEXT TO IMAGE GENERATION USING GAN
TEXT TO IMAGE GENERATION USING GANTEXT TO IMAGE GENERATION USING GAN
TEXT TO IMAGE GENERATION USING GAN
 
IRJET- Note to Coin Converter
IRJET- Note to Coin ConverterIRJET- Note to Coin Converter
IRJET- Note to Coin Converter
 
IRJET- Sketch-Verse: Sketch Image Inversion using DCNN
IRJET- Sketch-Verse: Sketch Image Inversion using DCNNIRJET- Sketch-Verse: Sketch Image Inversion using DCNN
IRJET- Sketch-Verse: Sketch Image Inversion using DCNN
 
Virtual Manufacturing seminar ppt
Virtual Manufacturing seminar pptVirtual Manufacturing seminar ppt
Virtual Manufacturing seminar ppt
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
 
IRJET - Face Recognition based Attendance System
IRJET -  	  Face Recognition based Attendance SystemIRJET -  	  Face Recognition based Attendance System
IRJET - Face Recognition based Attendance System
 
An Enhanced Method to Detect Copy Move Forgery in Digital Images processing u...
An Enhanced Method to Detect Copy Move Forgery in Digital Images processing u...An Enhanced Method to Detect Copy Move Forgery in Digital Images processing u...
An Enhanced Method to Detect Copy Move Forgery in Digital Images processing u...
 
An Enhanced Method to Detect Copy Move Forgey in Digital Image Processing usi...
An Enhanced Method to Detect Copy Move Forgey in Digital Image Processing usi...An Enhanced Method to Detect Copy Move Forgey in Digital Image Processing usi...
An Enhanced Method to Detect Copy Move Forgey in Digital Image Processing usi...
 
IRJET- Computerized Attendance System using Face Recognition
IRJET- Computerized Attendance System using Face RecognitionIRJET- Computerized Attendance System using Face Recognition
IRJET- Computerized Attendance System using Face Recognition
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

C43011518

  • 1. N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18 www.ijera.com 15 | P a g e Qcuip: Quality Control Using Image Processing Ankita Bhaskar Watpade, Mansi Sunil Amrutkar, Nikita Yogesh Bagrecha, Mrs. Archana S. Vaidya Gokhale Education Society's R.H. Sapat College Of Engineering Management and Research, Nashik 5 Abstract Now a days industries require accurate and timely information to improve their quality and increase the production of goods. Thus digital image processing can be used in this area mainly for the detection of faulted parts or missing part. Automated visual inspection is the key factor behind all the industrial application of digital image processing. The proposed project mainly deals with analysis to find faulty industrial parts and correcting it. Automated visual inspection uses digital camera that captures image which is coming out of product line. The captured image is then fed to computer for further processing. The typical image processing task is to find the faulty piece by comparing the user requirements and manufactured product image. This proposed idea will employ verification of measurements of all the pieces that are coming out of product line. Based on the error rate modification in the design can be pursued. This proposed idea increases the speed and accuracy and avoids human errors which are common in quality testing. The proposed project overcomes the weakness in the existing system. Thus manual inspection can be replaced with the proposed idea and hence productivity can be increased.(Abstract) Keywords—Edge Detection, filter, product line, statistical approach visual inspection, RGB. I. INTRODUCTION Today there is no field of technical endeavor left out without the impact of Digital Image Processing[2]. Digital Image Processing is a technique for analyzing and manipulation of the digital images using computers [2]. Automated visual inspection uses digital camera that captures image which is coming out the product line. The captured image is then fed to the computer for further processing. The typical image processing task is to find the faulty piece by comparing the user requirements and manufactured product image. In many industries, quality of products is tested by using gauges. The product is fitted onto the gauge and if it the does not fit appropriately then the product is considered to be faulty. Also in some industries, the quality testing is done by a human eye wherein human observes the shape and size of the products coming out of the product line. But in practice only a few pieces are taken and verified for dimension and orientation of the shapes. This way of performing a test manually is a tedious process and prone to human errors which reduce the quality of the products. In this study we propose to perform the quality test using Image Processing techniques. Image of every product is taken and the dimension and orientation of the shapes cut are calculated with actual dimension in drawing. This increases the speed and accuracy and avoids human errors which are common in quality testing. II. LITERATURE SURVEY Quality assurance and management are growing in importance in industrial development and production. The decentralized production of components by suppliers mean that tight specification have to be met to ensure problem free assembly in final production, resulting in a high quality final product. Test engineers strive to catch defects before the product is released but they always creep in and they often reappear, even with the best manual testing process. Automated product testing is the best way to increase the effectiveness, efficiency and coverage of your product testing. Typical features such as hole patterns as well as borders, sharp edges, elongated holes can be measured with Quality Control Using Image Processing (QCUIP). The full surface component measurement enables a simple good GO/NO GO statement. It also shows the deviation for a fast evaluation of processing. This means early detection of potential problems so that process can be corrected in timely manner, resulting in lower production cost and efficient quality control. Companies that implement these techniques benefit from shorter production time for products. Companies remain competitive because they help their customer to go from idea to product faster, optimize production workflow, and minimize rejects while production is running. RESEARCH ARTICLE OPEN ACCESS
  • 2. N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18 www.ijera.com 16 | P a g e III. QUALITY VERIFICATION USING IMAGE PROCESSING Digital Image Processing techniques are employed to verify almost all the products that are coming out of the product line. This is pursued by taking image of each and every product as soon as it comes under the camera. Captured image is fed to the computer for further processing. The colored image is converted to black and white image and then to binary form. This binary image is then subjected to template matching. This proposed idea of using Digital Image Processing helps to save time as the process to carry out quality testing becomes fully automated and results in increased productivity. It gives accurate results as industries carry out manufacturing on large scale. It also reduces human efforts. IV. IMAGE CONVERSION The captured image is a RGB image which needs to be converted into binary form. A grayscale digital image is an image in which the value of each pixel is a single sample, that is, it carries only intensity information. Images of this sort, also known as black-and-white, are composed exclusively of shades of gray, varying from black at the weakest intensity to white at the strongest[1]. First we need to convert the grayscale image to a binary image. The output image replaces all pixels in the input image with luminance greater than level with the value 1 (white) and replaces all other pixels with the value 0 (black).If the input image is not a grayscale image, convertsthe input image to grayscale, and then converts this grayscale image to binary by thresholding. Image conversion: while (true) { Captured frame will get stored into integer pointer frame. It is shown in “video”. Convert Invoked image into binary form using , CvInvoke.cvCvtColor(frame,frame,EmguCV.CvEnu m.COLOR_CONVERSION.CV_BGR2RGB); Specify threashold value for conversion of image. CvInvoke.cvShowImage("Video", frame); //shows rgb image in video. CvInvoke.cvShowImage("Binary", thresh); //shows binary image with thresh in Binary. break; } //On key press application window will disappear. This is the code used for making binary conversion of image in frame.Frame is in the integer pointer . MVSCALAR used for scaling the image to appropriate size. CvInvoke.cvShowImage(“video”,frame) it shows real rgb video captured by camera. CvInvoke.cvShowImage(“Binary”,thresh) shows binary conversion of frame in video. V. TEMPLATE MATCHING Template matching [5] is a technique in digital image processing for finding small parts of an image which match a template image. It can be used in manufacturing as a part of quality control. The binary image is given as an input for template matching process. This image is compared pixel by pixel with the template image of an ideal product to verify the actual shape and dimension.Matches are estimated based on the intensity values of both image and template. If the templates match accurately then product will be considered as a non faulty piece. Template Matching In template matching ,we are selecting an ideal image and a captured image which are need for comparison. We are comparing height and width of both image,using loop and checking for maximum matching of pixels in both images. If images ae not same increament count2 for unmatching pixels. In this we are using threashold value as 700 for matching pixels. If count is less than that then it is considered as correct image else incorrect.We can set threshold count as per need. Template Matching: Get the height and width of captured image, values will be stored in i and j. Get the maximum matching pixel of both images using img1_ref = img1.GetPixel(i, j).ToString(); img2_ref = img2.GetPixel(i, j).ToString(); Maintain count for maximum amount of pixel matching, if (count2 < 700) { correct image; } else { incorrect image;} VI. IMPLEMENTATION As shown in Fig1, initially the product is placed under the camera. The camera then captures the image of the product and sends it to the QCUIP system for further processing. When the QCUIP system receives the image, it coverts this image to
  • 3. N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18 www.ijera.com 17 | P a g e binary form and subjects it for template matching. The Template matching process compares this captured image with the original template already stored in the database. The appropriate results are stored in the database. If the templates are a match then the product is considered to be quality product. And if not then the faulty area is highlighted on the image. It helps the manufacturers to easily identify the faulty products from the bulk. Thus this process helps in speeding up the quality testing. VII. RESULTS After partial implementation of the proposed study we have carried out image conversion that is from RGB to Binary, of our products which we are going to use for this project. Following are the images taken after the partial implementation. These images show the RGB form of the product along with their Binary form. Fig2 (a): Actual product used for quality control with their binary image Fig2 (b): Actual product used for quality control with their binary image Fig1. Working Model VIII. FUTURE SCOPE This proposed idea canbe enhanced with some advanced and extra features.We can use a conveyor belt for capturing images of products that come directly out of the product line. After getting reult from system we can separate faulty produts and good products. We can also maintain count of good products as well as faulty products produced in the entire day. A daily analysis report can be generated which can be viewed by the manager as soon as the task finishes. This proposed study will be helpful in another application like Coin sorting. We can sort the coins and count the total amount. IX. CONCLUSION A major area of imaging is in automated visual inspection of manufactured goods. Detecting anomalies is the major task of this proposed idea. This study proposes the detection of faulty pieces using Image Processing Techniques and overcomes the weaknesses in the existing system. This proposed idea
  • 4. N. Yogesh Bagrecha et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 3( Version 1), March 2014, pp.15-18 www.ijera.com 18 | P a g e can also be extended to any irregular shapes of products. REFERENCES [1] Stephen Johnson (2006). Stephen Johnson on Digital Photography. O'Reilly. ISBN 0- 596-52370-X. [2] Gonzales, R.C. and R.E Woods, 2008. Digital Image Processing. Prentice Hall, Harlow, pp: 954, ISBN: 013168728X. [3] Donald. and M.B. Pauline, 1994. Computer Graphics.2nd Edn. Prentice Hall, Englewood Cliffs, pp: 653, ISBN: 0131615300. [4] Research Journal of Applied Sciences, Engineering and Technology 5(1):142-145, 2013 ISSN: 2040-74459; e-ISSN: 2040- 7467 Maxwell Scientific Organization 2013. [5] R. Brunelli, Template Matching Techniques in Computer Vision: Theory and Practice, Wiley, ISBN 978-0-470-51706-2, 2009