CN201935873U - Online image detection system for bottle cap - Google Patents

Online image detection system for bottle cap Download PDF

Info

Publication number
CN201935873U
CN201935873U CN2010206922024U CN201020692202U CN201935873U CN 201935873 U CN201935873 U CN 201935873U CN 2010206922024 U CN2010206922024 U CN 2010206922024U CN 201020692202 U CN201020692202 U CN 201020692202U CN 201935873 U CN201935873 U CN 201935873U
Authority
CN
China
Prior art keywords
bottle cap
image
camera
optical sensor
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2010206922024U
Other languages
Chinese (zh)
Inventor
任海燕
丁学文
南兆龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Puda Software Technology Co Ltd
Original Assignee
Tianjin Puda Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Puda Software Technology Co Ltd filed Critical Tianjin Puda Software Technology Co Ltd
Priority to CN2010206922024U priority Critical patent/CN201935873U/en
Application granted granted Critical
Publication of CN201935873U publication Critical patent/CN201935873U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model belongs to the technical field of machine vision and image processing, relating to an online image detection system for a bottle cap. The online image detection system comprises a conveyor belt for conveying the bottle cap, an optical sensor, a camera, a light source, an image acquisition card and a computer; the camera is fixed over the conveyor belt; the light source is arranged above the conveyor belt; the optical sensor is arranged beside the conveyor belt under the camera for detecting whether the bottle cap exists under the camera; the camera is triggered by the detection signal of the optical sensor to collect the image of the bottle cap positioned under the camera; and the collected image of the bottle cap is transmitted into the computer through the image acquisition card. In the utility model, the light source is reasonably distributed, the camera is triggered through the optical sensor to collect the image online, the image feature extraction and high-speed automatic detection are realized by the computer, and the technical production quality of the product package can be improved.

Description

The online image detection system of bottle cap
Technical field
The utility model belongs to machine vision and technical field of image processing, relates to the online image detection system of a kind of bottle cap.
Background technology
Domestic many manufacturers recognize that more and more quality and throughput rate are most crucial factor this point forever now, at the industry spot machine vision technique more and more in order to monitoring industrial processes and testing product quality, thereby guarantee the performance and the presentation quality of product.It all is to finish by manpower that the product of present domestic most production lines detects, not only can increase the human input of company, also caused inefficiency, therefore, with machine vision technique finish the defects detection of product and classification, classification has great demand, also is the field that present whole vision industry is relatively made earnest efforts simultaneously.At present, vinyl cover, aluminium lid and so on bottle cap can be produced on industrial production line fast, and the defective that may exist bottle cap realizes high efficiency detection and rejecting, to adapt to quick Production Line efficient, has necessity.
The utility model content
The purpose of this utility model provides a kind of can realize the online detection of bottle cap, avoids packing of product technology to produce the bottle cap online detection instrument of quality problems.The scheme that its technical matters that solves the utility model adopts is as follows:
The online image detection system of a kind of bottle cap, comprise the travelling belt, optical sensor, camera, light source, image pick-up card, the computing machine that are used to transmit bottle cap, camera be fixed on travelling belt directly over, light source places the oblique upper of travelling belt, optical sensor places by the travelling belt under the camera, whether there is bottle cap under being used to detect camera, trigger the image that camera collection is positioned at the bottle cap on the travelling belt under it by the detection signal of optical sensor, the bottle cap image of being gathered is admitted in the computing machine through image pick-up card.
Preferably, described optical sensor is the infrared induction photoelectric sensor.
The bottle cap on-line detecting system that the utility model provides, source layout is reasonable, triggers camera online acquisition image by optical sensor, by computer realization image characteristics extraction and High-Speed Automatic detection, can improve packing of product technology and produce quality.
Description of drawings
Fig. 1: the utility model hardware system outward appearance is formed synoptic diagram;
Fig. 2: the utility model software flow pattern;
Fig. 3: the utility model defects detection subroutine flow chart;
Fig. 4: the stretching schematic flow sheet of annulus of the present utility model.
Among Fig. 1: 1 travelling belt, 2 bottle caps, 3 optical sensors, 4 sensor signal lines, 5 cameras, 6 light sources, 7 transmission lines, 8 image pick-up cards, 9 computing machines.
Embodiment
Referring to Fig. 1, bottle cap high-speed detection system of the present utility model is made up of transfer equipment, camera, special light source, transmission line, image pick-up card, computing machine.Special transmission equipment comprises travelling belt and optical sensor.The camera of video camera can be the line array CCD camera, is installed in directly over the travelling belt, triggers by optical sensor signals and gathers lid mouth bottle cap image up in real time.Special light source is angled to the bottle cap oblique illumination, thereby makes the bottle cap edge be rendered as the annulus of certain width in images acquired, so that detect the bottle cap breach.Optical sensor is the infrared induction photoelectric sensor, is fixed in by the transmission line of video camera below.Image pick-up card can be based on the outer plug-in card that microcomputer pci bus structure has the image front-end processing, with more complete real time image collection disposal system of existing resource formation of microcomputer.Because amount of image information is big, the processing time is long, described computing machine need have higher dominant frequency and stronger arithmetic capability.Camera acquisition realtime graphic, size are 800 * 600, by transmission line and image pick-up card deliver to Computer Storage be the BMP form and and detect in real time.
The utility model is made up of hardware components and software section; Hardware components adopts computing machine as handling and control center; Software section is made up of a plurality of subroutines such as image pre-service, edge extraction, deformation detection, defects detection.
Comprise referring to this software section of Fig. 2: 1) image pre-service subroutine, 2) edge extracts subroutine, 3) deformation detection subroutine, 4) the defects detection subroutine.
1) described image pre-service subroutine comprises: image gray processing, removal noise, grey level stretching, binaryzation and morphologic filtering.
Image gray processing, the image that camera is taken in real time is 16 bitmaps (RGB565 form) data, handles for the ease of follow-up rapid image, needs view data is changed, and makes coloured image become 256 grades of gray-scale maps.
Remove noise, inevitably contain noise in the image, adopt medium filtering that image is carried out pre-service thereupon.
Grey level stretching in order to strengthen the contrast of background area and character zone, is carried out grey level stretching to image.
Binaryzation is carried out binary conversion treatment to gray level image, adopts the method for maximum between-cluster variance and infima species internal variance ratio, and self-adaptation is calculated gray threshold, thinks the target area less than the zone of this threshold value, greater than the background area of thinking in the zone of this threshold value.
Morphologic filtering carries out morphologic filtering to bianry image and handles, the synthetic operation that adopts expansion, burn into ON operation and closed operation to combine.
2) edge extracts subroutine, bottle cap mouth edge is rendered as the annulus of certain width in the image after the binaryzation, select template extraction edge doughnut picture by the zone that three concentric circless of drag and drop constitute, three radius of a circles can independently be set, and justify called after cylindrical, middle circle and interior circles respectively according to order from outside to inside with three.Middle circle is used to estimate that bottle cap radius, inside and outside circle are used to define the edge annulus of bottle cap, the interior edge of wherein interior circle coupling bottle cap, cylindrical coupling bottle cap outer.
3) deformation detection subroutine is calculated annulus outer circularity as shown in Equation 1, and compares with the circularity threshold value of presetting, if result of calculation is lower than the circularity threshold value, then bottle cap is judged as distortion, produces simultaneously and rejects signal.
C = P 2 A - - - ( 1 )
Wherein, P is a girth, and A is an area.
4) defects detection subroutine detects bottle cap and whether has defectives such as burr, burr and breach, comprising: calculation of parameter, annulus are stretching, pre-service and width measure, referring to Fig. 3.
Calculation of parameter: calculate the stretching projective transformation of edge annulus desired position parameter, i.e. sine and cosine value, and deposit corresponding array in.As shown in Figure 4, if the pixel (xx that certain in the edge annulus is to be stretched, yy) with the distance of x axle positive axis with respect to the center of circle (x0, y0) angle is a, sine here and cosine value are exactly sine and the cosine value that refers to angle a, be used for calculating the projective transformation stretch-out view former figure be in the original edge annulus respective coordinates (x y) obtains pixel value, if the cavity point further adopts its pixel value of interpolation calculation.
Annulus is stretching, select cylindrical in the template as benchmark with the zone, promptly with cylindrical as projective transformation after the top margin of rectangular area, the inside and outside circle semidiameter as projective transformation after the width of rectangular area, the edge annulus is projected to aforementioned rectangular area along the incision of right side horizontal line, and wherein the pixel value of cavity point adopts the bilinear interpolation algorithm computation.
Pre-service looks like to carry out binary conversion treatment according to the threshold value of binaryzation in the image pre-service to stretching doughnut, and carries out morphologic filtering, eliminates isolated point.
Width measure obtains the minimum and maximum width value of annulus and calculates the mean breadth of annulus by statistics, if minimum and maximum width value surpasses the mean breadth certain proportion, thinks that then there are defectives such as burr, burr or breach in bottle cap, produces simultaneously and rejects signal.
Below introduce preferred embodiment of the present utility model, this part only is to illustrate of the present utility model, but not to the restriction of the utility model and application or purposes.According to other embodiment that the utility model draws, belong to technological innovation scope of the present utility model too.There is the setting of related parameter also not show to have only example value to use in the scheme.
The course of work of the present utility model: system powers on, and video camera is gathered the bottle cap image continuously in real time, and arrives microcomputer by transmission line; The image pretreatment module to input picture strengthen, filtering and binary conversion treatment; Select module to extract bottle cap edge doughnut picture according to the zone that the concentric circles group constitutes; Calculate the circularity of annulus outer, and with default circularity threshold ratio, be made as 0.8 as the circularity threshold value, be distortion if result of calculation, is then judged bottle cap less than predetermined threshold value, produce and reject signal, otherwise enter the defects detection subroutine; Defect inspection process is at first calculated the stretching projective transformation of annulus required sine and cosine value, again by projective transformation the gray scale doughnut as stretching, by binaryzation and filtering stretching doughnut is looked like to handle then, add up at last annulus minimum and maximum width and with mean breadth relatively, if minimum and maximum width surpasses 20% of mean breadth, judge that then there is defective in bottle cap, produce and reject signal.

Claims (2)

1. online image detection system of bottle cap, comprise the travelling belt that is used to transmit bottle cap, optical sensor, camera, light source, image pick-up card, computing machine, it is characterized in that, camera be fixed on travelling belt directly over, light source places the oblique upper of travelling belt, optical sensor places by the travelling belt under the camera, whether there is bottle cap under being used to detect camera, trigger the image that camera collection is positioned at the bottle cap on the travelling belt under it by the detection signal of optical sensor, the bottle cap image of being gathered is admitted in the computing machine through image pick-up card.
2. the online image detection system of bottle cap according to claim 1, described optical sensor is the infrared induction photoelectric sensor.
CN2010206922024U 2010-12-30 2010-12-30 Online image detection system for bottle cap Expired - Fee Related CN201935873U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010206922024U CN201935873U (en) 2010-12-30 2010-12-30 Online image detection system for bottle cap

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010206922024U CN201935873U (en) 2010-12-30 2010-12-30 Online image detection system for bottle cap

Publications (1)

Publication Number Publication Date
CN201935873U true CN201935873U (en) 2011-08-17

Family

ID=44447391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010206922024U Expired - Fee Related CN201935873U (en) 2010-12-30 2010-12-30 Online image detection system for bottle cap

Country Status (1)

Country Link
CN (1) CN201935873U (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135416A (en) * 2010-12-30 2011-07-27 天津普达软件技术有限公司 Online image detecting system and method for bottle covers
CN102495076A (en) * 2011-12-07 2012-06-13 广东辉丰科技股份有限公司 Method for detecting defects of metal zipper teeth of zipper on basis of machine vision
CN103017652A (en) * 2011-09-23 2013-04-03 苏州比特速浪电子科技有限公司 Sample six-face detection device
CN103376056A (en) * 2012-04-20 2013-10-30 宜昌市洁康科技有限公司 Automatic intelligent bottle cap detecting machine
CN103606169A (en) * 2013-12-04 2014-02-26 天津普达软件技术有限公司 Method for detecting defects of bottle cap
CN103616847A (en) * 2013-12-04 2014-03-05 天津普达软件技术有限公司 Method for conducting communication between industrial personal computer and PLC on high-speed production line
CN106248686A (en) * 2016-07-01 2016-12-21 广东技术师范学院 Glass surface defects based on machine vision detection device and method
CN106596870A (en) * 2017-02-10 2017-04-26 太仓鼎诚电子科技有限公司 EPD detecting system
CN110763692A (en) * 2019-10-29 2020-02-07 复旦大学 Belted steel burr detecting system
CN111650215A (en) * 2020-07-07 2020-09-11 福建泉州源始物语信息科技有限公司 Cosmetic bottle cap flaw detection system
CN112285114A (en) * 2020-09-29 2021-01-29 华南理工大学 Enameled wire spot welding quality detection system and method based on machine vision

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135416A (en) * 2010-12-30 2011-07-27 天津普达软件技术有限公司 Online image detecting system and method for bottle covers
CN102135416B (en) * 2010-12-30 2012-10-03 天津普达软件技术有限公司 Online image detecting system and method for bottle covers
CN103017652A (en) * 2011-09-23 2013-04-03 苏州比特速浪电子科技有限公司 Sample six-face detection device
CN102495076A (en) * 2011-12-07 2012-06-13 广东辉丰科技股份有限公司 Method for detecting defects of metal zipper teeth of zipper on basis of machine vision
CN102495076B (en) * 2011-12-07 2013-06-19 广东辉丰科技股份有限公司 Method for detecting defects of metal zipper teeth of zipper on basis of machine vision
CN103376056A (en) * 2012-04-20 2013-10-30 宜昌市洁康科技有限公司 Automatic intelligent bottle cap detecting machine
CN103616847B (en) * 2013-12-04 2016-03-09 天津普达软件技术有限公司 A kind of method of industrial computer and PLC communication in high-speed production lines
CN103616847A (en) * 2013-12-04 2014-03-05 天津普达软件技术有限公司 Method for conducting communication between industrial personal computer and PLC on high-speed production line
CN103606169A (en) * 2013-12-04 2014-02-26 天津普达软件技术有限公司 Method for detecting defects of bottle cap
CN106248686A (en) * 2016-07-01 2016-12-21 广东技术师范学院 Glass surface defects based on machine vision detection device and method
CN106596870A (en) * 2017-02-10 2017-04-26 太仓鼎诚电子科技有限公司 EPD detecting system
CN110763692A (en) * 2019-10-29 2020-02-07 复旦大学 Belted steel burr detecting system
CN110763692B (en) * 2019-10-29 2022-04-12 复旦大学 Belted steel burr detecting system
CN111650215A (en) * 2020-07-07 2020-09-11 福建泉州源始物语信息科技有限公司 Cosmetic bottle cap flaw detection system
CN111650215B (en) * 2020-07-07 2023-02-14 福建泉州源始物语信息科技有限公司 Cosmetic bottle cap flaw detection system
CN112285114A (en) * 2020-09-29 2021-01-29 华南理工大学 Enameled wire spot welding quality detection system and method based on machine vision

Similar Documents

Publication Publication Date Title
CN102135416B (en) Online image detecting system and method for bottle covers
CN201935873U (en) Online image detection system for bottle cap
CN107705288B (en) Infrared video detection method for dangerous gas leakage under strong interference of pseudo-target motion
CN103913468B (en) Many defects of vision checkout equipment and the method for large-scale LCD glass substrate on production line
WO2022027949A1 (en) Machine vision-based detecting method and system for glass bottle bottom defects
CN105388162A (en) Raw material silicon wafer surface scratch detection method based on machine vision
CN105403147A (en) Embedded bottle pre-form detection system and detection method
CN108896574B (en) Bottled liquor impurity detection method and system based on machine vision
CN101984346A (en) Method of detecting fruit surface defect based on low pass filter
CN101105459A (en) Empty bottle mouth defect inspection method and device
CN107966454A (en) A kind of end plug defect detecting device and detection method based on FPGA
CN102998316B (en) Transparent liquid impurity detection system and detection method thereof
CN102305798A (en) Method for detecting and classifying glass defects based on machine vision
CN107084992A (en) A kind of capsule detection method and system based on machine vision
CN103226106A (en) Machine vision based bearing dust cap quality monitoring system
CN104056790A (en) Intelligent potato sorting method and apparatus
CN102034098A (en) Automatic bolt sorting system and automatic bolt sorting method
CN104952754B (en) Silicon chip method for separating after plated film based on machine vision
CN207238542U (en) A kind of thin bamboo strip defect on-line detecting system based on machine vision
CN201707305U (en) Inspection system for inspecting quality of container caps
CN102495067B (en) System for identifying impurities of edible funguses on line
CN112044808A (en) Household garbage recognition system
CN110687121A (en) Intelligent online detection and automatic grading method and system for ceramic tiles
CN104976959B (en) A kind of spring sizes on-line measurement system and its method based on machine vision
CN107891012B (en) Pearl size and circularity sorting device based on equivalent algorithm

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110817

Termination date: 20121230