CN102364419B - Camera type touch control method and system thereof - Google Patents
Camera type touch control method and system thereof Download PDFInfo
- Publication number
- CN102364419B CN102364419B CN201110300848.2A CN201110300848A CN102364419B CN 102364419 B CN102364419 B CN 102364419B CN 201110300848 A CN201110300848 A CN 201110300848A CN 102364419 B CN102364419 B CN 102364419B
- Authority
- CN
- China
- Prior art keywords
- touch point
- hot spot
- candidate touch
- delta
- shaped region
- 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.)
- Expired - Fee Related
Links
Landscapes
- Position Input By Displaying (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a camera type touch control method and a system thereof. The area of a triangular region surrounded by intersecting central axes of three light spots selected at each time is calculated through the light spots taken by each camera device and is compared with a first preset value. When a touch point is shielded, the area of the triangular region corresponding to the touch point is relatively large, so that the shielded touch point can be judged. The light spots corresponding to the shielded touch point are equally divided into two sub light spots one by one, and the area of the triangular region corresponding to the shielded touch point is calculated by using each sub light spot. If the area of the triangular region does not exceed the first preset value, the positioning of the shielded touch point is quite accurate, and the center of the triangular region is used as the position coordinates of the shielded touch point. Therefore, the shielded touch point can be accurately positioned under the condition that the touch point is shielded, the positioning accuracy is increased, and the positioning track is smoother.
Description
Technical field
The present invention relates to touch control technical field, especially relate to a kind of photographing type touch control method, and a kind of camera type touch control system.
Background technology
Touch control technology is as a kind of novel computer input technology, make man-machine interaction more directly perceived, due to bringing great convenience property of user, except being applied to portable personal information products, application has spreaded all over the every field such as information household appliances, public information, electronic game, business automation equipment.
Common touch control technology comprises capacitance touch technology, resistive touch technology, infrared touch technology or camera type touch technology etc., wherein to have use equipment simple for camera type touch technology, the advantage such as easy for installation, becomes one of touch control technology more and more part and parcel.Especially be applied to the touch control technology of large scale display device.The touch control technology of large-sized display devices is different from the touch control technology of small-size display equipment.Small-size display equipment, as iPhone, iPAD, Galaxy Tab etc., because size is less, it is very good that the technological effect of capacitive touch screen can be accomplished, ripe surface capacitance technology can be realized multi-touch function effectively; But also, just because of the restriction of technique, surface capacitance multiple point touching technology cannot extend to large-sized display devices effectively.Yet there is larger demand in market for the touch control of large-sized display devices, especially in fields such as meeting, education.Camera type touch technology based on optics has structure and Installation and Debugging are simple, and cost is low, touches the advantages such as size is unrestricted, has huge potential market.
The equipment of a kind of camera type touch technology of prior art as shown in Figure 1, principle of work as shown in Figure 2: at least three camera heads of diverse location setting of the touch control edges of regions of display device, described touch control region is taken; Set up coordinate system, the hot spot that touch point forms in the photographic images of each camera head when having touch point as shown in Figure 3, the determined straight line of the position coordinates of described spot center and described camera head is made as to the axis of described hot spot, the axis intersection point of the described hot spot that three described camera heads are taken, be the coordinate of touch point, by can be calculated the coordinate of described touch point, thereby touch point is positioned.
But, in the application of above-mentioned camera type touch control technology, in the image that certain camera head is taken, when a touch point is blocked by another touch point, the hot spot that the hot spot (light spot or half-light spot) forming in image due to the touch point of blocking forms in image than the touch point being blocked is large, therefore the hot spot forming in image with the touch point of blocking positions the touch point being blocked, and will make the location of the touch point that is blocked inaccurate.There is touch point and block in the camera in the middle of may being, as Fig. 4, shown in Fig. 5, may be also that the camera on both sides is blocked, as Fig. 6, shown in Fig. 7.
The restriction that block mutually touch point owing to being subject to multiple point touching, optical lens cannot obtain the accurate location of real touch point in the visual field, causes the location on screen, the touch point that is blocked inaccurate.
Summary of the invention
The object of the present invention is to provide and a kind ofly can carry out more pinpoint photographing type touch control method to the touch point being blocked.
A photographing type touch control method, comprising:
S101, obtains respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
S102, the number of spots in the image of taking according to camera head described in each, the camera head that judgement is blocked;
S103, chooses a hot spot the image of taking respectively from each camera head, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
S104, by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point; If be less than described the first preset value, using the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of described true touch point, finish the processing to described candidate touch point; Otherwise, store described candidate touch point, execution step S105;
S105, the described candidate touch point of a storage of extraction, performs step S106 to S109 to the hot spot of being taken by the camera head being blocked in described candidate touch point;
S106, take axis by hot spot and as boundary, is divided into two sub-hot spots;
S107, combines sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
S108, area and the described first preset value comparison of the delta-shaped region that described candidate touch point that various combinations are calculated is corresponding; If be less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point, otherwise, execution step S109;
S109, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, to judge that whether the number of times that corresponding hot spot is divided to number of times is over predetermined number of iterations, if, finish the processing to described candidate touch point, and return to step S105, extract another candidate touch point and process; Otherwise, described sub-hot spot is performed step to S106 to step S108;
If judgement does not continue corresponding sub-hot spot to divide processing, finish the processing to described candidate touch point.
Compared with prior art, in photographing type touch control method of the present invention, the image of taking from each camera head, choose a hot spot, be combined into candidate touch point, the delta-shaped region area surround is intersected in the axis of calculating three described hot spots corresponding to a candidate touch point, and with described the first preset value comparison.When block touch point, correspondence is blocked the delta-shaped region area of touch point can be larger, therefore can judge the touch point that is blocked.Then by the hot spot that the camera head that is blocked corresponding to described candidate touch point taken, be successively divided into two sub-hot spots, with delta-shaped region area corresponding to calculated candidate touch point again of sub-hot spot described in each, if delta-shaped region area corresponding to described candidate touch point calculating according to described sub-hot spot is less than described the first preset value, it is more accurate to show the contrast locating of the described touch point that is blocked, using the center of described delta-shaped region as the position coordinates of the true touch point being blocked, therefore, the in the situation that of can blocking in generation touch point, the touch point being blocked is located more accurately, improve positioning precision, make positioning track more level and smooth.
The present invention also aims to provide a kind of and can carry out more pinpoint camera type touch control system to the touch point being blocked.
A camera type touch positioning system, comprising:
Image collection module, for obtaining respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
The first judge module, for according to the number of spots of the image of camera head shooting described in each, judges the camera head being blocked;
The first computing module, chooses a hot spot for the image of taking from each camera head respectively, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
The first comparison module, for by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point;
The first locating module, for at the comparative result of described the first comparison module when being less than described the first preset value, using the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of described true touch point, finish the processing to described candidate touch point;
Storage module, when being not less than described the first preset value, stores described candidate touch point for the comparative result at described the first comparison module;
The first control module, for extracting the described candidate touch point of a storage, delivers in decile processing module and processes the hot spot of being taken by the camera head being blocked in described candidate touch point;
Decile processing module, is divided into two sub-hot spots for hot spot being take to axis as boundary;
The second computing module, for sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing are combined, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
The second comparison module, for area and the described first preset value comparison of delta-shaped region corresponding to described candidate touch point that various combinations are calculated;
The second locating module, for the comparative result at described the second comparison module when being less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point;
The second control module, for at the comparative result of described the second comparison module when being not less than described the first preset value, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, to judge that whether the number of times that corresponding hot spot is divided to number of times is over predetermined number of iterations, if, finish the processing to described candidate touch point, described the first control module is extracted another candidate touch point and is processed; Otherwise, described sub-hot spot is delivered in described decile processing module and is processed; If judgement does not continue corresponding sub-hot spot to divide processing, finish the processing to described candidate touch point.
Compared with prior art, in camera type touch control system of the present invention, the image that described the first computing module is taken from each camera head, choose a hot spot, be combined into candidate touch point, the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to a candidate touch point, and described the first comparison module is by described delta-shaped region area and described the first preset value comparison.When block touch point, correspondence is blocked the delta-shaped region area of touch point can be larger, therefore can judge the touch point that is blocked.Then by described the first control module and described the second control module, control the hot spot that described decile processing module takes the camera head that is blocked corresponding to described candidate touch point and be successively divided into two sub-hot spots, described the second computing module is again with delta-shaped region area corresponding to calculated candidate touch point again of sub-hot spot described in each, if delta-shaped region area corresponding to described candidate touch point calculating according to described sub-hot spot is less than described the first preset value, it is more accurate to show the contrast locating of the described touch point that is blocked, described the second locating module is usingd the center of described delta-shaped region as the position coordinates of the true touch point being blocked, therefore, the in the situation that of can blocking in generation touch point, the touch point being blocked is located more accurately, improve positioning precision, make positioning track more level and smooth.
Accompanying drawing explanation
Fig. 1 is a kind of device structure schematic diagram of existing camera type touch technology;
Fig. 2 is the principle of work schematic diagram of the camera type touch technology shown in Fig. 1;
Fig. 3 is the image schematic diagram that in existing camera type touch technology, camera head is taken;
Fig. 4 is the schematic diagram that in existing camera type touch technology, block touch point;
Fig. 5 is the schematic diagram of the image of each camera head shooting shown in Fig. 4;
Fig. 6 is that in existing camera type touch technology, the schematic diagram of another kind of situation is blocked in touch point;
Fig. 7 is the schematic diagram of the image of each camera head shooting shown in Fig. 6;
Fig. 8 is the process flow diagram of photographing type touch control method of the present invention;
Fig. 9 arranges the schematic diagram of three camera heads in touch control edges of regions in the present invention;
Figure 10 is the principle schematic of photographing type touch control method of the present invention;
Figure 11 is the schematic diagram of the image of each camera head shooting shown in Figure 10;
Figure 12 is the structural representation of camera type touch control system of the present invention.
Embodiment
Refer to Fig. 8, Fig. 8 is the process flow diagram of photographing type touch control method of the present invention.The first half flow process of described photographing type touch control method is as shown in Fig. 8 (A), and the latter half flow process of described photographing type touch control method is as shown in Fig. 8 (B).
Described photographing type touch control method comprises the following steps:
S101, obtains respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
Wherein, described touch control region is user's touch control to be taken to the region of location, is preferably the region of the positive top of described display device.Touch operation in described touch control region will be detected, and as the information of touch control, processes.
Described in each, camera head is preferably taken visual angle and is all comprised whole described touch control region, guarantees that each camera head can both photograph the image in the touch control region of complete described display device.Described in each, the shooting axle preferred parallel of camera head is in the plane of described camera head, from the side described touch control region is taken, when having touch point to appear at described touch control region, photograph equally from the side the image that described touch point appears at described touch control region.
The setting position of described three camera heads can be set on each position of described touch control edges of regions according to those skilled in the art's needs, those skilled in the art only need to obtain the position coordinates of described three camera heads and the relative position of described display device, just can calculate by computing the position relationship in the photographic images of each camera head and the touch control region of described display device, thereby the touch point occurring in described touch control region is positioned.
And as preferred embodiment a kind of, three described camera heads are separately positioned on the two ends on described display device one side and the midpoint on described limit, and the shooting angle that is arranged on two described camera heads at described display device two ends is on one side 90 degree, and the shooting angle that is arranged on the camera head of described limit midpoint is 180 degree.Therefore can utilize three camera heads just whole described touch control region to be taken, and avoid touch point to appear at two situations between camera head.
The detection and location of touch point are calculated for convenience of description, illustrate below:
Refer to Fig. 9, the plane at display device 11 places, coordinate system, as true origin, is set up in any point of usining in the plane at display device 11 places.The touch control region of described display device 11 is the region onesize with the positive viewing area of described display device 11.As to take the first camera head A be true origin,, the coordinate of this first camera head A is (0,0), and the length of establishing one side 111 of this display device 11 is L, the coordinate of the second camera head B is (L, 0), the coordinate of the 3rd camera head C is (L/2,0), the coordinate of touch point O is unknown-value (x, y).From described the first camera head A, described the second camera head B and described the 3rd camera head C, obtain respectively the image that it is taken the touch control region of described display device 11 respectively.
S102, the number of spots in the image of taking according to camera head described in each, the camera head that judgement is blocked;
The possibility that each camera head is all blocked is little, therefore, quantity using the captured number of spots N of the maximum camera head of the number of spots of taking as actual touch point, if the number of spots that other camera heads are taken is no more than N, illustrates in the image that described camera head takes and have touch point to be blocked.
S103, chooses a hot spot the image of taking respectively from each camera head, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
The image of taking from each camera head, choose a hot spot, all select at every turn three respectively the hot spot of corresponding different camera heads combine calculating, calculate the axis of three described hot spots.In the ideal case, the axis intersection point of three corresponding hot spots of true touch point is overlapped into a point.And therefore in actual computation, because hot spot has certain width, can bring certain error, make 3 not overlapping.Take described three delta-shaped regions that intersection point is summit, be delta-shaped region corresponding to described candidate touch point.
By the shooting angle at center and the position coordinates of described camera head of described hot spot, can go out the positional information of described axis by calculative determination, thereby calculate the area of delta-shaped region corresponding to candidate touch point described in each, be made as S
0.
S104, by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point; If be less than described the first preset value, using the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of described true touch point; Otherwise, store described candidate touch point;
The large I of described the first preset value determines according to actual accuracy, and described the first preset value is less, and degree of accuracy is higher, also higher to blocking the difficulty of location of touch point, therefore should set suitable numerical value for described the first preset value.Suppose that described the first preset value is S
i.
Work as S
0<S
itime, show S
0the positioning precision of described candidate touch point has met pre-provisioning request, judges the corresponding true touch point in described candidate touch point, and will directly according to delta-shaped region corresponding to described candidate touch point, calculate the coordinate of true touch point.Using the coordinate at center of described delta-shaped region as the coordinate of described true touch point, described center can be center of gravity, barycenter or the geometric center etc. of described delta-shaped region.
Work as S
0>=S
itime, show S
0the positioning precision of described candidate touch point is lower than threshold value, and now the area of delta-shaped region corresponding to described candidate touch point is excessive, cannot accurately to candidate touch point, locate.Store described candidate touch point, to it is carried out to more accurate sectioning search localization process
S105, the described candidate touch point of a storage of extraction, performs step S106 to S109 to the hot spot of being taken by the camera head being blocked in described candidate touch point.
S106, take axis by hot spot and as boundary, is divided into two sub-hot spots;
In this step, according to the width of described hot spot, described hot spot be take to described axis and as boundary, be divided into two sub-hot spots that width equates.
S107, combines sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
Divide afterwards according to the width of described sub-hot spot, the information such as the position, axis of former hot spot, can calculate the position, axis of sub-hot spot described in each, based on this, again calculate the area of delta-shaped region corresponding to candidate touch point described in every kind of combination of other hot spots that each sub-hot spot is corresponding with described candidate touch point.
S108, area and the described first preset value comparison of the delta-shaped region that described candidate touch point that various combinations are calculated is corresponding; If be less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point, otherwise, execution step S109;
According to the dividing mode of described sub-hot spot, after again calculating the area of delta-shaped region corresponding to candidate touch point described in every kind of combination, then with described the first preset value comparison, suppose that the area of the delta-shaped region that described candidate touch point is now corresponding is S
x.
If S
x≤ S
i, show that the positioning precision of described candidate touch point has met pre-provisioning request, the coordinate using the centre coordinate of the described delta-shaped region of area minimum as true touch point.
If S
x> S
itime, show that the positioning precision of described candidate touch point is lower than critical value, now also cannot, to described candidate touch point precision location, therefore perform step S119
S109, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, described sub-hot spot to be performed step to S106 to step S108, again described sub-hot spot is divided into after less sub-hot spot, again compute location; Otherwise, finish the processing to described candidate touch point.
Compared with prior art, in photographing type touch control method of the present invention, the image of taking from each camera head, choose a hot spot, be combined into candidate touch point, the delta-shaped region area surround is intersected in the axis of calculating three described hot spots corresponding to a candidate touch point, and with described the first preset value comparison.When block touch point, correspondence is blocked the delta-shaped region area of touch point can be larger, therefore can judge the touch point that is blocked.Then by the hot spot that the camera head that is blocked corresponding to described candidate touch point taken, be successively divided into two sub-hot spots, with delta-shaped region area corresponding to calculated candidate touch point again of sub-hot spot described in each, if delta-shaped region area corresponding to described candidate touch point calculating according to described sub-hot spot is less than described the first preset value, it is more accurate to show the contrast locating of the described touch point that is blocked, using the center of described delta-shaped region as the position coordinates of the true touch point being blocked, therefore, the in the situation that of can blocking in generation touch point, the touch point being blocked is located more accurately, improve positioning precision, make positioning track more level and smooth.
As a kind of preferred implementation of photographing type touch control method of the present invention, the area of the delta-shaped region that the described candidate touch point of further various combinations being calculated in step S109 is corresponding respectively with the second preset value comparison;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the first preset value and is less than described the second preset value, corresponding described sub-hot spot is performed step to S106 to step S108;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the second preset value, sub-hot spot described in another is performed step to S106 to step S108;
If the area of the delta-shaped region that two described sub-hot spots are corresponding is all more than or equal to described the second preset value, finish the processing to described candidate touch point.
Preferably, while performing step S109 each time, get described the second preset value and be
Wherein, S
iit is the area of delta-shaped region corresponding to front described candidate touch point of calculating while once performing step S107.
That is, when described
time, to S
xcorresponding described sub-hot spot execution step S106 is to step S108; Continue dividing the be blocked coordinate of touch point of described sub-hot spot calculates.
When one of them sub-hot spot corresponding
time, sub-hot spot described in another is performed step to S106 to step S108.
S when two described sub-hot spots
xall be greater than
time, judgement finishes the processing to described candidate touch point.
By this step, the condition that can set the division of described sub-hot spot, the processing that can carry out between two sub-hot spots of division in the coming year according to described the second preset value is switched, and improves location efficiency.
As the another kind of preferred implementation of photographing type touch control method of the present invention, in step S109, judgement further comprises after continuing that corresponding sub-hot spot is divided to processing:
Whether the number of times that judgement is divided number of times to corresponding hot spot surpasses predetermined number of iterations, if so, finishes the processing to described candidate touch point, and return to step S105, extract another candidate touch point and process, otherwise, execution step S106 to S109.
In this step, set the multiplicity that the decile of hot spot described in each is divided, when surpassing described multiplicity, directly finish the processing to described candidate touch point, can improve location efficiency.Specifically can realize in the following manner:
Initialization multiplicity C=0, when each step S109, if judgement continues corresponding sub-hot spot to divide processing, makes the value of C add 1,, when the value of C surpasses described predetermined number of iterations, directly finishes the processing to described candidate touch point.In the present embodiment, described predetermined number of iterations can be set as 4.
Further, in step S109, finish after the processing of described candidate touch point, judge whether all candidate touch points to be processed, be to finish location, otherwise return to step S105, extract another candidate touch point and process.Thereby can automatically to all candidate touch points, search for successively processing, find out all touch points that is blocked.
After the candidate touch point to all carried out processing, finish finder.Using obtain each be judged as the coordinate of true touch point as the coordinate of actual touch point.
The flow process principle of photographing type touch control method of the present invention is described below in conjunction with object lesson:
Take two touch points as example, and there is the touch point that is blocked in middle camera, as shown in figure 10.Two touch points are P1, P2, and in camera head A, the C on left and right both sides, P1, P2 be correspondence hot spot separately respectively, and in middle camera head B, P1, hot spot that P2 becomes are overlapping, thus in the image of B, only there is a hot spot, as shown in figure 11.
In the position coordinates process of touch point, location, to get the axis of hot spot and calculate, the axis of general hot spot represents with length dotted line in Figure 10.
For touch point P1, intersect the axis of the corresponding hot spot of three optical pick-up apparatus, the area of definite delta-shaped region approximates 0, therefore, its value is less than described the first preset value, so can sentence, there is a true touch point herein, and take the position coordinates that the center of gravity calculation of this delta-shaped region is this touch point P1.
And because the hot spot number in camera head A, C is 2, in camera head B, hot spot number is 1, so can judge that camera head B exists eclipse phenomena, need to carry out reasoning search, find out the actual position of the touch point that is blocked.
Because in camera head B, the axis of hot spot is not through touch point P2, and P2 point has been blocked by P1 point, computing machine also do not know, so when calculating P2, the axis that is still P1 adopting.In camera head A, C, get another significant hot spot combination, and with camera head B in unique hot spot combination.
Article three, intersect between two axis, obtains three intersection points, and in Figure 10, intersection point is expressed as little Bai circle.Three intersection points form corresponding triangle S
0, pass through S
0with the first preset value comparison, can obtain the S of institute
0> S
i.
Because camera head B is blocked, so hot spot in camera head B is carried out to sectioning search, hot spot in camera head B is divided into for left and right sub-hot spot, the corresponding axis of described left and right sub-hot spot represents with fine dotted line in Figure 10.In this axis and corresponding left and right camera head A, C, intersect respectively between two the axis (length dotted line) of corresponding hot spot, surrounds two triangle S not of uniform size
1with S
2; By reference area, can draw,
if therefore need to search for next time, can the right sub-hot spot of first search.Again due to S
2<S
i, therefore can confirm at S
2there is a true touch point being blocked in place, and with S
2center of gravity as the position coordinates of this true touch point.And if
can, by right sub-hot spot decile again, then calculate next time.
Due to hot spot number in three camera heads maximum be two, and oriented two true touch points, so can finish finder, output two true touch point position coordinateses.
If hot spot numbers maximum in three cameras is inconsistent with the true touch point number of having determined position coordinates obtaining now, continue sequentially to choose different hot spot combinations and carry out same processing, until above-mentioned both numbers are consistent or all hot spot combinations were all carried out to processing.
The present invention can effectively solve in the camera type touch control technology of similar structures, and the situation of blocking appears in a plurality of touch points in a camera, and actual experiment effect is highly stable and efficient.The present invention is equally applicable to the situation that a plurality of points touch, and is not only limited to 2 touches, and illustrated embodiment does not produce any restriction effect to the present invention, is only a kind of example of the present invention is enumerated.
Refer to Figure 12, Figure 12 is the structural representation of camera type touch control system of the present invention.
Described camera type touch control system comprises:
Image collection module 101, for obtaining respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
The first judge module 102, for according to the number of spots of the image of camera head shooting described in each, judges the camera head being blocked;
The first computing module 103, chooses a hot spot for the image of taking from each camera head respectively, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
The first comparison module 104, for by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point;
The first locating module 105, when being less than described the first preset value, usings the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of described true touch point for the comparative result at described the first comparison module 104;
Storage module 106, when being not less than described the first preset value, stores described candidate touch point for the comparative result at described the first comparison module 104;
The first control module 107, for extracting the described candidate touch point of a storage, delivers in decile processing module 108 and processes the hot spot of being taken by the camera head being blocked in described candidate touch point;
Decile processing module 108, is divided into two sub-hot spots for hot spot being take to axis as boundary;
The second computing module 109, for sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing are combined, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
The second comparison module 110, for area and the described first preset value comparison of delta-shaped region corresponding to described candidate touch point that various combinations are calculated;
The second locating module 111, for the comparative result at described the second comparison module 110 when being less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point;
The second control module 112, for at the comparative result of described the second comparison module 110 when being not less than described the first preset value, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, described sub-hot spot to be delivered in described decile processing module and processed, otherwise, finish the processing to described candidate touch point.
Compared with prior art, in camera type touch control system of the present invention, the image that described the first computing module is taken from each camera head, choose a hot spot, be combined into candidate touch point, the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to a candidate touch point, and described the first comparison module is by described delta-shaped region area and described the first preset value comparison.When block touch point, correspondence is blocked the delta-shaped region area of touch point can be larger, therefore can judge the touch point that is blocked.Then by described the first control module and described the second control module, control the hot spot that described decile processing module takes the camera head that is blocked corresponding to described candidate touch point and be successively divided into two sub-hot spots, described the second computing module is again with delta-shaped region area corresponding to calculated candidate touch point again of sub-hot spot described in each, if delta-shaped region area corresponding to described candidate touch point calculating according to described sub-hot spot is less than described the first preset value, it is more accurate to show the contrast locating of the described touch point that is blocked, described the second locating module is usingd the center of described delta-shaped region as the position coordinates of the true touch point being blocked, therefore, the in the situation that of can blocking in generation touch point, the touch point being blocked is located more accurately, improve positioning precision, make positioning track more level and smooth.
As a kind of preferred implementation of camera type touch control system of the present invention, the area of the delta-shaped region that described candidate touch point that described the second control module 112 is further calculated various combinations is corresponding respectively with the second preset value comparison; If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the first preset value and is less than described the second preset value, corresponding described sub-hot spot is delivered to processing in described decile processing module 108; If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the second preset value, sub-hot spot described in another is delivered in described decile processing module 108 and processed; If the area of the delta-shaped region that two described sub-hot spots are corresponding is all more than or equal to described the second preset value, finish the processing to described candidate touch point.
Preferably, when described the second control module 112 compares at every turn, get described the second preset value and be
Wherein, S
iit is the area of delta-shaped region corresponding to the described candidate touch point of once calculating before described the second computing module.
That is, when described
time, 108 pairs of corresponding described sub-hot spots of described decile processing module carry out decile processing.
When one of them sub-hot spot corresponding
time, described decile processing module 108 is carried out decile processing to sub-hot spot described in another.S when two described sub-hot spots
xall be greater than
time, judgement finishes
Processing to described candidate touch point.
In the present embodiment, the condition that can set the division of described sub-hot spot, the processing that can carry out between two sub-hot spots of division in the coming year according to described the second preset value is switched, and improves location efficiency.
As the another kind of preferred implementation of camera type touch control system of the present invention,
After described the second control module 112 judgements continue that corresponding sub-hot spot is divided to processing, whether the number of times that further judgement is divided number of times to corresponding hot spot surpasses predetermined number of iterations, if so, finishes the processing to described candidate touch point; Otherwise, described sub-hot spot is delivered in described decile processing module and is processed.
In the present embodiment, set the multiplicity that the decile of hot spot described in each is divided, when surpassing described multiplicity, directly finish the processing to described candidate touch point, can improve location efficiency.Specifically can realize in the following manner:
Particularly, described the second control module 112 can initialization multiplicity C=0, after each judgement continues corresponding sub-hot spot to be divided to processing, makes the value of C add 1,, when the value of C surpasses described predetermined number of iterations, directly finish the processing to described candidate touch point.In the present embodiment, described predetermined number of iterations can be set as 4.
Further, described the second control module 112 finishes after the processing of described candidate touch point, described the first control module 107 judges whether all candidate touch points to be processed, and is to finish location, otherwise extract another candidate touch point, processes.Thereby can automatically to candidate touch point described in each, judge, find out all touch points that is blocked.
After judgement was all carried out in the hot spot combination to all, finish finder.Using obtain each be judged as the coordinate of true touch point as the coordinate of actual touch point.
The current camera type touch control technology based on optical imagery adopts three cameras to realize, also have and adopt four optical imaging apparatus, although use more camera head can solve to a certain extent the inaccurate problem in location of the touch point that is blocked, but cost price is higher, Processing Algorithm is more complicated, and can not deal with problems completely.And camera type touch control technology based on three optical imaging apparatus cannot solve the inaccurate problem in location of the touch point that is blocked at present at all, so when multiple spot is write, may there is a disconnected phenomenon due to the touch point that is blocked.
By photographing type touch control method of the present invention and system thereof, can process the disconnected problem in the situation of blocking mutually during multiple point touching in camera type touch control technology, especially blocking has been appearred in a camera head, and two other camera head does not occur that the situation of blocking has good treatment effect.
Compared with prior art, the present invention also has the following advantages:
1, self-adaptation is determined search level; Can after hot spot being divided to iteration, whether reach the condition that search finishes by automatic decision at every turn, and then avoid exhaustive search blindly, save computing time;
2, the first search of knowledge-based inference.Adopt the result of previous calculating, for priority ordering is carried out in current search, hot spot or the sub-hot spot of iteration are divided in selection next time automatically, have avoided average search, have improved location efficiency.
Measured result of the present invention shows: in the situation of blocking mutually in the time of effectively solving multiple point touching, and true touch point orientation problem, and accurate positioning, the track compensating out is very level and smooth.
Coordinate of the present invention is identical or overlapping, be all the error in considering the shooting process of camera head, and defines on the basis of the suitable error of computation process, and identical or overlapping in absolute sense frequently.Identical or the overlapping and similar description of coordinate of the present invention should allowed to understand within the scope of certain error.
The present invention is not limited to above embodiment, for example: apply photographing type touch control method of the present invention and device thereof and can carry out 3 above multipoint positioning.
In addition, by understanding technical scheme of the present invention, those skilled in the art will recognize, by increasing the number of camera head, increase the image information of shooting, can make the location of this photographing type touch control method of the present invention and device thereof more accurate, also can realize more easily 3 above multipoint positioning.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in claim protection domain of the present invention.
Claims (8)
1. a photographing type touch control method, is characterized in that, comprises the following steps:
S101, obtains respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
S102, the number of spots in the image of taking according to camera head described in each, the camera head that judgement is blocked;
S103, chooses a hot spot the image of taking respectively from each camera head, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
S104, by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point; If be less than described the first preset value, using the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of true touch point, finish the processing to described candidate touch point; Otherwise, store described candidate touch point, execution step S105;
S105, the described candidate touch point of a storage of extraction, performs step S106 to S109 to the hot spot of being taken by the camera head being blocked in described candidate touch point;
S106, take axis by hot spot and as boundary, is divided into two sub-hot spots;
S107, combines sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
S108, area and the described first preset value comparison of the delta-shaped region that described candidate touch point that various combinations are calculated is corresponding; If be less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point, otherwise, execution step S109;
S109, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, to judge that whether the number of times that corresponding hot spot is divided to number of times is over predetermined number of iterations, if, finish the processing to described candidate touch point, and return to step S105, extract another candidate touch point and process; Otherwise, described sub-hot spot is performed step to S106 to step S108;
If judgement does not continue corresponding sub-hot spot to divide processing, finish the processing to described candidate touch point.
2. photographing type touch control method as claimed in claim 1, is characterized in that, step S109 comprises following sub-step:
The area of the delta-shaped region that the described candidate touch point of further various combinations being calculated is corresponding respectively with the second preset value comparison;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the first preset value and is less than described the second preset value, corresponding described sub-hot spot is performed step to S106 to step S108;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the second preset value, sub-hot spot described in another is performed step to S106 to step S108;
If the area of the delta-shaped region that two described sub-hot spots are corresponding is all more than or equal to described the second preset value, finish the processing to described candidate touch point.
3. photographing type touch control method as claimed in claim 2, is characterized in that, when performing step S109 for the second time, gets described the second preset value and is
wherein, S
iit is the area of delta-shaped region corresponding to front described candidate touch point of calculating while once performing step S107.
4. the photographing type touch control method as described in claims 1 to 3 any one, it is characterized in that, in step S109, finish after the processing of described candidate touch point, judge whether all candidate touch points to be processed, to finish location, otherwise return to step S105, extract another candidate touch point and process.
5. a camera type touch control system, is characterized in that, comprising:
Image collection module, for obtaining respectively the image in the described touch control region that three camera heads of the touch control edges of regions that is arranged on display device take;
The first judge module, for according to the number of spots of the image of camera head shooting described in each, judges the camera head being blocked;
The first computing module, chooses a hot spot for the image of taking from each camera head respectively, is combined into candidate touch point, and the delta-shaped region area surrounding is intersected in the axis of calculating three described hot spots corresponding to candidate touch point described in each; Wherein, described axis is to the determined straight line of the position coordinates of the shooting angle at the center of hot spot and described camera head by camera head;
The first comparison module, for by area and the first preset value comparison of delta-shaped region corresponding to each candidate touch point;
The first locating module, when being less than described the first preset value, usings the centre coordinate of delta-shaped region corresponding to described candidate touch point as the coordinate of true touch point for the comparative result at described the first comparison module, finishes the processing to described candidate touch point;
Storage module, when being not less than described the first preset value, stores described candidate touch point for the comparative result at described the first comparison module;
The first control module, for extracting the described candidate touch point of a storage, delivers in decile processing module and processes the hot spot of being taken by the camera head being blocked in described candidate touch point;
Decile processing module, is divided into two sub-hot spots for hot spot being take to axis as boundary;
The second computing module, for sub-hot spot all the other hot spots corresponding with described candidate touch point described in each after dividing are combined, calculates respectively the area of delta-shaped region corresponding to candidate touch point described in every kind of combination;
The second comparison module, for area and the described first preset value comparison of delta-shaped region corresponding to described candidate touch point that various combinations are calculated;
The second locating module, for the comparative result at described the second comparison module when being less than described the first preset value, the coordinate using the centre coordinate of the described delta-shaped region of correspondence as true touch point;
The second control module, for at the comparative result of described the second comparison module when being not less than described the first preset value, according to the size of delta-shaped region corresponding to the described candidate touch point of various combinations calculating, judge whether to continue corresponding sub-hot spot to divide processing, to judge that whether the number of times that corresponding hot spot is divided to number of times is over predetermined number of iterations, if, finish the processing to described candidate touch point, described the first control module is extracted another candidate touch point and is processed; Otherwise, described sub-hot spot is delivered in described decile processing module and is processed; If judgement does not continue corresponding sub-hot spot to divide processing, finish the processing to described candidate touch point.
6. camera type touch control system as claimed in claim 5, is characterized in that, the area of the delta-shaped region that described candidate touch point that described the second control module is further calculated various combinations is corresponding respectively with the second preset value comparison;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the first preset value and is less than described the second preset value, corresponding described sub-hot spot is delivered in described decile processing module and processed;
If the area of the delta-shaped region that described in one of them, sub-hot spot is corresponding is more than or equal to described the second preset value, sub-hot spot described in another is delivered in described decile processing module and processed;
If the area of the delta-shaped region that two described sub-hot spots are corresponding is all more than or equal to described the second preset value, finish the processing to described candidate touch point.
7. camera type touch control system as claimed in claim 6, is characterized in that, described the second control module when comparing for the second time, is got described the second preset value and is
wherein, S
iit is the area of delta-shaped region corresponding to the each described candidate touch point of calculating of described the second computing module.
8. the camera type touch control system as described in claim 5 to 7 any one, it is characterized in that, described the second control module finishes after the processing of described candidate touch point, described the first control module judges whether all candidate touch points to be processed, be to finish location, otherwise extract another candidate touch point, process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110300848.2A CN102364419B (en) | 2011-10-08 | 2011-10-08 | Camera type touch control method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110300848.2A CN102364419B (en) | 2011-10-08 | 2011-10-08 | Camera type touch control method and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102364419A CN102364419A (en) | 2012-02-29 |
CN102364419B true CN102364419B (en) | 2014-07-23 |
Family
ID=45690985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110300848.2A Expired - Fee Related CN102364419B (en) | 2011-10-08 | 2011-10-08 | Camera type touch control method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102364419B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662532B (en) * | 2012-03-29 | 2016-03-30 | 广东威创视讯科技股份有限公司 | Multiple point touching coordinate location method and device thereof |
CN103885644A (en) * | 2012-12-21 | 2014-06-25 | 北京汇冠新技术股份有限公司 | Method of improving infrared touch screen touch precision and system thereof |
CN106454073B (en) * | 2016-09-12 | 2019-03-12 | 北京仁光科技有限公司 | The recognition methods of the effective contact in multi-cam overlapping region |
CN106681569B (en) * | 2016-12-07 | 2019-08-09 | 南京仁光电子科技有限公司 | Touch-control optimization method and device |
CN112000241B (en) * | 2020-07-31 | 2023-11-28 | 青岛海尔科技有限公司 | Operation recognition method and device, storage medium and electronic device |
CN114356130A (en) * | 2021-12-01 | 2022-04-15 | 深圳市鸿合创新信息技术有限责任公司 | Touch area identification method and system of infrared touch screen and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403951A (en) * | 2008-08-11 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Multi-point positioning device and method for interactive electronic display system |
CN201583923U (en) * | 2009-09-11 | 2010-09-15 | 广东威创视讯科技股份有限公司 | Camera-type touch detection device |
-
2011
- 2011-10-08 CN CN201110300848.2A patent/CN102364419B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403951A (en) * | 2008-08-11 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Multi-point positioning device and method for interactive electronic display system |
CN201583923U (en) * | 2009-09-11 | 2010-09-15 | 广东威创视讯科技股份有限公司 | Camera-type touch detection device |
Also Published As
Publication number | Publication date |
---|---|
CN102364419A (en) | 2012-02-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102364419B (en) | Camera type touch control method and system thereof | |
TW202013169A (en) | Method and apparatus of interactive display based on gesture recognition | |
US20200073509A1 (en) | Direction determination system and direction determination method | |
CN109376631B (en) | Loop detection method and device based on neural network | |
CN110986969B (en) | Map fusion method and device, equipment and storage medium | |
CN102073414B (en) | Multi-touch tracking method based on machine vision | |
CN102096530A (en) | Multi-touch trajectory tracking method | |
CN103677240A (en) | Virtual touch interaction method and equipment | |
CN102346605B (en) | Photographing type touch control method and system | |
CN108109176A (en) | Articles detecting localization method, device and robot | |
CN104615310A (en) | Method and device for determining candidate touch points | |
CN101566898B (en) | Positioning device of electronic display system and method | |
US9122346B2 (en) | Methods for input-output calibration and image rendering | |
US20150309681A1 (en) | Depth-based mode switching for touchless gestural interfaces | |
Hagara et al. | Fingertip detection for virtual keyboard based on camera | |
CN107480710B (en) | Feature point matching result processing method and device | |
CN104063142A (en) | Information processing method, device and electronic equipment | |
CN105722562A (en) | Method and system for obtaining tennis ball drop point in tennis sports | |
CN105094459B (en) | A kind of optics multi-point touch locating method | |
Kim et al. | Realtime plane detection for projection Augmented Reality in an unknown environment | |
CN105653101B (en) | Touch point sensing method and optical touch system | |
Klompmaker et al. | Authenticated tangible interaction using RFID and depth-sensing cameras | |
CN102331889B (en) | Image pick-up type touch control method and device | |
CN102479002B (en) | Optical touch control system and sensing method thereof | |
CN108920088A (en) | A kind of desktop projection exchange method and system based on every empty touch operation |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140723 Termination date: 20151008 |
|
EXPY | Termination of patent right or utility model |