CN102798382B - Embedded vision positioning system - Google Patents

Embedded vision positioning system Download PDF

Info

Publication number
CN102798382B
CN102798382B CN201210264766.1A CN201210264766A CN102798382B CN 102798382 B CN102798382 B CN 102798382B CN 201210264766 A CN201210264766 A CN 201210264766A CN 102798382 B CN102798382 B CN 102798382B
Authority
CN
China
Prior art keywords
module
vision
image
embedded
positioning
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.)
Active
Application number
CN201210264766.1A
Other languages
Chinese (zh)
Other versions
CN102798382A (en
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.)
Shenzhen Axxon Automation Co Ltd
Original Assignee
Shenzhen Axxon Automation 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 Shenzhen Axxon Automation Co Ltd filed Critical Shenzhen Axxon Automation Co Ltd
Priority to CN201210264766.1A priority Critical patent/CN102798382B/en
Publication of CN102798382A publication Critical patent/CN102798382A/en
Application granted granted Critical
Publication of CN102798382B publication Critical patent/CN102798382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The present invention is suitable for image recognition field of locating technology, provide a kind of embedded vision positioning system, described system comprises control device, embedded OS and visual performance module, wherein, described control device is for obtaining by the essential information of positioning image, the running environment of described embedded OS is provided, and communicates to connect with described visual performance module; Described embedded OS for providing the running environment of described visual performance module, and communicates to connect with described control device; Described visual performance module is used for realizing being carried out image calibration by positioning image and vision is located.Adopt technical scheme of the present invention, accurate positioning, easy to operate, with low cost, there is good practicality.

Description

Embedded vision positioning system
Technical field
The invention belongs to image identification technical field, particularly relate to a kind of embedded vision positioning system.
Background technology
Image recognition location technology is difficult point and the focus of research at present, at present in commercial production application, generally all adopts powerful industrial computer to carry out image recognition computing, adopting one is that volume is large in this way, and power consumption is high, to the bad adaptability of environment, two is that cost is higher, expensive.
Summary of the invention
The object of the present invention is to provide a kind of embedded vision positioning system, be intended to solve the problem that existing vision positioning system location is inaccurate, cost is high.
The present invention realizes like this, a kind of embedded vision positioning system, described system comprises control device, embedded OS and visual performance module, wherein, described control device is for obtaining by the essential information of positioning image, the running environment of described embedded OS is provided, and communicates to connect with described visual performance module; Described embedded OS for providing the running environment of described visual performance module, and communicates to connect with described control device; Described visual performance module is used for realizing being carried out image calibration by positioning image and vision is located.
Preferably, described control device comprises: main frame, display device, input equipment, image capture device, wherein: described main frame is arithmetic core and the control core of described system, for the data in interpre(ta)tive system instruction and handling procedure; Described display device is used for display application program interface and relevant result; Described input equipment is used for running program interface and input numerical value, and described image capture device is for gathering image information.
Preferably, described display device is display screen, described image capture device is industrial camera, described input equipment is resistive touch screen or capacitive touch screen, described display device, described input equipment all connect described main frame, and described image capture device is communicated to connect by USB connecting line and described main frame.
Preferably, described visual performance module comprises vision alignment module, vision locating module and vision measurement module, and wherein, described vision alignment module is used for carrying out pixel alignment and mechanically calibrated to described system; Described vision locating module is for obtaining by the vision elements of a fix of positioning image; Described vision measurement module is gathered the geometry numerical value of image by described image capture device for measuring.
Preferably, described vision alignment module comprises pixel alignment module and mechanically calibrated module, and wherein, described pixel alignment module is for calibrating by the position relationship between the pixel of positioning image and actual range; Described mechanically calibrated module for calibrate plant equipment with by the mechanical location of positioning image.
Preferably, described vision locating module comprises memory module and Data Matching module, and wherein, described memory module is used for storage figure as Template Information; Described Data Matching module is used for determining by the elements of a fix value of positioning image.
Preferably, described embedded OS is built-in Linux operating system.
Technical scheme disclosed in this invention, achieves that embedded vision positioning system layout is simple, accurate positioning, simple to operate, and reduces production cost.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the embedded vision positioning system that the embodiment of the present invention provides;
Fig. 2 is that the vision locating module that the embodiment of the present invention provides realizes searched figure S(and image template in the algorithm realization of vision location technology) schematic diagram;
Fig. 3 is that the vision locating module that the embodiment of the present invention provides realizes Prototype drawing T(and elementary area in the algorithm realization of vision location technology).
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, be the embedded vision positioning system structure block diagram disclosed in the embodiment of the present invention, for convenience of explanation, illustrate only part related to the present embodiment.As shown in Figure 1, embedded vision positioning system disclosed in the present invention, comprise control device 10, embedded OS 20 and visual performance module 30, wherein, control device 10 is for obtaining by the essential information of positioning image, the running environment of embedded OS 20 is provided, and communicates to connect with visual performance module 30; Embedded OS 20 for providing the running environment of visual performance module 30, and communicates to connect with control device 10; Visual performance module 30 is for realizing being carried out image calibration by positioning image and vision is located.
Can find out by Fig. 1, control device 10 comprises: main frame 101, display device 102, input equipment 103, image capture device 104, wherein: main frame is arithmetic core and the control core of whole embedded vision positioning system, for the data in interpre(ta)tive system instruction and handling procedure; Display device 102 is for display application program interface and relevant result; Input equipment 103 is for running program interface and input numerical value; Image capture device 104 is for gathering by the image information of locating.In the present embodiment, main frame 101 is processor chips based on Cortex-A8 framework and relevant peripherals; Display device 102 is LED display or LCDs, recommendation 7 cun of display screens; Institute's image capture device 104 is industrial camera, and industrial camera is communicated to connect by USB connecting line and main frame 101, main frame 101 also by USB line be industrial camera power and obtain industrial camera gather view data.Input equipment 103 is resistive touch screen or capacitive touch screen.
Visual performance module 30 comprises vision alignment module 301, vision locating module 302 and vision measurement module 303, wherein, vision alignment module 301 is for being carried out pixel alignment and mechanically calibrated by positioning image, usually, vision alignment module 301 comprises mechanically calibrated module and pixel alignment module.Vision locating module 302 is for obtaining by the vision elements of a fix of positioning image; Vision measurement module 303 is for measuring by positioning image geometry numerical value.
Below the principle of work of vision measurement module 303 is set forth.System utilizes after image capture device (such as industrial camera) gathers image, and the region of the display image of operation interface there will be according to the difference of measurement function the measurement point of varying number.Behind position (the general object space according to measuring is placed) suitable in mobile these measurement points to operation interface, and will the command of execution measurement be started to after vision measurement module 303, vision measurement module 303 can perform the instruction of measuring according to following steps:
First the position coordinates of measurement point on the display image of operation interface is obtained, call corresponding measurement function, calculate its geometric parameter at the display image of operation interface, recycle the result of pixel alignment afterwards, namely geometric parameter can be obtained physical distance corresponding to geometric parameter divided by pixel resolution.
Provide following several measurement function at present:
Line segment: the distance of point-to-point transmission.The image coordinate of two measurement points is subtracted each other, and obtains this 2 distance S1 on image, more just can obtain physical distance corresponding to this two measurement points divided by pixel resolution;
Circle: the parameter calculating circle by three coordinate points, as radius.Obtain the coordinate of three measurement points on image, guarantee that these three measurement points are not on same straight line, then call and ask round algorithm to calculate radius of a circle.Namely the physical values of this radius of circle is obtained again divided by pixel resolution;
Arc: similar with solving of circle, also can return arc length except returning radius.
Distance between parallel lines: utilize four measurement points, the first two point forms Article 1 straight line, and latter two point forms Article 2 straight line, whether parallelly calculate two straight lines, if parallel, then return the distance of parallel lines on image, then obtain corresponding physical distance divided by pixel resolution;
Two included angle of straight line: with four measurement points, the first two point forms Article 1 straight line, and latter two point forms Article 2 straight line, calculates the angle of two straight lines.
Concentric circles: utilize six measurement points, first three some formation first circle (3 not conllinear), rear three points form second circle (not conllinear) at 3, calculate the position in two centers of circle, if home position is consistent, the difference then calculating two radius of a circles obtains concentrically ringed thickness, otherwise returns error message.
The object that pixel alignment module carries out pixel alignment obtains each pixel and actual range in image (actual range refers to physical distance, namely the physical distance of each pixel representative is how many, such as 1 pixel=0.01mm, the general inverse with it in use, be defined as pixel resolution, unit is pixel every millimeter) between relation, be generally the distance for determining every millimeter has how many pixels; It is the distance (such as put in glue action, what operating point center referred to is exactly Glue dripping head) calculating industrial camera and operating point center that mechanically calibrated module carries out mechanically calibrated object.Only through pixel alignment and mechanically calibrated after, accurately could carry out vision location.Example is applied as, to pixel alignment and mechanically calibrated process detailed description in addition at a glue platform below with embedded vision positioning system.
Pixel alignment module is to as follows by the pixel alignment process of positioning image: start main frame, visual calibration procedure can start together; Select " vision alignment " function; One is placed the ruler of clear scales below camera; The distance of adjustment camera and ruler, makes clear picture; Determine by the adjacent picture elements of positioning image by operation interface; Pixel alignment module is extracted by the edge line of two of positioning image adjacent picture elements automatically, and the pixel number recorded between two scale strips, thus obtain the relation of pixel and actual range, the physical distance between pixel number/two scale mark namely between pixel resolution=two scale lines
Mechanically calibrated module is to as follows by the mechanical alignment process of positioning image: be fixed on by camera on the Z axis of desktop point glue platform, and is connected with desktop point glue platform by main frame with Serial Port Line; Start desktop point glue platform, main frame and vision alignment module will be activated; Select " mechanically calibrated " function; Plasticine is placed in table plane, by the arrow button reference mark glue platform movement on main frame screen, makes dispensing needle head just to plasticine; Move Z axis at a slow speed by the Z-direction key on main frame screen, stop mobile after making syringe needle extrude an impression on plasticine; Moved in camera view by the impression of the directionkeys on main frame screen by plasticine, and make its blur-free imaging; Tracking cross on moving screen, makes the center superposition of its position and impression; Select " determination " button of operation interface, complete mechanically calibrated function.
Vision locating module 302 comprises memory module and Data Matching module, and wherein, memory module is used for storage figure as Template Information; Data Matching module is used for determining by the elements of a fix value of positioning image.Below for a glue platform, the principle of work of vision locating module 302 is described in detail.
User's mobile industrial camera, the elementary area of the first elements of a fix point A is made to appear in the picture of video camera, camera views is now amplified elementary area, therefore user is easy to see that the center A(A point of elementary area is also the first elements of a fix point), once determining A is the first elements of a fix point, then controller can by the elementary area information transmission residing for the coordinate information value PA1 of A point and A point to vision locating module 302, vision locating module 302 passes through location technology, obtain the coordinate (X in the first elements of a fix point A picture, Y), the controller of main frame is by the coordinate (X of A point, Y) turn and coordinate figure PA1 change after, obtain the coordinate PA of Glue dripping head at the first elements of a fix point A point.
In this embodiment, location technology refers in database finds specific objective image, (i.e. image template) data needing coupling are had in the memory module of known vision locating module 302, and this searched image has identical size, direction and pattern with elementary area, find the position of elementary area in searched image (i.e. image template) by matching algorithm.Refer to Fig. 2 and Fig. 3, Fig. 2 is searched figure S(in database and image template), Fig. 3 is Prototype drawing T(and elementary area).The width of S is W, and height is H; T is the width of elementary area figure, T is n, and height is m., the principle of matching algorithm is as follows:
Elementary area T overlays translation on searched figure S, and the region that elementary area T covers searched figure is called subgraph Sji, and (j, i) is the coordinate of the subgraph upper left corner in searched figure.Following algorithmic formula is followed in hunting zone:
1≤j≤W-n;
1≤i≤H-m
Algorithm is by comparing the similarity of Sji and T, complete matching process, matching process is completed by Data Matching module, concrete matching process is as follows: elementary area T is a mobile pixel in searched figure, new position is compared the similarity c1 of subgraph Sji and T and records coordinate (j, i) herein; Elementary area T moves to next location of pixels again, more herein subgraph Sji and T similarity c2 and record the coordinate (j, i) at this place; Repeat step 2, until j=W-n, i=H-m.
From all similarities, find out the coordinate (j, i) that maximal value is corresponding, namely think that this position is the optimum position of elementary area T in searched figure S.
The acquisition process of second point position coordinate figure PB and the 3rd elements of a fix value PC, with the acquisition process of the first elements of a fix value PA, repeats no more herein.
After user obtains the coordinate points by positioning image, the more manual numerical value inputted by total line number of positioning image and total columns, the controller of main frame automatically can calculate and generate by the image information of positioning image.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. an embedded vision positioning system, it is characterized in that, described system comprises control device, embedded OS and visual performance module, wherein, described control device is for obtaining by the essential information of positioning image, the running environment of described embedded OS is provided, and communicates to connect with described visual performance module; Described embedded OS for providing the running environment of described visual performance module, and communicates to connect with described control device; Described visual performance module is used for realizing being carried out image calibration by positioning image and vision is located; Described control device comprises: main frame, display device, input equipment, image capture device, wherein: described main frame is arithmetic core and the control core of described system, for the data in interpre(ta)tive system instruction and handling procedure; Described display device is used for display application program interface and relevant result; Described input equipment is used for running program interface and input numerical value; Described image capture device is for gathering image information; Described display device is display screen, described image capture device is industrial camera, described input equipment is resistive touch screen or capacitive touch screen, described display device, described input equipment all connect described main frame, and described image capture device is communicated to connect by USB connecting line and described main frame; Described visual performance module comprises vision alignment module, vision locating module and vision measurement module, and wherein, described vision alignment module is used for carrying out pixel alignment and mechanically calibrated to described system; Described vision locating module is for obtaining by the vision elements of a fix of positioning image; Described vision measurement module gathers the geometry numerical value of image for measuring described image capture device; Described vision alignment module comprises pixel alignment module and mechanically calibrated module, and wherein, described pixel alignment module is for calibrating by the position relationship between the pixel of positioning image and actual range; Described mechanically calibrated module for calibrate plant equipment with by the mechanical location of positioning image.
2. embedded vision positioning system as claimed in claim 1, it is characterized in that, described vision locating module comprises memory module and Data Matching module, and wherein, described memory module is used for storage figure as Template Information; Described Data Matching module is used for determining by the elements of a fix value of positioning image.
3. embedded vision positioning system as claimed in claim 2, it is characterized in that, described embedded OS is built-in Linux operating system.
CN201210264766.1A 2012-07-30 2012-07-30 Embedded vision positioning system Active CN102798382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210264766.1A CN102798382B (en) 2012-07-30 2012-07-30 Embedded vision positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210264766.1A CN102798382B (en) 2012-07-30 2012-07-30 Embedded vision positioning system

Publications (2)

Publication Number Publication Date
CN102798382A CN102798382A (en) 2012-11-28
CN102798382B true CN102798382B (en) 2015-12-02

Family

ID=47197583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210264766.1A Active CN102798382B (en) 2012-07-30 2012-07-30 Embedded vision positioning system

Country Status (1)

Country Link
CN (1) CN102798382B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105413956A (en) * 2015-12-29 2016-03-23 武汉巨正环保科技有限公司 Automatic dispensing system for production of MEMS gas sensor and production method thereof
CN112525075B (en) * 2020-12-12 2022-09-09 深圳市轴心自控技术有限公司 Dispensing precision test system for dispensing equipment
CN115388778B (en) * 2022-10-28 2023-01-20 深圳市元硕自动化科技有限公司 Computer screen quality control device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005130912A (en) * 2003-10-28 2005-05-26 Konica Minolta Medical & Graphic Inc Image display device and program
CN101074965A (en) * 2007-06-26 2007-11-21 南京航空航天大学 Method and apparatus for measuring rotation speed based on image discriminating position
US20100241992A1 (en) * 2009-03-21 2010-09-23 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and method for operating menu items of the electronic device
CN201594886U (en) * 2010-02-04 2010-09-29 南京航空航天大学 Assistant driving device based on image sensor
JP2010237193A (en) * 2009-03-12 2010-10-21 Omron Corp Calibration apparatus and method for assisting accuracy confirmation of parameter for three-dimensional measurement
CN102436327A (en) * 2011-10-17 2012-05-02 东莞华中科技大学制造工程研究院 Screen input system and implementation method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005130912A (en) * 2003-10-28 2005-05-26 Konica Minolta Medical & Graphic Inc Image display device and program
CN101074965A (en) * 2007-06-26 2007-11-21 南京航空航天大学 Method and apparatus for measuring rotation speed based on image discriminating position
JP2010237193A (en) * 2009-03-12 2010-10-21 Omron Corp Calibration apparatus and method for assisting accuracy confirmation of parameter for three-dimensional measurement
US20100241992A1 (en) * 2009-03-21 2010-09-23 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and method for operating menu items of the electronic device
CN201594886U (en) * 2010-02-04 2010-09-29 南京航空航天大学 Assistant driving device based on image sensor
CN102436327A (en) * 2011-10-17 2012-05-02 东莞华中科技大学制造工程研究院 Screen input system and implementation method thereof

Also Published As

Publication number Publication date
CN102798382A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
Wasenmüller et al. Comparison of kinect v1 and v2 depth images in terms of accuracy and precision
CA2521418C (en) Auto-aligning touch system and method
CN102147281B (en) Machine-vision based liquid level detection device and method
EP2960867A1 (en) Display device, display method, display program, and position-setting system
CN103235661A (en) Positioning clicking device and method and touch display screen calibration system and method
US11568549B2 (en) Method and system for detecting peripheral device displacement
EP2089791B1 (en) Interactive input system and method
CN103838437A (en) Touch positioning control method based on projection image
CN102749064B (en) A kind of method and device thereof measuring the backboard flatness of liquid crystal indicator
CN202008382U (en) Liquid level detector based on machine vision
CN102508578A (en) Projection positioning device and method as well as interaction system and method
CN102798382B (en) Embedded vision positioning system
CN103176606B (en) Based on plane interaction system and the method for binocular vision identification
CN104034259B (en) A kind of image measurer bearing calibration
CN102339169B (en) Method for calibrating large-sized multipoint touch system
CN103487692A (en) Quality detecting method of touch screen
CN112306305B (en) Three-dimensional touch device
CN103529999A (en) Touch screen detecting method
CN111380668B (en) Precision detection system and precision detection method of depth camera
CN103308286B (en) Method for detecting parameters of lenticular grating for three-dimensional printing
CN109945837B (en) Virtual mapping equipment based on computer vision
TWI464612B (en) The tolerance detection system and method of cad
CN216927587U (en) Three-dimensional touch device
US8624929B2 (en) System for transforming and displaying coordinate datum
Wang et al. An eye gaze-aided virtual tape measure for smart construction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 518000 Guangdong Province, Shenzhen city Longhua District Guanlan Street No. 334 Silicon Valley Guangxi Yuelu power automobile electronic business park building A14

Patentee after: Shenzhen Axxon Automation Co., Ltd.

Address before: 518040 Shenzhen, Shenzhen, Guangdong, Futian District Che Kung Temple Tianan Digital City Tianji building CD 3C

Patentee before: Shenzhen Axxon Automation Co., Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 building 101, 201 and A14, building A15, silicon valley power automotive electronics Pioneer Park, 334 Guiyue Road, Dafu community, Guanlan street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN AXXON AUTOMATION Co.,Ltd.

Address before: 518000 building A14, silicon valley power automotive electronics Pioneer Park, 334 Guiyue Road, Guanlan street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN AXXON AUTOMATION Co.,Ltd.

CP02 Change in the address of a patent holder