CN106469457A - A kind of method repairing touch-control system contact mistake track - Google Patents
A kind of method repairing touch-control system contact mistake track Download PDFInfo
- Publication number
- CN106469457A CN106469457A CN201610842069.8A CN201610842069A CN106469457A CN 106469457 A CN106469457 A CN 106469457A CN 201610842069 A CN201610842069 A CN 201610842069A CN 106469457 A CN106469457 A CN 106469457A
- Authority
- CN
- China
- Prior art keywords
- coordinate
- control system
- frame
- main frame
- image
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30241—Trajectory
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of method repairing touch-control system contact mistake track, mainly comprise the following steps:Contact in video camera photographed screen coordinate and coordinate in the current frame in previous frame image, it is transferred to main frame, main frame detects to the image transmitting, follow the tracks of, whether intersect to judge whether tracking result is correct according to track following line, then result of calculation is transferred to screen, show correct result, the present invention solves the tracking Problem-Error that prior art cannot fundamentally avoid being caused by distance, by analyzing the geometrical relationship of two kinds of movement locus, then design certain computerized algorithm with related geometrical principle, solve with other insoluble problems of method.
Description
Technical field
The present invention relates to motion tracking technology field, particularly a kind of method repairing touch-control system contact mistake track.
Background technology
With the development of computer technology and digital image processing techniques, the application of computer vision technique is rapid
Widen, target following has become the very active problem of computer vision field one.The automatic tracing control system of moving target
The purpose of realizing of system is to gather the sequence of video images of target with photographic head, and analyzes the fortune of target in real time by computer
Dynamic, obtain the kinematic parameter of target, control photographic head to point to target all the time in this, as Main Basiss.
Tracking technique depends on that adjusts the distance to judge that determination belongs to the trace point of certain concrete movement locus at present, but real
During border when hypotelorism or because frame rate problem, from Distance Judgment start with solution tracking problem can encounter unavoidably
The bottleneck of accuracy rate, be embodied in when belong to the point of another movement locus apart from this movement locus previous frame point closer to when
Wait, will occur to follow the tracks of mistake.
Content of the invention
In order to solve the above problems, the present invention proposes a kind of method repairing touch-control system contact mistake track.
The concrete scheme of the present invention is as follows:
A kind of method repairing touch-control system contact mistake track, described touch-control system includes screen 1, video camera 2 and master
Machine 3, video camera 2 is connected by data wire with main frame 3, and main frame 3 is connected by video line with screen 1, and step is as follows:
S1:Video camera 2 catches the image of two contacts previous frame on the screen 1 and two contacts of present frame, is transferred to
Described main frame 3, wherein, the coordinate of two contacts described in previous frame image is respectively A (x1, y1), and B (x2, y2), current
The coordinate of two contacts described in frame is respectively C (x3, y3), D (x4, y4);
S2:Described main frame 3 receives the image that described video camera 2 transmits, and image is carried out detecting, follows the tracks of, described previous frame
In image, contact A (x1, y1) contact coordinate in the current frame is C (x3, y3), contact B (x2, y2) in described previous frame image
Contact coordinate in the current frame is D (x4, y4);
S3:Described main frame 3, according to above-mentioned tracking result, judges whether the result followed the tracks of is correct, and the method for judgement is to connectWithIfWithNot intersecting, then tracking result does not have mistake, and coordinate A (x1, y1) coordinate in the current frame is C
(x3, y3), coordinate B (x2, y2) coordinate in the current frame is D (x4, y4);IfWithIntersecting, then tracking result mistake,
Coordinate A (x1, y1) coordinate reparation in the current frame is D (x4, y4), and coordinate B (x2, y2) coordinate reparation in the current frame is
Result of calculation is transferred to described screen (1) by C (x3, y3) simultaneously;
S4:Described screen 1 receives the tracking result that described main frame 3 transmits and shows.
Preferably, judge in described step S3WithIntersecting formula is
Preferably, judge in described step S3WithIntersecting formula is
Preferably, judge in described step S3WithIntersecting formula is
Preferably, judge in described step S3WithIntersecting formula is
The present invention compared with prior art, has the advantages that:
A kind of method repairing touch-control system contact mistake track proposed by the present invention, by being analyzed to arithmetic result
And intelligent Matching is realized in inside, solve the tracking Problem-Error that prior art cannot fundamentally avoid being caused by distance, lead to
Cross the geometrical relationship of two kinds of movement locus of analysis, then with the computerized algorithm that related geometrical principle design is certain, solve use
The insoluble problem of other method.
Brief description
Fig. 1 is a kind of concrete steps flow chart of the method for reparation touch-control system contact mistake track of the present invention;
Fig. 2 is the schematic diagram of the touch-control system of the present invention;
Fig. 3 is a kind of schematic diagram of the first embodiment of method repairing touch-control system contact mistake track of the present invention;
Fig. 4 is a kind of schematic diagram of the second embodiment of method repairing touch-control system contact mistake track of the present invention;
Fig. 5 is a kind of schematic diagram of the third embodiment of method repairing touch-control system contact mistake track of the present invention;
Fig. 6 is a kind of schematic diagram of the 4th kind of embodiment of method repairing touch-control system contact mistake track of the present invention;
Fig. 7 is a kind of schematic diagram of the 5th kind of embodiment of method repairing touch-control system contact mistake track of the present invention;
Fig. 8 is a kind of schematic diagram of the 6th kind of embodiment of method repairing touch-control system contact mistake track of the present invention.
Specific embodiment
Further describe technical scheme below in conjunction with specific embodiment.It should be appreciated that being described herein as
Specific embodiment only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is a kind of concrete steps flow chart of the method for reparation touch-control system contact mistake track of the present invention;Fig. 2 is
The schematic diagram of the touch-control system of the present invention.As depicted in figs. 1 and 2, video camera 2 is connected by data wire with main frame 3, main frame 3 with
Screen 1 is connected by video line.Video camera 2 catches the image on screen 1, is transferred to main frame 3, main frame 3 transmits to video camera 2
Image is calculated, and result of calculation is transferred to screen 1 shows.
Coordinate A (x1, the y1) in previous frame image of two contacts in video camera 2 photographed screen 1, B (x2, y2) and work as
Coordinate C (x3, y3) in previous frame, D (x4, y4), are transferred to main frame 3, and main frame 3 receives the image that video camera 2 transmits, and image is entered
Row detection, tracking, in previous frame image, contact A (x1, y1) contact coordinate in the current frame is C (x3, y3), previous frame image
Middle contact B (x2, y2) contact coordinate in the current frame is D (x4, y4).Main frame (3), according to above-mentioned tracking result, judges to follow the tracks of
Result whether correct, concrete grammar is:As shown in figure 3, two rectangles are done for diagonal with AC and BD, if two rectangles do not have
Occur simultaneously, explanationWithNot intersecting, track following result does not have mistake, and coordinate A (x1, y1) coordinate in the current frame is C
(x3, y3), coordinate B (x2, y2) coordinate in the current frame is D (x4, y4);If as shown in figure 4, two rectangles have part phase
Hand over, butWithNot intersecting, illustrate that track following result does not have mistake, coordinate A (x1, y1) coordinate in the current frame is C
(x3, y3), coordinate B (x2, y2) coordinate in the current frame is D (x4, y4);As shown in figure 5, two rectangles have partly intersecting,
AndWithIntersecting, that is, meet formulaOr
Track following result mistake is described, coordinate A (x1, y1) coordinate reparation in the current frame is D (x4, y4), coordinate B (x2, y2)
Coordinate reparation in the current frame is C (x3, y3);If vectorialMeet the position relationship shown in Fig. 6, that is, meet public
FormulaTrack following result mistake is described, coordinate A (x1, y1) is in the current frame
Coordinate reparation is D (x4, y4), and coordinate B (x2, y2) coordinate reparation in the current frame is C (x3, y3);If 3 points of A, C, B is altogether
Line, meets the position relationship shown in Fig. 7, that is, meet formulaTrack following result mistake is described, coordinate A (x1,
Y1) coordinate reparation in the current frame is D (x4, y4), and coordinate B (x2, y2) coordinate reparation in the current frame is C (x3, y3),
In the same manner, any three point on a straight line, all illustrates track following result mistake;If as shown in figure 8, A, C, D three point on a straight line, with AC and CD being
Hypotenuse, is two right angled triangle Rt △ ACE and Rt △ CDF respectively, and this two right angled triangles meet formulaTherefore, ifSet up, track following result mistake is described, coordinate A (x1, y1) exists
Coordinate reparation in present frame is D (x4, y4), and coordinate B (x2, y2) coordinate reparation in the current frame is C (x3, y3), simultaneously
Result of calculation is transferred to screen 1 by main frame 3, shows correct tracking result.
It is the embodiment of two contacts above, the invention is not restricted to two contacts, can shoot more than or equal to two simultaneously
The movement locus of contact.
If contact number is more than two, principle is similar with above-mentioned, is also to select to mate two-by-two, and then judges track following
Result has inerrancy.
In sum, a kind of method repairing touch-control system contact mistake track proposed by the present invention, by tying to algorithm
Fruit is analyzed and intelligent Matching is realized in inside, solves prior art and cannot fundamentally avoid the tracking being caused by distance wrong
Problem by mistake, by analyzing the geometrical relationship of two kinds of movement locus, then with the computerized algorithm that related geometrical principle design is certain,
Solve with other insoluble problems of method.
Above embodiment is the preferred embodiment of the present invention, not thereby limits the patent protection model of the present invention
Enclose.Those skilled in the art belonging to any present invention, in the premise without departing from spirit and scope disclosed in this invention
Under, equivalent structure and the conversion of equivalent step that present disclosure is done each fall within claimed the scope of the claims
Within.
Claims (5)
1. a kind of repair touch-control system contact mistake track method, described touch-control system include screen (1), video camera (2) and
Main frame (3), video camera (2) is connected by data wire with main frame (3), and main frame (3) is connected by video line with screen (1), and it is special
Levy and be, step is as follows:
S1:Video camera (2) catches the image of previous frame on screen (1) for two contacts and two contacts of present frame, is transferred to
Described main frame (3), wherein, the coordinate of two contacts described in previous frame image is respectively A (x1, y1), B (x2, y2), is working as
The coordinate of two contacts described in previous frame is respectively C (x3, y3), D (x4, y4);
S2:Described main frame (3) receives the image that described video camera (2) transmits, and image is carried out detecting, follows the tracks of, described previous frame
In image, contact A (x1, y1) contact coordinate in the current frame is C (x3, y3), contact B (x2, y2) in described previous frame image
Contact coordinate in the current frame is D (x4, y4);
S3:Described main frame (3), according to above-mentioned tracking result, judges whether the result followed the tracks of is correct, and the method for judgement is to connect
WithIfWithNot intersecting, then tracking result does not have mistake, coordinate A (x1, y1) coordinate in the current frame be C (x3,
Y3), coordinate B (x2, y2) coordinate in the current frame is D (x4, y4);IfWithIntersecting, then tracking result mistake, coordinate A
(x1, y1) coordinate reparation in the current frame be D (x4, y4), coordinate B (x2, y2) coordinate reparation in the current frame be C (x3,
Y3), result of calculation is transferred to described screen (1) simultaneously;
S4:Described screen (1) receives the tracking result that described main frame (3) transmits and shows.
2. a kind of method repairing touch-control system contact mistake track according to claim 1 is it is characterised in that described step
Judge in rapid S3WithIntersecting formula is
3. a kind of method repairing touch-control system contact mistake track according to claim 1 is it is characterised in that described step
Judge in rapid S3WithIntersecting formula is
4. a kind of method repairing touch-control system contact mistake track according to claim 1 is it is characterised in that described step
Judge in rapid S3WithIntersecting formula is
5. a kind of method repairing touch-control system contact mistake track according to claim 1 is it is characterised in that described step
Judge in rapid S3WithIntersecting formula is
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842069.8A CN106469457B (en) | 2016-09-22 | 2016-09-22 | A method of repairing touch-control system contact mistake track |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842069.8A CN106469457B (en) | 2016-09-22 | 2016-09-22 | A method of repairing touch-control system contact mistake track |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106469457A true CN106469457A (en) | 2017-03-01 |
CN106469457B CN106469457B (en) | 2019-02-19 |
Family
ID=58230241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610842069.8A Active CN106469457B (en) | 2016-09-22 | 2016-09-22 | A method of repairing touch-control system contact mistake track |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106469457B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101384317A (en) * | 2006-02-15 | 2009-03-11 | 科乐美数码娱乐株式会社 | Trace information processing device, trace information processing method, information recording method, and program |
CN102073405A (en) * | 2010-11-30 | 2011-05-25 | 广东威创视讯科技股份有限公司 | Image zooming and rotating judgment method |
CN102542265A (en) * | 2011-12-26 | 2012-07-04 | 广东威创视讯科技股份有限公司 | Multi-touch eraser identification method based on camera positioning and device therefor |
CN103164022A (en) * | 2011-12-16 | 2013-06-19 | 国际商业机器公司 | Multi-finger touch method, device and portable type terminal device |
CN103593131A (en) * | 2012-08-15 | 2014-02-19 | 北京汇冠新技术股份有限公司 | Touch track tracking method |
CN105378611A (en) * | 2013-07-12 | 2016-03-02 | 触觉实验室股份有限公司 | Fast multi-touch post processing |
-
2016
- 2016-09-22 CN CN201610842069.8A patent/CN106469457B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101384317A (en) * | 2006-02-15 | 2009-03-11 | 科乐美数码娱乐株式会社 | Trace information processing device, trace information processing method, information recording method, and program |
CN102073405A (en) * | 2010-11-30 | 2011-05-25 | 广东威创视讯科技股份有限公司 | Image zooming and rotating judgment method |
CN103164022A (en) * | 2011-12-16 | 2013-06-19 | 国际商业机器公司 | Multi-finger touch method, device and portable type terminal device |
CN102542265A (en) * | 2011-12-26 | 2012-07-04 | 广东威创视讯科技股份有限公司 | Multi-touch eraser identification method based on camera positioning and device therefor |
CN103593131A (en) * | 2012-08-15 | 2014-02-19 | 北京汇冠新技术股份有限公司 | Touch track tracking method |
CN105378611A (en) * | 2013-07-12 | 2016-03-02 | 触觉实验室股份有限公司 | Fast multi-touch post processing |
Also Published As
Publication number | Publication date |
---|---|
CN106469457B (en) | 2019-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760826B (en) | Face tracking method and device and intelligent terminal | |
CN108960067B (en) | Real-time train driver action recognition system and method based on deep learning | |
CN109345593B (en) | Camera posture detection method and device | |
CN106845383A (en) | People's head inspecting method and device | |
CN107798330A (en) | A kind of weld image characteristics information extraction method | |
TW201800975A (en) | Human hand detection tracking method and device | |
CN103810718B (en) | A kind of strenuous exercise's object detection method and device | |
CN102930559B (en) | The method of image procossing and device | |
US20200250839A1 (en) | Moving body detecting device, moving body detecting method, and moving body detecting program | |
CN104766330B (en) | A kind of image processing method and electronic equipment | |
WO2022091577A1 (en) | Information processing device and information processing method | |
CN114037087B (en) | Model training method and device, depth prediction method and device, equipment and medium | |
CN113127349B (en) | Software testing method and system | |
CN103949054A (en) | Infrared light gun positioning method and system | |
Chen et al. | Efficient and lightweight grape and picking point synchronous detection model based on key point detection | |
CN109377518A (en) | Target tracking method, device, target tracking equipment and storage medium | |
CN106469457A (en) | A kind of method repairing touch-control system contact mistake track | |
CN106097281B (en) | A kind of calibration maps and its calibration detection method for projecting interactive system | |
TWI520110B (en) | 3d visual detection system and method for determining if an object enters a zone on demand | |
CN106547398B (en) | A method of repairing touch-control system contact track mistake | |
CN106648171A (en) | Interactive system and method based on writing pens | |
CN106354333A (en) | Method for improving tracking accuracy of touch system | |
CN109977740B (en) | Depth map-based hand tracking method | |
JP2007287093A (en) | Program, method and device for detecting mobile object | |
CN106504272B (en) | A method of repairing touch-control system contact track mistake |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |