CN105825175A - Generation method for industrial vision detection scheme and industrial vision detection method - Google Patents
Generation method for industrial vision detection scheme and industrial vision detection method Download PDFInfo
- Publication number
- CN105825175A CN105825175A CN201610140041.XA CN201610140041A CN105825175A CN 105825175 A CN105825175 A CN 105825175A CN 201610140041 A CN201610140041 A CN 201610140041A CN 105825175 A CN105825175 A CN 105825175A
- Authority
- CN
- China
- Prior art keywords
- industrial vision
- vision detection
- detection scheme
- scheme
- workpiece
- 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
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/42—Document-oriented image-based pattern recognition based on the type of document
- G06V30/422—Technical drawings; Geographical maps
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Provided in the invention is a generation method for an industrial vision detection scheme. The industrial vision detection scheme is used for employing a vision detection instrument to carry out automatic detection on a workpiece. The industrial vision detection scheme includes a plane detection project. In addition, the generation method comprises: step one, parsing an element in a drawing file of a workpiece; step two, generating a feature point and a feature line based on the element; and step three, generating a plane detection project according to one or more of the element, the feature point and the feature line. The generation method has a wide application range. A proper workpice vision detection scheme can be generated according to an acutual demand; after introduction of a vision detection instrument, the scheme not only can be applied to total-number detection under large-scale volume production but also can realize low-volume, multi-match, multi-species detection.
Description
Technical field
The invention belongs to detection technique field, be specifically related to a kind of industrial vision detection scheme and generate method and industrial vision detection method.
Background technology
Developing industry 4.0 is the national strategy that China is current, and the concept of industry 4.0 includes that the basic model controlled to distributing enhancement mode by centerized fusion changes, and target is the production model of the personalized and digitized product and service setting up a high flexible.And in the core Flexible Manufacturing Process of industry 4.0, it is desirable to goods detecting instrument can meet the total detection that large scale quantities is given birth to, and can meet again small lot, multiple batches of, multi items detection simultaneously.
In the prior art, detection to workpiece is broadly divided into two kinds of situations, the workpiece sensing given birth to for large scale quantities, workpiece is detected by many employing vision-based inspection instruments, before detection, need to intercept the image of target workpiece, and be programmed, then input in supporting detecting instrument, workpiece sensing is carried out again by detecting instrument, the most each detection project (such as linear measure longimetry, width measure, inside diameter measurement etc.) it is required for user's specified measurement region, measuring method and formula etc., the method left-hand seat difficulty, even if skilled worker operates the most relatively time consuming;When detecting for small lot, multiple batches of or multi items workpiece, owing to using above-mentioned detection method the most time-consuming, and need specially detection project to be programmed, and input in supporting detecting instrument, therefore, when detecting for small lot, multiple batches of or multi items workpiece, the modes using manual detection more, but so can increase human cost, and inefficiency.
Summary of the invention
It is an object of the invention to provide a kind of industrial vision detection scheme and generate method and industrial vision detection method, it is intended to eliminate the programming step that vision inspection apparatus must be carried out before measuring, there is provided a kind of and conveniently can meet the total detection that large scale quantities is given birth to, small lot, multiple batches of, the industrial vision detection scheme generation method of multi items detection can be met again simultaneously.
For solving above-mentioned technical problem, the technical scheme that the present invention provides is as follows:
The invention provides a kind of industrial vision detection scheme and generate method, described industrial vision detection scheme is used for importing vision inspection apparatus and workpiece is carried out Aulomatizeted Detect, described industrial vision detection scheme includes that plane monitoring-network project, the generation method of described industrial vision detection scheme comprise the steps:
Step one: resolve the element in the drawing file of described workpiece;
Step 2: according to described Element generation characteristic point and characteristic curve;
Step 3: according to plane monitoring-network project described in the single or multiple combination producing in described element, characteristic point and characteristic curve.
Further, described step one also includes: resolve the mark of described workpiece drawing file, and in described step 3, the combination single or multiple with described element, characteristic point and characteristic curve of described mark combines generation plane monitoring-network project.
Further, described step 2 also includes: described industrial vision detection scheme also includes that height detection project, described step 2 also include: the figure constituting described element carries out connectivity analysis, obtains region segmentation figure;
Described step 3 also includes: for needing to carry out the region of elevation carrection, generates height detection project according to the Height Standard value in these regions.
Further, described step 3 also includes: generate depth detection project according to described plane monitoring-network project and described height detection project.
Further, described plane monitoring-network project and described height detection project can carry out manual modification as required.
Preferably, described characteristic point includes: the center of circle or the point of contact of arc core, circle or circular arc, the intersection point of line segment, line segment and circle or the intersection point of circular arc, the midpoint of line segment.
Preferably, described characteristic curve includes: intermediate line between intermediate line, line segment perpendicular bisector, two parallel segments between line, two centers of circle between line segment, two centers of circle.
Present invention also offers a kind of industrial vision detection method, comprise the steps:
Step one: resolve the element in the drawing file of workpiece;
Step 2: according to described Element generation characteristic point and characteristic curve;
Step 3: according to the single or multiple combination producing plane monitoring-network project in described element, characteristic point and characteristic curve;
Step 4: industrial vision scheme includes described plane monitoring-network project, preserves described industrial vision scheme with file, then described file is imported described vision inspection apparatus;
Step 5: described vision inspection apparatus reads described industrial vision detection scheme, and workpiece is carried out Aulomatizeted Detect.
Preferably, described step one is directly carried out to described step 4 on described vision inspection apparatus.
Compared with prior art, present invention have an advantage that
The industrial vision detection scheme that the present invention provides generates method applied range, suitable workpiece vision-based detection scheme can be generated according to the actual requirements, after being conducted into vision inspection apparatus, both can apply to the total detection that large scale quantities is given birth to, small lot, multiple batches of, multi items detection can have been met again simultaneously.The industrial vision detection method that the present invention provides, overcomes the defect needing to be programmed in advance in prior art when utilizing vision inspection apparatus to detect workpiece, and method left-hand seat is simple, and applied widely.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that a kind of industrial vision detection scheme that the embodiment of the present invention provides generates method.
Detailed description of the invention
A kind of industrial vision detection scheme generation method and the industrial vision detection method that propose the present invention below in conjunction with the drawings and specific embodiments are described in further detail.According to following explanation and claims, advantages and features of the invention will be apparent from.It should be noted that, accompanying drawing all uses the form simplified very much and all uses non-ratio accurately, only in order to facilitate, to aid in illustrating lucidly the purpose of the embodiment of the present invention.
As it is shown in figure 1, be that a kind of industrial vision detection scheme that the present invention provides generates method, described industrial vision detection scheme includes that plane monitoring-network project, the generation method of described industrial vision detection scheme comprise the steps:
User selects the drawing file (the typical drawing file etc. of such as dxf form) that workpiece is corresponding;
Automatic Program is utilized to resolve the view of workpiece drawing file and element (user also can choose the view being desired with detection the most voluntarily) that each view comprises;
Characteristic point and characteristic curve list is automatically generated according to described element;
According to plane monitoring-network project described in the single or multiple combination producing in described element, characteristic point and characteristic curve.If having mark on workpiece drawing, then program can parse the mark in drawing file, and the generation plane monitoring-network project that the mark combination single or multiple with characteristic point, characteristic curve and characteristic curve combined automatically;Described plane monitoring-network project can be used as industrial vision detection scheme, after described industrial vision detection scheme is imported vision inspection apparatus, workpiece can be carried out Aulomatizeted Detect.
When needing to detect the height of workpiece, the industrial vision detection scheme in the present embodiment also includes that height detection project, the generation method of described industrial vision detection scheme also comprise the steps:
Demand according to client chooses the view needing to carry out height detection, then the figure constituted described element relevant in view carries out connectivity analysis, zoning segmentation figure, then selected the region needing to carry out elevation carrection by user according to demand, generate height detection project according to the Height Standard value in these regions.Plane monitoring-network project can be used as industrial vision detection scheme together with height detection project and detects workpiece, can additionally realize testing the height of workpiece.
It should be noted that, above-mentioned by the characteristic point of programming automatic generation, characteristic curve, plane monitoring-network project and depth detection project, all can be revised the most voluntarily by user, can manually increase deletion information, such as, revise standard value or tolerance, workpiece material and workpiece surface colour etc. are set.
In the above embodiments, described element includes the information such as the line segment of workpiece drawing file, circle and circular arc.Described characteristic point is including, but not limited to intersection point between the point of contact (comprising tangential direction information) of the center of circle or arc core, circle or arc, two line segments, line segment and circle or the intersection point of arc, line segment midpoint etc..Described characteristic curve is including, but not limited to intermediate line etc. between intermediate line, line segment perpendicular bisector, two parallel segments between line, two centers of circle between line segment, two centers of circle.The detection item types of described industrial vision detection scheme may include that angle detection between the detection of workpiece hole diameter, the detection of arc radius, characteristic curve inclination angle detection, two characteristic curves, two characteristic curve spacing detections, two characteristic point spacing detections (comprising distance detection directional information), characteristic point and the detection of characteristic curve spacing, region height detection, two interregional testing for level difference etc..
It can be seen that, the industrial vision detection scheme generated after utilizing program to resolve workpiece drawing file in the present embodiment is not unique, on the one hand views different in workpiece drawing can be selected according to detection purpose demand, on the other hand user can manual modification plane monitoring-network project and height detection project according to demand, therefore the industrial vision detection scheme that the present invention provides generates method applied range, suitable workpiece vision-based detection scheme can be generated according to the actual requirements, after being conducted into vision inspection apparatus, both can apply to the total detection that large scale quantities is given birth to, small lot can be met again simultaneously, multiple batches of, multi items detects.
Present invention also offers a kind of industrial vision detection method, it comprises the steps:
Step one: Automatic Program resolves the element of workpiece drawing file;
Step 2: according to described Element generation characteristic point and characteristic curve;
Step 3: according to the single or multiple combination producing plane monitoring-network project in described element, characteristic point and characteristic curve;
Step 4: industrial vision scheme includes described plane monitoring-network project, preserves described industrial vision scheme with file, then described file is imported described vision inspection apparatus;
Step 5: described vision inspection apparatus reads described industrial vision detection scheme, and workpiece is carried out Aulomatizeted Detect.
Further, described file by being wirelessly transferred or can import described vision inspection apparatus by the way of Ethernet, it is possible to is directly imported in described vision inspection apparatus by the data transmission media such as USB flash disk, hard disk.
It may occur to persons skilled in the art that is, described step one is directly carried out to described step 4 on described vision inspection apparatus, i.e. directly being read by program on described vision inspection apparatus and resolve described artifact drawing, the industrial vision detection scheme ultimately produced i.e. is stored directly on described vision inspection apparatus.This method can save the trouble of data transfer.
The industrial vision detection scheme that the present invention provides generates method applied range, suitable workpiece vision-based detection scheme can be generated according to the actual requirements, after being conducted into vision inspection apparatus, both can apply to the total detection that large scale quantities is given birth to, small lot, multiple batches of, multi items detection can have been met again simultaneously.The industrial vision detection method that the present invention provides, overcomes the defect needing to be programmed in advance in prior art when utilizing vision inspection apparatus to detect workpiece, and method left-hand seat is simple, and applied widely.
Foregoing description is only the description to present pre-ferred embodiments, not any restriction to the scope of the invention, any change that the those of ordinary skill in field of the present invention does according to the disclosure above content, modification, belongs to the protection domain of claims.
Claims (9)
1. an industrial vision detection scheme generates method, described industrial vision detection scheme is used for importing vision inspection apparatus and workpiece is carried out Aulomatizeted Detect, it is characterized in that, described industrial vision detection scheme includes that plane monitoring-network project, the generation method of described industrial vision detection scheme comprise the steps:
Step one: resolve the element in the drawing file of described workpiece;
Step 2: according to described Element generation characteristic point and characteristic curve;
Step 3: according to plane monitoring-network project described in the single or multiple combination producing in described element, characteristic point and characteristic curve.
Industrial vision detection scheme the most according to claim 1 generates method, it is characterized in that, described step one also includes: resolve the mark of described workpiece drawing file, in described step 3, the combination single or multiple with described element, characteristic point and characteristic curve of described mark combines generation plane monitoring-network project.
Industrial vision detection scheme the most according to claim 1 generates method, it is characterized in that, described industrial vision detection scheme also includes that height detection project, described step 2 also include: the figure constituting described element carries out connectivity analysis, obtains region segmentation figure;
Described step 3 also includes: for needing to carry out the region of elevation carrection, generates height detection project according to the Height Standard value in these regions.
Industrial vision detection scheme the most according to claim 3 generates method, it is characterised in that described plane monitoring-network project and described height detection project can carry out manual modification as required.
5. generate method according to industrial vision detection scheme described in any one of claim 1-4, it is characterised in that described characteristic point includes: the center of circle or the point of contact of arc core, circle or circular arc, the intersection point of line segment, line segment and circle or the intersection point of circular arc, the midpoint of line segment.
6. generate method according to industrial vision detection scheme described in any one of claim 1-4, it is characterised in that described characteristic curve includes: intermediate line between intermediate line, line segment perpendicular bisector, two parallel segments between line, two centers of circle between line segment, two centers of circle.
7. an industrial vision detection method, it is characterised in that comprise the steps:
Step one: resolve the element in the drawing file of workpiece;
Step 2: according to described Element generation characteristic point and characteristic curve;
Step 3: according to the single or multiple combination producing plane monitoring-network project in described element, characteristic point and characteristic curve;
Step 4: industrial vision scheme includes described plane monitoring-network project, preserves described industrial vision scheme with file, then described file is imported described vision inspection apparatus;
Step 5: described vision inspection apparatus reads described industrial vision detection scheme, and workpiece is carried out Aulomatizeted Detect.
A kind of industrial vision detection method the most according to claim 7, it is characterised in that in described step 4, described file is by being wirelessly transferred or importing described vision inspection apparatus by the way of Ethernet.
A kind of industrial vision detection method the most according to claim 7, it is characterised in that described step one is carried out on described vision inspection apparatus to described step 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610140041.XA CN105825175A (en) | 2016-03-11 | 2016-03-11 | Generation method for industrial vision detection scheme and industrial vision detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610140041.XA CN105825175A (en) | 2016-03-11 | 2016-03-11 | Generation method for industrial vision detection scheme and industrial vision detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105825175A true CN105825175A (en) | 2016-08-03 |
Family
ID=56987088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610140041.XA Pending CN105825175A (en) | 2016-03-11 | 2016-03-11 | Generation method for industrial vision detection scheme and industrial vision detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105825175A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108596876A (en) * | 2018-03-28 | 2018-09-28 | 潍坊路加精工有限公司 | A kind of method of automatic setting detection zone |
CN108960252A (en) * | 2018-06-01 | 2018-12-07 | 广西大学 | The arc representation and detection method of arbitrary curve in a kind of two dimensional image |
US10769774B2 (en) | 2018-01-09 | 2020-09-08 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and device for detecting a defect in a steel plate, as well as apparatus and server therefor |
CN115760860A (en) * | 2023-01-05 | 2023-03-07 | 广东技术师范大学 | Multi-type workpiece dimension visual measurement method based on DXF file import |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101666623A (en) * | 2009-09-29 | 2010-03-10 | 西部金属材料股份有限公司 | Method for measuring external appearance size of tungsten and tungsten alloy device cut by slow speed wire |
CN101898317A (en) * | 2010-06-10 | 2010-12-01 | 重庆大学 | Virtual numerical control machine on-line detection system and method |
CN102259278A (en) * | 2011-07-20 | 2011-11-30 | 沈阳飞机工业(集团)有限公司 | Method for detecting geometric form and position tolerance of parts on line |
CN102331746A (en) * | 2011-10-13 | 2012-01-25 | 西北工业大学 | Drawing interchange format (DXF) file-based pen type plotter plotting path optimization method |
CN104296665A (en) * | 2014-09-28 | 2015-01-21 | 苏州镭络视觉技术有限公司 | Workpiece size measuring method and system based on machine vision |
CN105149794A (en) * | 2015-08-18 | 2015-12-16 | 河海大学常州校区 | Intelligent laser trimming system and method based on binocular vision |
-
2016
- 2016-03-11 CN CN201610140041.XA patent/CN105825175A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101666623A (en) * | 2009-09-29 | 2010-03-10 | 西部金属材料股份有限公司 | Method for measuring external appearance size of tungsten and tungsten alloy device cut by slow speed wire |
CN101898317A (en) * | 2010-06-10 | 2010-12-01 | 重庆大学 | Virtual numerical control machine on-line detection system and method |
CN102259278A (en) * | 2011-07-20 | 2011-11-30 | 沈阳飞机工业(集团)有限公司 | Method for detecting geometric form and position tolerance of parts on line |
CN102331746A (en) * | 2011-10-13 | 2012-01-25 | 西北工业大学 | Drawing interchange format (DXF) file-based pen type plotter plotting path optimization method |
CN104296665A (en) * | 2014-09-28 | 2015-01-21 | 苏州镭络视觉技术有限公司 | Workpiece size measuring method and system based on machine vision |
CN105149794A (en) * | 2015-08-18 | 2015-12-16 | 河海大学常州校区 | Intelligent laser trimming system and method based on binocular vision |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10769774B2 (en) | 2018-01-09 | 2020-09-08 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and device for detecting a defect in a steel plate, as well as apparatus and server therefor |
CN108596876A (en) * | 2018-03-28 | 2018-09-28 | 潍坊路加精工有限公司 | A kind of method of automatic setting detection zone |
CN108596876B (en) * | 2018-03-28 | 2020-07-03 | 潍坊路加精工有限公司 | Method for automatically setting detection area |
CN108960252A (en) * | 2018-06-01 | 2018-12-07 | 广西大学 | The arc representation and detection method of arbitrary curve in a kind of two dimensional image |
CN115760860A (en) * | 2023-01-05 | 2023-03-07 | 广东技术师范大学 | Multi-type workpiece dimension visual measurement method based on DXF file import |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105825175A (en) | Generation method for industrial vision detection scheme and industrial vision detection method | |
US8638984B2 (en) | Display of results of a measurement of workpieces as a function of the detection of the gesture of a user | |
CN103777570B (en) | Mismachining tolerance quick detection compensation method based on nurbs surface | |
JP4611873B2 (en) | Method for detecting three-dimensional measurement data using tolerance region | |
JP2005331274A (en) | Inspection method of tire irregularity pattern, and inspection device of tire irregularity pattern | |
Keferstein et al. | Testing bench for laser triangulation sensors | |
CN101619964A (en) | Quick microscopic detection method and quick microscopic detection device of micro accessory based on process match | |
CN112106055A (en) | Real-time quality control during manufacturing using augmented reality | |
CN105823504A (en) | Zero-point-crossing processing method of encoder | |
CN106097316A (en) | The substrate position identifying processing method of laser scribing means image identification system | |
CN105300280B (en) | Connector size vision measuring method | |
JP2006343311A (en) | Three-dimensional measurement data inspection method using parametric tolerance | |
CN204640187U (en) | Field digitized inspection tool box | |
CN108627103A (en) | A kind of 2D laser measurement methods of parts height dimension | |
JP4856647B2 (en) | Method and display device for outputting measured values | |
CN107144222B (en) | Standard enlarged drawing measurement method, measuring device and measuring system | |
CN103791801A (en) | Measuring tool for roundness of glass circular disk and measuring method thereof | |
CN104182797A (en) | Automatic selection method of product part number on the basis of image recognition technology | |
CN108020353A (en) | A kind of detection device of the pressure sensor of wide range | |
CN106841217A (en) | A kind of flaw detection method, device and system | |
Haefner et al. | Design, data analysis and measurement uncertainty evaluation of an eddy-current sensor array for in-process metrology of carbon fiber reinforced plastics | |
CN106441032A (en) | Detection method of ultra-thin float glass quantification flexibility value | |
CN106124073A (en) | A kind of comprehensive temperature measuring equipment | |
CN113008940A (en) | Method and apparatus for detecting layer inconsistencies within a composite | |
Wankhede et al. | A comparative study on the effect of grid printing methods and camera hardware in automatic strain measurement through CGA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160803 |