CN106845481A - A kind of goods and materials shape recognition process based on binocular image vision - Google Patents
A kind of goods and materials shape recognition process based on binocular image vision Download PDFInfo
- Publication number
- CN106845481A CN106845481A CN201710037352.8A CN201710037352A CN106845481A CN 106845481 A CN106845481 A CN 106845481A CN 201710037352 A CN201710037352 A CN 201710037352A CN 106845481 A CN106845481 A CN 106845481A
- Authority
- CN
- China
- Prior art keywords
- bottle
- image
- grayscale image
- feature area
- grayscaled
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
Abstract
本发明涉及废旧瓶状物资回收技术,具体是一种基于双目图像视觉的物资形状识别方法。本发明解决了现有废旧瓶状物资识别技术适用范围受限、实现成本高、技术难度大、识别效率低、识别精确度低的问题。一种基于双目图像视觉的物资形状识别方法,该方法是采用如下步骤实现的:步骤S1:对直立放置的瓶状物资同时进行俯视拍摄和平视拍摄;步骤S2:分别对灰度化图像A和灰度化图像B进行矫正;步骤S3:分别对矫正后的灰度化图像A和灰度化图像B进行中值滤波;步骤S4:识别出瓶状物资的圆形特征区域和矩形特征区域;步骤S5:识别出瓶状物资的圆形特征区域的边缘和矩形特征区域的边缘;步骤S6:重构出瓶状物资的图像。本发明适用于废旧瓶状物资回收。
The invention relates to recycling technology of waste bottle-shaped materials, in particular to a material shape recognition method based on binocular image vision. The invention solves the problems of limited application range, high implementation cost, high technical difficulty, low identification efficiency and low identification accuracy of the existing waste bottle-shaped materials identification technology. A material shape recognition method based on binocular image vision, which is realized by the following steps: Step S1: Simultaneously take top-down and head-up shooting of bottle-shaped materials placed upright; Step S2: Grayscale image A and grayscale image B for correction; step S3: perform median filtering on the corrected grayscale image A and grayscale image B respectively; step S4: identify the circular feature area and rectangular feature area of the bottle-shaped material ; Step S5: Identify the edges of the circular feature area and the edge of the rectangular feature area of the bottle-shaped material; Step S6: Reconstruct the image of the bottle-shaped material. The invention is suitable for recycling waste bottle-shaped materials.
Description
技术领域technical field
本发明涉及废旧瓶状物资回收技术,具体是一种基于双目图像视觉的物资形状识别方法。The invention relates to recycling technology of waste bottle-shaped materials, in particular to a material shape recognition method based on binocular image vision.
背景技术Background technique
废旧瓶状物资的识别是废旧瓶状物资回收过程中的首要环节。在现有技术条件下,通常采用以下几种识别技术来进行废旧瓶状物资的识别:一、射频设别:利用扫描条形码的技术来识别废旧瓶状物资的种类。二、材质识别:利用传感器来识别废旧瓶状物资的材质。三、超声波测距+称重识别:利用超声波测距技术大致计算废旧瓶状物资的长度和直径,并利用称重技术来识别废旧瓶状物资的重量。四、常规图像识别:利用背景差分法来识别废旧瓶状物资。然而实践表明,上述废旧瓶状物资识别技术由于自身原理所限,普遍存在如下问题:一、射频设别技术要求废旧瓶状物资必须带有条形码,一旦废旧瓶状物资的条形码脱落,其便无法进行废旧瓶状物资的识别,由此导致其适用范围受限。二、材质识别技术存在实现成本高、技术难度大、识别效率低的问题。三、超声波测距+称重识别技术存在识别精确度低的问题。四、常规图像识别技术要求图像的背景是均匀且不变的,导致其存在技术难度大、识别效率低的问题。基于此,有必要发明一种全新的废旧瓶状物资识别技术,以解决现有废旧瓶状物资识别技术存在的上述问题。The identification of waste bottle-like materials is the primary link in the recycling process of waste bottle-like materials. Under the existing technical conditions, the following identification technologies are usually used to identify waste bottle materials: 1. Radio frequency identification: use the technology of scanning barcodes to identify the types of waste bottle materials. 2. Material identification: Use sensors to identify the material of waste bottle materials. 3. Ultrasonic ranging + weighing identification: Use ultrasonic ranging technology to roughly calculate the length and diameter of waste bottle-shaped materials, and use weighing technology to identify the weight of waste bottle-shaped materials. 4. Conventional image recognition: Use the background difference method to identify waste bottle-like materials. However, practice has shown that the above-mentioned waste bottle-shaped materials identification technology generally has the following problems due to its own principle limitations: 1. The radio frequency identification technology requires waste and used bottle-shaped materials to have a barcode. Once the barcode of the waste and used bottle-shaped materials falls off, it cannot Identification of waste bottle materials, resulting in a limited scope of application. Second, the material recognition technology has the problems of high implementation cost, high technical difficulty, and low recognition efficiency. 3. Ultrasonic ranging + weighing identification technology has the problem of low identification accuracy. 4. Conventional image recognition technology requires the background of the image to be uniform and unchanged, which leads to the problems of high technical difficulty and low recognition efficiency. Based on this, it is necessary to invent a brand-new waste bottle-shaped material identification technology to solve the above-mentioned problems existing in the waste and used bottle-shaped material identification technology.
发明内容Contents of the invention
本发明为了解决现有废旧瓶状物资识别技术适用范围受限、实现成本高、技术难度大、识别效率低、识别精确度低的问题,提供了一种基于双目图像视觉的物资形状识别方法。In order to solve the problems of limited application range, high implementation cost, high technical difficulty, low recognition efficiency and low recognition accuracy of existing waste bottle-shaped material recognition technology, the present invention provides a material shape recognition method based on binocular image vision .
本发明是采用如下技术方案实现的:The present invention is realized by adopting the following technical solutions:
一种基于双目图像视觉的物资形状识别方法,该方法是采用如下步骤实现的:A material shape recognition method based on binocular image vision, which is realized by the following steps:
步骤S1:利用正交双目摄像机,对直立放置的瓶状物资同时进行俯视拍摄和平视拍摄,由此分别得到灰度化图像A和灰度化图像B;俯视拍摄得到的灰度化图像A和平视拍摄得到的灰度化图像B均同时包含瓶状物资和背景;Step S1: Use an orthogonal binocular camera to simultaneously take top-down and head-up shots of the bottle-shaped materials placed upright, thereby obtaining grayscale image A and grayscale image B respectively; the grayscale image A obtained by top-down shooting The grayscale image B obtained from the head-up shooting contains both bottle-shaped materials and the background;
步骤S2:利用透视变换算法,分别对灰度化图像A和灰度化图像B进行矫正,由此分别从灰度化图像A和灰度化图像B中消除失真;Step S2: using a perspective transformation algorithm to correct the grayscaled image A and the grayscaled image B respectively, thereby eliminating distortion from the grayscaled image A and the grayscaled image B respectively;
步骤S3:分别对矫正后的灰度化图像A和灰度化图像B进行中值滤波,由此分别从灰度化图像A和灰度化图像B中消除噪声;Step S3: performing median filtering on the corrected grayscaled image A and grayscaled image B respectively, thereby eliminating noise from grayscaled image A and grayscaled image B respectively;
步骤S4:利用最大互相关算法,一方面从灰度化图像A中识别出瓶状物资的圆形特征区域,该圆形特征区域由瓶底和瓶口构成,另一方面从灰度化图像B中识别出瓶状物资的矩形特征区域,该矩形特征区域由瓶颈和瓶身构成;Step S4: Using the maximum cross-correlation algorithm, on the one hand, identify the circular feature area of the bottle-shaped material from the grayscale image A. The circular feature area is composed of the bottle bottom and the bottle mouth; In B, the rectangular characteristic area of the bottle-shaped material is identified, and the rectangular characteristic area is composed of a bottleneck and a bottle body;
步骤S5:利用Sobel算子,一方面从灰度化图像A中识别出瓶状物资的圆形特征区域的边缘,另一方面从灰度化图像B中识别出瓶状物资的矩形特征区域的边缘;Step S5: Using the Sobel operator, on the one hand, identify the edge of the circular feature area of the bottle-shaped material from the grayscale image A, and on the other hand, identify the edge of the rectangular feature area of the bottle-shaped material from the grayscale image B edge;
步骤S6:从灰度化图像A中计算出瓶状物资的圆形特征区域的尺寸,从灰度化图像B中计算出瓶状物资的矩形特征区域的尺寸,由此重构出瓶状物资的图像。Step S6: Calculate the size of the circular feature area of the bottle-shaped material from the grayscale image A, calculate the size of the rectangular feature area of the bottle-shaped material from the grayscale image B, and reconstruct the bottle-shaped material Image.
与现有废旧瓶状物资识别技术相比,本发明所述的一种基于双目图像视觉的物资形状识别方法通过采用全新的识别原理,实现了对废旧瓶状物资进行识别,由此具备了如下优点:一、与射频设别技术相比,本发明无需废旧瓶状物资带有条形码,即可进行废旧瓶状物资的识别,因此其适用范围不再受限。二、与材质识别技术相比,本发明实现成本更低、技术难度更小、识别效率更高。三、与超声波测距+称重识别技术相比,本发明识别精确度更高。四、与常规图像识别技术相比,本发明不再要求图像的背景是均匀且不变的,因此其技术难度更小、识别效率更高。Compared with the existing waste bottle-shaped materials recognition technology, the material shape recognition method based on binocular image vision in the present invention realizes the recognition of waste and old bottle-shaped materials by adopting a new recognition principle, thus possessing The advantages are as follows: 1. Compared with the radio frequency identification technology, the present invention can identify waste bottle materials without barcodes, so its scope of application is no longer limited. 2. Compared with the material recognition technology, the present invention has lower implementation cost, less technical difficulty and higher recognition efficiency. 3. Compared with the ultrasonic ranging + weighing identification technology, the identification accuracy of the present invention is higher. 4. Compared with the conventional image recognition technology, the present invention no longer requires the background of the image to be uniform and unchanged, so its technical difficulty is smaller and the recognition efficiency is higher.
本发明有效解决了现有废旧瓶状物资识别技术适用范围受限、实现成本高、技术难度大、识别效率低、识别精确度低的问题,适用于废旧瓶状物资回收。The invention effectively solves the problems of limited application range, high implementation cost, high technical difficulty, low identification efficiency and low identification accuracy of the existing waste bottle-shaped material identification technology, and is suitable for recycling waste bottle-shaped materials.
附图说明Description of drawings
图1是本发明的流程示意图。Fig. 1 is a schematic flow chart of the present invention.
具体实施方式detailed description
一种基于双目图像视觉的物资形状识别方法,该方法是采用如下步骤实现的:A material shape recognition method based on binocular image vision, which is realized by the following steps:
步骤S1:利用正交双目摄像机,对直立放置的瓶状物资同时进行俯视拍摄和平视拍摄,由此分别得到灰度化图像A和灰度化图像B;俯视拍摄得到的灰度化图像A和平视拍摄得到的灰度化图像B均同时包含瓶状物资和背景;Step S1: Use an orthogonal binocular camera to simultaneously take top-down and head-up shots of the bottle-shaped materials placed upright, thereby obtaining grayscale image A and grayscale image B respectively; the grayscale image A obtained by top-down shooting The grayscale image B obtained from the head-up shooting contains both bottle-shaped materials and the background;
步骤S2:利用透视变换算法,分别对灰度化图像A和灰度化图像B进行矫正,由此分别从灰度化图像A和灰度化图像B中消除失真;Step S2: using a perspective transformation algorithm to correct the grayscaled image A and the grayscaled image B respectively, thereby eliminating distortion from the grayscaled image A and the grayscaled image B respectively;
步骤S3:分别对矫正后的灰度化图像A和灰度化图像B进行中值滤波,由此分别从灰度化图像A和灰度化图像B中消除噪声;Step S3: performing median filtering on the corrected grayscaled image A and grayscaled image B respectively, thereby eliminating noise from grayscaled image A and grayscaled image B respectively;
步骤S4:利用最大互相关算法,一方面从灰度化图像A中识别出瓶状物资的圆形特征区域,该圆形特征区域由瓶底和瓶口构成,另一方面从灰度化图像B中识别出瓶状物资的矩形特征区域,该矩形特征区域由瓶颈和瓶身构成;Step S4: Using the maximum cross-correlation algorithm, on the one hand, identify the circular feature area of the bottle-shaped material from the grayscale image A. The circular feature area is composed of the bottle bottom and the bottle mouth; In B, the rectangular characteristic area of the bottle-shaped material is identified, and the rectangular characteristic area is composed of a bottleneck and a bottle body;
步骤S5:利用Sobel算子,一方面从灰度化图像A中识别出瓶状物资的圆形特征区域的边缘,另一方面从灰度化图像B中识别出瓶状物资的矩形特征区域的边缘;Step S5: Using the Sobel operator, on the one hand, identify the edge of the circular feature area of the bottle-shaped material from the grayscale image A, and on the other hand, identify the edge of the rectangular feature area of the bottle-shaped material from the grayscale image B edge;
步骤S6:从灰度化图像A中计算出瓶状物资的圆形特征区域的尺寸,从灰度化图像B中计算出瓶状物资的矩形特征区域的尺寸,由此重构出瓶状物资的图像。Step S6: Calculate the size of the circular feature area of the bottle-shaped material from the grayscale image A, calculate the size of the rectangular feature area of the bottle-shaped material from the grayscale image B, and reconstruct the bottle-shaped material Image.
所述步骤S5中,Sobel算子采用的模板是。In the step S5, the template used by the Sobel operator is .
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710037352.8A CN106845481A (en) | 2017-01-19 | 2017-01-19 | A kind of goods and materials shape recognition process based on binocular image vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710037352.8A CN106845481A (en) | 2017-01-19 | 2017-01-19 | A kind of goods and materials shape recognition process based on binocular image vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106845481A true CN106845481A (en) | 2017-06-13 |
Family
ID=59124523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710037352.8A Pending CN106845481A (en) | 2017-01-19 | 2017-01-19 | A kind of goods and materials shape recognition process based on binocular image vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106845481A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111368802A (en) * | 2020-03-28 | 2020-07-03 | 河南工业职业技术学院 | Material shape recognition method based on binocular image vision |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279785A (en) * | 2014-06-24 | 2016-01-27 | 北京鸿合智能系统股份有限公司 | Display platform three-dimensional modeling method and device |
-
2017
- 2017-01-19 CN CN201710037352.8A patent/CN106845481A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279785A (en) * | 2014-06-24 | 2016-01-27 | 北京鸿合智能系统股份有限公司 | Display platform three-dimensional modeling method and device |
Non-Patent Citations (1)
Title |
---|
陆志敏: "玻璃瓶罐外形尺寸的计算机视觉检测", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111368802A (en) * | 2020-03-28 | 2020-07-03 | 河南工业职业技术学院 | Material shape recognition method based on binocular image vision |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103698337B (en) | A kind of adhesion defect of label of flat wine bottle automatic testing method | |
MY151339A (en) | Multi-imaging automated inspection methods and systems for wet ophthalmic lenses | |
CN103308523B (en) | Method for detecting multi-scale bottleneck defects, and device for achieving method | |
CN111052126A (en) | Pedestrian attribute identification and positioning method and convolutional neural network system | |
EP3006370A3 (en) | Sealed fibrous container | |
ATE548707T1 (en) | METHOD AND DEVICE FOR FINGERPRINT COMPARISON | |
EP2518663A3 (en) | Object recognition method and recognition apparatus | |
CN105403147A (en) | Embedded bottle pre-form detection system and detection method | |
CN106560910B (en) | Tube core defect detection method and device | |
EP2259224A3 (en) | Image processing apparatus, image processing method, and program | |
JP2016507407A (en) | Mold for blow molding hot fill containers at high draw ratio | |
CN106546174B (en) | A kind of circle detection method based on model filtering | |
CN103927748B (en) | A kind of coordinate scaling method based on many rectangular images distance transformation model | |
EP2315430A3 (en) | Image processing apparatus and image processing method | |
US20180290781A1 (en) | Label applicator | |
CN106845481A (en) | A kind of goods and materials shape recognition process based on binocular image vision | |
EP2134076A3 (en) | Defective pixel processing device and defective pixel processing method | |
EP2840373A3 (en) | Resonant pressure sensor and manufacturing method therefor | |
JP5877657B2 (en) | Method and apparatus for inspecting base of bottle can | |
EP2308667A3 (en) | Blowing machine with energy-efficient cooling | |
CN104077780A (en) | Medical image non-rigid registration algorithm performance evaluation method based on segmentation | |
US20150212010A1 (en) | Test Method for Optical Detection of Cup Bottom | |
JP5762315B2 (en) | Image processing method | |
CN107748897A (en) | Large-size curved part profile quality detection method based on pattern recognition | |
CN103871048B (en) | Straight line primitive-based geometric hash method real-time positioning and matching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |