CN109613621A - Component assembly detection recognition method - Google Patents

Component assembly detection recognition method Download PDF

Info

Publication number
CN109613621A
CN109613621A CN201910100924.1A CN201910100924A CN109613621A CN 109613621 A CN109613621 A CN 109613621A CN 201910100924 A CN201910100924 A CN 201910100924A CN 109613621 A CN109613621 A CN 109613621A
Authority
CN
China
Prior art keywords
measured
algorithm
circle
recognition method
distance
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
Application number
CN201910100924.1A
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.)
Dongguan Zhongke Blue Sea Intelligent Vision Technology Co Ltd
Original Assignee
Dongguan Zhongke Blue Sea Intelligent Vision 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 Dongguan Zhongke Blue Sea Intelligent Vision Technology Co Ltd filed Critical Dongguan Zhongke Blue Sea Intelligent Vision Technology Co Ltd
Priority to CN201910100924.1A priority Critical patent/CN109613621A/en
Publication of CN109613621A publication Critical patent/CN109613621A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/14Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to technical field of vision detection, refer in particular to a kind of component assembly detection recognition method, include following steps, acquire the part template image that multiple assembly are completed;Corresponding shape matching algorithm is established to multiple template image;Acquire part image to be measured;The operation of shape matching algorithm is carried out to part image to be measured, it identifies part shape to be measured and detects whether part to be measured is equipped with assembly parts, then the center of circle of two circular holes on part to be measured is identified using circle detection algorithm, then point of use point distance algorithm detects the linear interval distance in two centers of circle;The linear interval distance whether part to be measured is equipped with two centre points on assembly parts and part to be measured readable data information is converted to using numerical value display algorithm to export, it is completed without using complicated algorithm and high-end devices, use cost is reduced indirectly, and the conventional algorithmic technique of technical solution of the present invention cooperation reaches simple high quality completion to the assembly situation recognition detection of Assembly part.

Description

Component assembly detection recognition method
Technical field
The present invention relates to technical field of vision detection, refer in particular to a kind of component assembly detection recognition method.
Background technique
The characteristics of Machine Vision Detection is the flexibility and the degree of automation for improving production.It is not suitable for manual work some Dangerous work environment or artificial vision be difficult to the occasion met the requirements, machine in normal service vision substitutes artificial vision;Exist simultaneously In high-volume industrial processes, manually visual inspection product quality low efficiency and precision is not high, with Machine Vision Detection side Method can greatly improve the degree of automation of production efficiency and production.And machine vision is easily achieved information integration, is to realize The basic technology of computer integrated manufacturing system.Vision-based detection is exactly to replace human eye with machine to measure and judge.Vision-based detection is Refer to that, by machine vision product, image-pickup device is divided to CMOS and two kinds of CCD, will be ingested target and be converted into picture signal, It sends dedicated image processing system to, according to the information such as pixel distribution and brightness, color, is transformed into digitized signal;Image System carries out various operations to these signals to extract clarification of objective, and then the equipment at scene is controlled according to the result of differentiation Movement.It is the valuable mechanism for producing, assembling or pack.It is in detection defect and prevents from faulty goods to be dispensed into disappearing There is immeasurable value in terms of the function of the person of expense.
As above situation, vision-based detection has huge market value, most crucial in vision-based detection system not to be Hardware device but algorithm steps, and algorithm steps can be because of testing result requirement, product shape, operating environment situation and design The appearance of the factors such as the technical capability of personnel or group is multifarious, if core algorithm step design shortcoming, affects a whole set of view Feel the operational efficiency and running quality of detection device, and in the nut assembly algorithm step of hinge type, it is most of in the market The use cost of technical solution is high, while also the complex routine for being unfavorable for those skilled in the art changes parameter to algorithm steps Equal operations setting.
Summary of the invention
It is high that the technical problem to be solved in the present invention is to provide a kind of recognition correct rates, whether can install nut, nut position Spacing distance information on confidence breath and part to be measured between two holes detects the component assembly detection recognition method of identification.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme: a kind of component assembly detection recognition method, Include the following steps, step 1: the part template image that the multiple assembly of acquisition are completed;
Step 2: corresponding shape matching algorithm is established to multiple template image;
Step 3: acquiring part image to be measured;
Step 4: the operation of shape matching algorithm being carried out to part image to be measured, identifying part shape to be measured and detecting part to be measured is It is no that assembly parts are installed, the center of circle of two circular holes on part to be measured is then identified using circle detection algorithm, then point of use point Distance algorithm detects the linear interval distance in two centers of circle;
Step 5: whether part to be measured being equipped on assembly parts and part to be measured two centre points using numerical value display algorithm Linear interval distance is converted to the output of readable data information.
Preferably, part image to be measured is acquired using high angle radiation modality in the step 3.
Preferably, filming apparatus, light source are in line with part to be measured and are aligned setting in the step 3, wherein light source with to The vertical spacing distance for surveying part is 146 to 178 millimeters, and the vertical spacing distance between filming apparatus and light source is 11 to 26 millis Rice.
Preferably, filming apparatus, light source are in line with part to be measured and are aligned setting in the step 3, wherein light source with to The vertical spacing distance for surveying part is 160 millimeters, and the vertical spacing distance between filming apparatus and light source is 20 millimeters.
Preferably, identify whether part shape to be measured, detection part to be measured are equipped with nut and detection in the step 4 The location information of the nut.
Preferably, whether part to be measured is equipped with nut using numerical value display algorithm in the step 5, nut location is believed The linear interval distance of two centre points is converted to the output of readable data information on breath and part to be measured.
Preferably, head end portion and the tail end of part to be measured are acquired in the step 3 respectively.
Preferably, corresponding shape is carried out respectively to the head end portion of the part to be measured of acquisition and tail end in the step 4 Matching algorithm individually identifies head end portion and the tail end of part to be measured, and then head end portion carries out identifying whether to be equipped with spiral shell Female and nut location information, tail end then use the center of circle of circle detection algorithm two circular holes of identification, then point of use point Distance algorithm detects the linear interval distance in two centers of circle.
The beneficial effects of the present invention are: a kind of component assembly detection recognition method is provided, in practical recognition detection, Image Acquisition is carried out to multiple and completion assembly part in advance and establishes shape matching algorithm, when part to be measured is identified When detection, first part to be measured is identified to obtain the corresponding part drawing for completing assembly, then detects whether to be mounted with nut And the location information of installation nut, the center of circle of two circular holes on part to be measured is then identified by using circle detection algorithm, Then point of use point distance algorithm detects the linear interval distance in two centers of circle, completes whole identification inspections an of part to be measured It surveys, it can be to two positions of the part point if the Plane Angle deviation between two positions detected needed for part to be measured is larger Template image acquisition is not carried out not individually, separated recognition detection can be realized when encountering corresponding part to be measured, this sets up template separately Image setting enhances the recognition detection accuracy to irregular Assembly part, complete without using complicated algorithm and high-end devices At reducing use cost indirectly, the conventional algorithmic technique of technical solution of the present invention cooperation reaches simple high quality and completes to assembly The assembly situation recognition detection of part.
Detailed description of the invention
Fig. 1 is the detection contrast schematic diagram of the first part to be measured in the technical solution of the embodiment of the present invention one.
Fig. 2 is the detection pair in the head end portion of second part to be measured and tail end in the technical solution of the embodiment of the present invention two Compare schematic diagram.
Specific embodiment
For the ease of the understanding of those skilled in the art, below with reference to embodiment, the present invention is further illustrated, real The content that the mode of applying refers to not is limitation of the invention.
It is as shown in Figure 1 the embodiment of the present invention one, a kind of component assembly detection recognition method includes the following steps, walks Rapid 1: the part template image that the multiple assembly of acquisition are completed;
Step 2: corresponding shape matching algorithm is established to multiple template image;
Step 3: acquire 1 image of part to be measured, acquire 1 image of part to be measured using high angle radiation modality, wherein filming apparatus, Light source is in line with part 1 to be measured and is aligned setting, and wherein the vertical spacing of light source and part 1 to be measured distance is 160 millimeters, shooting Vertical spacing distance between device and light source is 20 millimeters;
Step 4: the operation of shape matching algorithm being carried out to 1 image of part to be measured, identifies 1 shape of part to be measured, detection part 1 to be measured Whether nut is installed and detects the location information of the nut, is then identified two on part 1 to be measured using circle detection algorithm The center of circle of a circular hole, then point of use point distance algorithm detects the linear interval distance in two centers of circle;
Step 5: whether part 1 to be measured being equipped on nut, nut location information and part to be measured 1 using numerical value display algorithm The linear interval distance of two centre points is converted to the output of readable data information.
The component assembly detection recognition method of the present embodiment in advance fills multiple and completion in practical recognition detection The part matched carries out Image Acquisition and establishes shape matching algorithm, when part 1 to be measured carries out recognition detection, first to part to be measured 1 is identified to obtain the corresponding part drawing for completing assembly, is then detected whether to be mounted with nut and is installed the position of nut Then information identifies the center of circle of two circular holes on part 1 to be measured by using circle detection algorithm, then point of use point distance is calculated Method detects the linear interval distance in two centers of circle, whole recognition detections of a part 1 to be measured is completed, if part to be measured 1 Plane Angle deviation between two positions of required detection is larger individually to carry out template to two positions of the part Image Acquisition can realize separated recognition detection when encountering corresponding part 1 to be measured, this sets up template image setting enhancing pair separately The recognition detection accuracy of irregular Assembly part is completed without using complicated algorithm and high-end devices, reduces and use indirectly Cost, the conventional algorithmic technique of technical solution of the present invention cooperation reach simple high quality and complete to know the assembly situation of Assembly part It does not detect.
Be illustrated in figure 2 the embodiment of the present invention two, with embodiment one the difference is that: in the step 3 respectively Acquire head end portion 2 and the tail end 3 of part to be measured;Head end portion 2 and tail end 3 in the step 4 to the part to be measured of acquisition Corresponding shape matching algorithm is carried out respectively, individually identifies head end portion 2 and the tail end 3 of part to be measured, then head end portion 2 Carry out identifying whether to be equipped with the location information of nut and nut, tail end 3 then identifies two circles using circle detection algorithm The center of circle in hole, then point of use point distance algorithm detects the linear interval distance in two centers of circle;It is detected needed for part 1 to be measured Plane Angle deviation between two positions is larger individually to carry out template image acquisition to two positions of the part, when Separated recognition detection can be realized when encountering corresponding part 1 to be measured, this sets up template image setting enhancing separately to irregular assembly The recognition detection accuracy of part is completed without using complicated algorithm and high-end devices, reduces use cost indirectly, the present invention The conventional algorithmic technique of technical solution cooperation reaches simple high quality completion to the assembly situation recognition detection of Assembly part.
In addition, being used for description purposes only if any term " first ", " second ", it is not understood to indicate or imply relatively heavy The property wanted or the quantity for implicitly indicating technical characteristic." first " is defined as a result, " second " feature can be expressed or implicit include One or more this feature, in the present description, " several " are meant that two or more, unless otherwise clearly having The restriction of body.
In the present invention, except as otherwise clear stipulaties and restriction, should make if any term " assembling ", " connected ", " connection " term Broad sense goes to understand, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It is also possible to mechanical connect It connects;It can be directly connected, be also possible to be connected by intermediary, can be and be connected inside two elements.For ability For the those of ordinary skill of domain, the concrete meaning of above-mentioned term in the present invention can be understood as the case may be.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. component assembly detection recognition method, it is characterised in that: include the following steps,
Step 1: the part template image that the multiple assembly of acquisition are completed;
Step 2: corresponding shape matching algorithm is established to multiple template image;
Step 3: acquiring part to be measured (1) image;
Step 4: the operation of shape matching algorithm being carried out to part to be measured (1) image, part to be measured (1) shape is identified and detects to be measured Whether part (1) is equipped with assembly parts, and the center of circle of upper two circular holes of part (1) to be measured is then identified using circle detection algorithm, Then point of use point distance algorithm detects the linear interval distance in two centers of circle;
Step 5: whether part to be measured (1) being equipped with assembly parts and upper two circles of part to be measured (1) using numerical value display algorithm The linear interval distance of heart point is converted to the output of readable data information.
2. component assembly detection recognition method according to claim 1, it is characterised in that: use the angle of elevation in the step 3 It spends radiation modality and acquires part (1) image to be measured.
3. component assembly detection recognition method according to claim 1, it is characterised in that: filming apparatus in the step 3, Light source is in line with part to be measured (1) and is aligned setting, and wherein light source and the vertical spacing of part to be measured (1) distance are 146 to 178 Millimeter, the vertical spacing distance between filming apparatus and light source is 11 to 26 millimeters.
4. component assembly detection recognition method according to claim 1, it is characterised in that: filming apparatus in the step 3, Light source is in line with part to be measured (1) and is aligned setting, and wherein light source and the vertical spacing of part to be measured (1) distance are 160 millimeters, Vertical spacing distance between filming apparatus and light source is 20 millimeters.
5. component assembly detection recognition method according to claim 1, it is characterised in that: identified in the step 4 to be measured Whether part (1) shape, detection part (1) to be measured are equipped with nut and detect the location information of the nut.
6. component assembly detection recognition method according to claim 1, it is characterised in that: acquired respectively in the step 3 The head end portion (2) of part (1) to be measured and tail end (3).
7. component assembly detection recognition method according to claim 5, it is characterised in that: use numerical value in the step 5 Whether part to be measured (1) is equipped with the straight of nut, nut location information and upper two centre points of part to be measured (1) by display algorithm Line spacing distance is converted to the output of readable data information.
8. component assembly detection recognition method according to claim 6, it is characterised in that: to acquisition in the step 4 The head end portion (2) of part to be measured and tail end (3) carry out corresponding shape matching algorithm respectively, individually identify part to be measured Head end portion (2) and tail end (3), then head end portion (2) carry out identifying whether to be equipped with the location information of nut and nut, Tail end (3) then identifies the center of circle of two circular holes using circle detection algorithm, and then point of use point distance algorithm detects this two The linear interval distance in the center of circle.
CN201910100924.1A 2019-02-01 2019-02-01 Component assembly detection recognition method Pending CN109613621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100924.1A CN109613621A (en) 2019-02-01 2019-02-01 Component assembly detection recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100924.1A CN109613621A (en) 2019-02-01 2019-02-01 Component assembly detection recognition method

Publications (1)

Publication Number Publication Date
CN109613621A true CN109613621A (en) 2019-04-12

Family

ID=66021767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100924.1A Pending CN109613621A (en) 2019-02-01 2019-02-01 Component assembly detection recognition method

Country Status (1)

Country Link
CN (1) CN109613621A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104913722A (en) * 2015-07-01 2015-09-16 江南大学 True position detecting method for pin of socket connector of vehicle controller
CN105526862A (en) * 2015-12-25 2016-04-27 中国工程物理研究院激光聚变研究中心 Target parameter measuring device
CN105973914A (en) * 2016-07-08 2016-09-28 三峡大学 Screw mounting and detecting integrated equipment based on machine vision and operating method for screw mounting and detecting integrated equipment
CN106937080A (en) * 2015-12-30 2017-07-07 希姆通信息技术(上海)有限公司 Visible detection method and control device that a kind of mobile terminal is tightened up a screw
CN108171102A (en) * 2016-12-07 2018-06-15 广州映博智能科技有限公司 A kind of part method for quickly identifying of view-based access control model
CN108876777A (en) * 2018-06-14 2018-11-23 重庆科技学院 A kind of visible detection method and system of wind electricity blade end face of flange characteristic size

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104913722A (en) * 2015-07-01 2015-09-16 江南大学 True position detecting method for pin of socket connector of vehicle controller
CN105526862A (en) * 2015-12-25 2016-04-27 中国工程物理研究院激光聚变研究中心 Target parameter measuring device
CN106937080A (en) * 2015-12-30 2017-07-07 希姆通信息技术(上海)有限公司 Visible detection method and control device that a kind of mobile terminal is tightened up a screw
CN105973914A (en) * 2016-07-08 2016-09-28 三峡大学 Screw mounting and detecting integrated equipment based on machine vision and operating method for screw mounting and detecting integrated equipment
CN108171102A (en) * 2016-12-07 2018-06-15 广州映博智能科技有限公司 A kind of part method for quickly identifying of view-based access control model
CN108876777A (en) * 2018-06-14 2018-11-23 重庆科技学院 A kind of visible detection method and system of wind electricity blade end face of flange characteristic size

Similar Documents

Publication Publication Date Title
CN108269255B (en) Electric connector detection method based on machine vision
CN110108711A (en) The vision detection system of annulus side wall defect
CN105674880B (en) Contact net geometric parameter measurement method and system based on binocular principle
CN106341682A (en) Method, system and device for detecting aging function
CN110108712A (en) Multifunctional visual sense defect detecting system
CN109596054A (en) The size detection recognition methods of strip workpiece
CN108805870A (en) A kind of detection method of the connector with needle stand
CN107024476A (en) Display panel detecting system and its detection means and detection method
CN109596058A (en) The size detection recognition methods of plastic workpiece
CN105868756A (en) Gas meter counter direct reading system and direct reading method by applying digital image recognition technology
CN109859192A (en) The detection recognition method of round high reflective workpiece
CN115876086B (en) Detection method and detection system for high-density connector
CN109632802A (en) Detect adjusting method in part front and back sides
CN112966571A (en) Standing long jump flight height measurement method based on machine vision
CN114820439A (en) PCB bare board defect detection system and method based on AOI
CN109631763A (en) Irregular part detects localization method
CN108195847A (en) A kind of relief pattern Online Video detection device and its detection method
CN110082356A (en) The visible detection method and device of wire surface defect
CN103337067B (en) The visible detection method of single needle scan-type screw measurement instrument probe X-axis rotating deviation
CN109945842B (en) Method for detecting label missing and analyzing labeling error of end face of bundled round steel
CN109632814A (en) Part defect detection method
CN109631803A (en) Part angle detects adjusting method
CN109596626A (en) Bloom magnet ring workpiece visible detection method
CN110434848A (en) Abnormal personnel's detection method in a kind of mechanical arm working region
CN109613621A (en) Component assembly detection recognition 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412