CN104834413A - Recognition method for touch points in infrared touch frame and infrared touch recognizer - Google Patents
Recognition method for touch points in infrared touch frame and infrared touch recognizer Download PDFInfo
- Publication number
- CN104834413A CN104834413A CN201510279202.9A CN201510279202A CN104834413A CN 104834413 A CN104834413 A CN 104834413A CN 201510279202 A CN201510279202 A CN 201510279202A CN 104834413 A CN104834413 A CN 104834413A
- Authority
- CN
- China
- Prior art keywords
- position information
- infrared
- touch
- information
- correct
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a recognition method for touch points in an infrared touch frame and an infrared touch recognizer. The recognition method and the infrared touch recognizer are used for verifying whether the touch points are correct, output accuracy of the touch points is high, and therefore user experience is promoted. The method includes the step of starting an infrared emission circuit and an infrared receiving circuit to conduct scanning to obtain original signals; the step of processing the original signals to obtain first position information, wherein the first position information comprises position information of at least one touch point; the step of judging whether the first position information is correct; the step of processing the first position information if the first position information is wrong.
Description
Technical Field
The invention relates to the field of human-computer interaction, in particular to an identification method of touch points in an infrared touch frame and an infrared touch identifier.
Background
At present, the infrared touch frame is widely applied to electronic products with a flat panel display, such as advertisement machines of banks, subway ticket buying machines and the like.
The infrared touch frame has the working principle that infrared receiving tubes and infrared transmitting tubes are fully distributed around the touch screen, the infrared tubes are arranged on the surface of the touch frame in a one-to-one correspondence manner to form an optical network formed by infrared rays, as shown in fig. 1, when objects 101 and 102 (fingers, gloves or any touch objects) enter the infrared optical network to block infrared rays at a certain position for transmitting and receiving, the intensity of the infrared rays received by the receiving tubes in the transverse direction and the vertical direction at the point can be changed, and a controller can know where the touch is performed by knowing the change of the receiving condition of the infrared rays.
In order to ensure that the chip of the infrared touch frame has higher operation efficiency and achieve better user experience in a cheap computing chip, the infrared touch frame utilizes a simplified recognition algorithm to recognize the position of a touch point in the infrared touch frame, for example, a plurality of adjacent changed light rays are regarded as a set to be calculated, as shown in fig. 2, and two touch points 201 and 202 are left on the infrared touch frame.
However, as the number of identification points required by the infrared touch frame is more and more, and the arrangement of the lamps is more and more sparse, the infrared touch frame utilizes a simplified identification algorithm to identify the problems shown in fig. 3, the actual touch points are 301 and 302, and after the identification algorithm takes a plurality of adjacent changed light rays as a set to calculate, the position of 306 is finally output (i.e., the touch point 302 is identified), and the touch point 301 is misjudged as an interference point, so that the obvious loss of the touch point affects the operation experience of the user.
Disclosure of Invention
The embodiment of the invention provides an identification method of a touch point in an infrared touch frame and an infrared touch identifier, which are used for verifying whether the touch point is correct or not, so that the output accuracy of the touch point is improved, and the user experience is improved.
The first aspect of the present invention provides a method for identifying a touch point in an infrared touch frame, which is applied to an infrared touch system including an infrared touch frame, an infrared transmitting circuit and an infrared receiving circuit, and includes:
starting the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal;
processing the original signal to obtain first position information, wherein the first position information comprises position information of at least one touch point;
judging whether the first position information is correct or not;
and if the first position information is wrong, processing the first position information.
With reference to the first aspect of the present invention, in a first implementation manner of the first aspect of the present invention, the determining whether the first location information is correct includes:
scanning the first position information corresponding to at least one position on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit to obtain at least one scanning signal;
judging whether any scanning signal in the at least one scanning signal reaches a preset condition, if so, judging that the first position information is correct; if not, the first position information is judged to be wrong.
With reference to the first aspect of the present invention, in a second implementation manner of the first aspect of the present invention, the determining whether the first location information is correct includes:
when the position information of the touch points in the first position information is more than two, judging whether the distance of the first position information corresponding to the position on the infrared touch frame is smaller than a preset shortest distance or not, and if not, judging that the first position information is correct; and if the first position information is less than the second position information, judging that the first position information is wrong.
With reference to the first aspect of the present invention, the first embodiment of the first aspect of the present invention, or the second embodiment of the first aspect of the present invention, in a third embodiment of the first aspect of the present invention, the processing the first location information includes:
extracting second position information from a database, wherein the second position information is position information output last time;
and replacing the first position information with the second position information, and taking the second position information as output information.
With reference to the first aspect of the present invention, the first embodiment of the first aspect of the present invention, or the second embodiment of the first aspect of the present invention, in a fourth embodiment of the first aspect of the present invention, the processing the first location information includes:
extracting third position information from a database, wherein the third position information comprises position information which is output before multiple times;
and calculating the third position information according to a motion prediction method to obtain fourth position information, and taking the fourth position information as output information.
With reference to the first aspect of the present invention, the first embodiment of the first aspect of the present invention, or the second embodiment of the first aspect of the present invention, in a fourth embodiment of the first aspect of the present invention, the processing the first location information includes:
deleting the first location information.
The second aspect of the present invention provides an infrared touch identifier, which is applied to an infrared touch system including an infrared touch frame, an infrared transmitting circuit and an infrared receiving circuit, and includes:
the circuit control module is used for starting the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal;
the signal processing module is used for processing the original signal to obtain first position information, and the first position information comprises position information of at least one touch point;
the checking module is used for judging whether the first position information is correct or not;
and the position information processing module is used for processing the first position information when the first position information is wrong.
In combination with the second aspect of the present invention, in the first embodiment of the second aspect of the present invention,
the calibration module is specifically configured to scan the first position information corresponding to at least one position on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit to obtain at least one scanning signal;
the calibration module is specifically configured to determine whether any one of the at least one scanning signal reaches a preset condition, and if so, determine that the first position information is correct; if not, the first position information is judged to be wrong.
In combination with the second aspect of the present invention, in a second embodiment of the second aspect of the present invention,
the calibration module is specifically configured to, when the number of the position information of the touch points in the first position information is more than two, determine whether a distance between the first position information and a position on the infrared touch frame is smaller than a preset shortest distance, and if not, determine that the first position information is correct; and if the first position information is less than the second position information, judging that the first position information is wrong.
With reference to the second aspect of the present invention, the first embodiment of the second aspect of the present invention, or the second embodiment of the second aspect of the present invention, in the third embodiment of the second aspect of the present invention,
the position information processing module is specifically used for extracting second position information from a database, wherein the second position information is position information output last time;
the position information processing module is specifically configured to replace the first position information with the second position information, and use the second position information as output information.
With reference to the second aspect of the present invention, the first embodiment of the second aspect of the present invention, or the second embodiment of the second aspect of the present invention, in a fourth embodiment of the second aspect of the present invention,
the position information processing module is specifically configured to extract third position information from a database, where the third position information includes position information output before multiple times;
the position information processing module is specifically configured to calculate the third position information according to a motion prediction method to obtain fourth position information, and use the fourth position information as output information.
With reference to the second aspect of the present invention, the first embodiment of the second aspect of the present invention, or the second embodiment of the second aspect of the present invention, in a fourth embodiment of the second aspect of the present invention,
the location information processing module is specifically configured to delete the first location information.
According to the technical scheme, the embodiment of the invention has the following advantages:
the infrared touch identifier starts an infrared transmitting circuit and an infrared receiving circuit to scan to obtain an original signal; processing the original signal to obtain first position information, wherein the first position information comprises position information of at least one touch point; judging whether the first position information is correct or not; and if the error occurs, processing the first position information. According to practical experience, when errors occur in touch point calculation or slight abnormality occurs in an original signal, most errors can be detected by judging whether the first position information is correct or not, the wrong first position information is processed, wrong position information output is prevented, the fact that the touch point output by an infrared touch system is inconsistent with what a user expects is avoided, and therefore operation experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating touch point detection according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating another touch point detection in accordance with an embodiment of the present invention;
FIG. 3 is a diagram illustrating an error in touch point detection according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an embodiment of a method for identifying touch points in an infrared touch frame according to the present invention;
fig. 5 is a schematic diagram illustrating a method for determining whether location information is correct according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating another embodiment of determining whether location information is correct;
fig. 7 is a schematic diagram of an embodiment of an infrared touch identifier in an embodiment of the invention.
Detailed Description
The embodiment of the invention provides an identification method of a touch point in an infrared touch frame and an infrared touch identifier, which are used for verifying whether the touch point is correct or not, so that the output accuracy of the touch point is improved, and the user experience is improved.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed by specific examples, respectively.
Referring to fig. 4, an embodiment of the present invention provides a method for identifying a touch point in an infrared touch frame, which is applied to an infrared touch system including the infrared touch frame, an infrared transmitting circuit, and an infrared receiving circuit, and includes:
401. starting an infrared transmitting circuit and an infrared receiving circuit to scan to obtain an original signal;
in the embodiment of the invention, the infrared touch identifier starts the infrared transmitting circuit and the infrared receiving circuit, and scans the infrared touch frame according to a preset scanning rule to obtain an original signal;
402. processing the original signal to obtain first position information;
in the embodiment of the invention, the obtained original signal is processed according to a preset algorithm, and first position information is obtained through calculation and comprises position information of at least one touch point.
403. Judging whether the first position information is correct or not, if so, executing a step 404;
in the embodiment of the present invention, it is determined whether the obtained first position information is correct according to a preset rule, and if the obtained first position information is incorrect, step 404 is executed.
404. The first location information is processed.
In the embodiment of the invention, when the first position information is an error, the first position information is processed.
In the embodiment of the invention, the infrared touch identifier starts the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal; processing the original signal to obtain first position information, wherein the first position information comprises position information of at least one touch point; judging whether the first position information is correct or not; and if the error occurs, processing the first position information. According to practical experience, when errors occur in touch point calculation or slight abnormality occurs in an original signal, most errors can be detected by judging whether the first position information is correct or not, the wrong first position information is processed, wrong position information output is prevented, the fact that the touch point output by an infrared touch system is inconsistent with what a user expects is avoided, and therefore operation experience of the user is improved.
Optionally, in some embodiments of the present invention, determining whether the first position information is correct includes:
scanning the first position information corresponding to at least one position on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit to obtain at least one scanning signal;
judging whether any scanning signal in the at least one scanning signal reaches a preset condition, if so, judging that the first position information is correct; if not, determining that the first position information is wrong;
or,
when the position information of the touch points in the first position information is more than two, judging whether the distance of the first position information corresponding to the position on the infrared touch frame is smaller than a preset shortest distance or not, and if not, judging that the first position information is correct; if the first position information is less than the second position information, the first position information is judged to be wrong.
In the embodiment of the invention, two methods are used for judging whether the first position information is correct, so that the scheme is more diversified.
It should be noted that, the judgment of whether the first position information is correct includes, but is not limited to, two of the above embodiments.
Optionally, in some embodiments of the present invention, the processing the first position information includes:
extracting second position information from the database, wherein the second position information is the position information output last time;
replacing the first position information with the second position information, and taking the second position information as output information;
or,
extracting third position information from the database, wherein the third position information comprises position information which is output before multiple times;
calculating third position information according to a motion prediction method to obtain fourth position information, and taking the fourth position information as output information;
or,
deleting the first location information.
In the embodiment of the invention, when the first position information is wrong, three methods for processing the first position information are provided, so that the scheme is more flexible.
It should be noted that, when the first position information is incorrect, the method for processing the first position information includes, but is not limited to, the three methods in the above embodiments.
For convenience of explanation, the following describes in detail a method for identifying touch points in an infrared touch frame in an embodiment of the present invention in a practical application scenario:
the method is applied to an infrared touch system, the infrared touch system comprises an infrared touch frame, an infrared transmitting circuit, an infrared receiving circuit and the like, a plurality of infrared transmitting tubes and a plurality of infrared receiving tubes are arranged on two sides of the infrared touch frame, the plurality of infrared transmitting tubes and the plurality of infrared receiving tubes are arranged at equal intervals, each infrared transmitting tube corresponds to three infrared receiving tubes, each infrared receiving tube corresponds to three infrared transmitting tubes, and three infrared rays are formed between the infrared transmitting tubes and the 3 corresponding infrared receiving tubes. In the embodiment of the invention, the position of the touch point in the infrared touch frame is identified by using a simplified identification algorithm, and as shown in fig. 2, a plurality of adjacent variable infrared rays are taken as a set for calculation.
The infrared touch recognizer starts an infrared transmitting circuit and an infrared receiving circuit, scanning is carried out on an infrared touch frame according to the rules of the infrared transmitter and the infrared receiver, the transmitting circuit and the receiving circuit carry out infrared transmitting and receiving according to preset frequency, the infrared receiving circuit receives an original signal, the original signal is calculated and processed by the simplified recognition algorithm, according to the existing rules, when position information is not obtained through calculation, next signal is ready to be received, and when first position information is obtained through calculation, correctness judgment is carried out on the first position information.
The first method for judging whether the first position information is correct comprises the following steps: as shown in fig. 5, assuming that the first position information includes position information of a touch point, the position of the infrared touch frame is a dotted circle T2 according to the first position information, the infrared light passing through T2 is X1 and Y3, and the scanning signals of the infrared receivers on the infrared light of X1 and Y3 are detected, and the scanning signals have a preset condition that when the scanning signals change outside the preset condition, it represents that touch points exist in all areas through which the light passes, and the scanning signals of the infrared receivers on the infrared light of X1 and Y3 are normal and therefore are not touch points, and the first position information is wrong. If the first position information is found that the position of the infrared touch frame is a circle T1, the infrared ray passing through the position T1 is X2, X3, Y1 and Y2, the scanning signals of the infrared receivers on the infrared rays X2, X3, Y1 and Y2 are detected, and when the scanning signals of the infrared receivers on the infrared rays X2, X3, Y1 and Y2 reach a preset condition, the position T1 is a touch point, so that the first position information is correct.
A second method for judging whether the first position information is correct: as shown in fig. 6, when the number of the touch points in the first position information is two, the positions of the two pieces of position information in the first position information on the infrared touch frame are 61 and 62, respectively, and the distance X between the touch point 61 and the touch point 62 is 3 mm, if the shortest distance preset by the design criterion is 5 mm, one or both of the touch point 61 and the touch point 62 must be incorrect, the first position information is incorrect, and if the distance X between the touch point 61 and the touch point 62 is 6 mm, the first position information is determined to be correct.
After the first position information is judged to be correct, the first position information can be transmitted to the infrared touch system for output according to a normal flow, and when the first position information is judged to be wrong, the current first position information is deleted, the current first position information is not transmitted to the system, and the next original signal is processed; second position information (namely position information output last time) is extracted from a database in which the output position information is stored, the first position information is deleted, and the second position information is used as the output information of the infrared touch system; and thirdly, extracting third position information from a database in which the output position information is stored, wherein the third position information comprises position information which is output before many times, sequencing the position information according to the front and back sequence to obtain a plurality of touch points corresponding to the third position information, predicting the position of the current touch point according to a motion prediction method, obtaining fourth position information (namely the position information of the current touch point) according to the position of the current touch point, and taking the fourth position information as the output information of the infrared touch system.
The method for determining whether the first position information is correct is not limited to the first method and the second method, but may be other methods.
The processing method when it is judged that the first position information is erroneous is not limited to the three ways mentioned above.
Referring to fig. 7, an infrared touch identifier according to an embodiment of the present invention is applied to an infrared touch system including an infrared touch frame, an infrared transmitting circuit, and an infrared receiving circuit, and includes:
the circuit control module 701 is used for starting the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal;
a signal processing module 702, configured to process an original signal to obtain first location information, where the first location information includes location information of at least one touch point;
a calibration module 703, configured to determine whether the first location information is correct;
and a location information processing module 704, configured to process the first location information when the first location information is incorrect.
In the embodiment of the invention, a circuit control module 701 starts an infrared transmitting circuit and an infrared receiving circuit to scan to obtain an original signal; the signal processing module 702 processes the original signal to obtain first position information, where the first position information includes position information of at least one touch point; the signal processing module 702 determines whether the first location information is correct; when the first location information is erroneous, the location information processing module 704 processes the first location information. According to practical experience, when an error occurs in touch point calculation or a slight abnormality occurs in an original signal, the proof-reading module 703 is used for judging whether the first position information is correct or not, and most errors can be detected, the position information processing module 704 is used for processing the wrong first position information, so that wrong position information output is prevented, the condition that the output touch point of the infrared touch system is inconsistent with what a user expects is avoided, and the operation experience of the user is improved.
Alternatively, in some embodiments of the present invention,
the calibration module 703 is specifically configured to scan the at least one position of the first position information on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit, so as to obtain at least one scanning signal;
the calibration module 703 is specifically configured to determine whether any scanning signal in the at least one scanning signal reaches a preset condition, and if so, determine that the first position information is correct; if not, determining that the first position information is wrong;
or,
the calibration module 703 is specifically configured to, when the position information of the touch point in the first position information is more than two, determine whether a distance between the first position information and a position on the infrared touch frame is smaller than a preset shortest distance, and if not, determine that the first position information is correct; if the first position information is less than the second position information, the first position information is judged to be wrong.
In the embodiment of the present invention, there are two methods for the calibration module 703 to determine whether the first location information is correct, so that the scheme is more diversified.
Alternatively, in some embodiments of the present invention,
a location information processing module 704, specifically configured to extract second location information from the database, where the second location information is location information output last time;
a location information processing module 704, specifically configured to replace the first location information with the second location information, and use the second location information as output information;
or,
a location information processing module 704, configured to extract third location information from the database, where the third location information includes location information output before multiple times;
a position information processing module 704, specifically configured to calculate third position information according to a motion prediction method to obtain fourth position information, and use the fourth position information as output information;
or,
the location information processing module 704 is specifically configured to delete the first location information.
In the embodiment of the present invention, when the first location information is incorrect, the location information processing module 704 has three methods for processing the first location information, so that the scheme is more flexible.
For convenience of illustration, the infrared touch recognizer in the embodiment of the present invention is described in detail in a specific application scenario as follows:
this infrared touch recognizer is applied to infrared touch system, including infrared touch frame, infrared emission circuit and infrared receiving circuit etc. in the infrared touch system, infrared touch frame both sides are provided with a plurality of infrared emission pipes and a plurality of infrared receiving tube, a plurality of infrared emission pipes and a plurality of infrared receiving tube equal equidistance set up, each infrared emission pipe corresponds three infrared receiving tube, each infrared receiving tube corresponds three infrared emission pipe, be formed with three infrared rays between infrared emission pipe and the 3 infrared receiving tubes that correspond promptly. In the embodiment of the invention, the position of the touch point in the infrared touch frame is identified by using a simplified identification algorithm, and as shown in fig. 2, a plurality of adjacent variable infrared rays are taken as a set for calculation.
The circuit control module 701 starts an infrared transmitting circuit and an infrared receiving circuit, scanning is performed on the infrared touch frame according to the rules of the infrared transmitter and the infrared receiver, the infrared transmitting circuit and the infrared receiving circuit perform infrared transmitting and receiving according to preset frequencies, the infrared receiving circuit receives an original signal, the signal processing module 702 performs calculation processing on the original signal by using the simplified identification algorithm, when position information is not obtained through calculation according to the existing rules, the signal processing module 702 prepares to receive a next signal, and when first position information is obtained through calculation, the correction module 703 performs correctness judgment on the first position information.
The first method of the calibration module 703 determining whether the first location information is correct is: as shown in fig. 5, assuming that the first position information includes position information of a touch point, the position of the infrared touch frame is a dotted circle T2 according to the first position information, the infrared light passing through T2 is X1 and Y3, and the scanning signals of the infrared receivers on the X1 and Y3 infrared light are detected by the circuit control module 701 and the signal processing module 702, and the scanning signals have a preset condition, that is, when the scanning signals change outside the preset condition, it represents that touch points exist in all areas through which the light passes, and the scanning signals of the infrared receivers on the X1 and Y3 infrared light are normal, and thus are not touch points, and the first position information is wrong. If the first position information is found that the position of the infrared touch frame is a circle T1, the infrared ray passing through the position T1 is X2, X3, Y1 and Y2, the scanning signals of the infrared receivers on the infrared rays X2, X3, Y1 and Y2 are detected, and when the scanning signals of the infrared receivers on the infrared rays X2, X3, Y1 and Y2 reach a preset condition, the position T1 is a touch point, so that the first position information is correct.
The second method for the calibration module 703 to determine whether the first location information is correct: as shown in fig. 6, when the number of the touch points in the first position information is two, the positions of the two pieces of position information in the first position information on the infrared touch frame are 61 and 62, respectively, and the distance X between the touch point 61 and the touch point 62 is 3 mm, if the shortest distance preset by the design criterion is 5 mm, one or both of the touch point 61 and the touch point 62 must be incorrect, the checking module 703 determines that the first position information is incorrect, and if the distance X between the touch point 61 and the touch point 62 is 6 mm, the checking module 703 determines that the first position information is correct.
After the calibration module 703 determines that the first position information is correct, the position information processing module 704 may transmit the first position information to the infrared touch system for output according to a normal flow, and when the calibration module 703 determines that the first position information is incorrect, the first position information processing module 704 deletes the current first position information, does not transmit the current first position information to the system, and instead processes the next original signal; secondly, the position information processing module 704 extracts second position information (that is, position information output last time) from a database in which the output position information is stored, deletes the first position information, and uses the second position information as output information of the infrared touch system; thirdly, the position information processing module 704 extracts third position information from a database in which the output position information is stored, the third position information includes position information output before many times, the position information is sequenced in a front-back order to obtain a plurality of touch points corresponding to the third position information, the position of the current touch point is predicted according to a motion prediction method, fourth position information (namely the position information of the current touch point) is obtained according to the position of the current touch point, and the fourth position information is used as the output information of the infrared touch system.
The method for the checking module 703 to determine whether the first position information is correct is not limited to the first method and the second method, but may be other methods.
When it is judged that the first position information is erroneous, the processing method of the position information processing module 704 is not limited to the above-mentioned three ways.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (12)
1. A method for identifying touch points in an infrared touch frame is characterized by being applied to an infrared touch system comprising the infrared touch frame, an infrared transmitting circuit and an infrared receiving circuit, and comprising the following steps:
starting the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal;
processing the original signal to obtain first position information, wherein the first position information comprises position information of at least one touch point;
judging whether the first position information is correct or not;
and if the first position information is wrong, processing the first position information.
2. The method of claim 1, wherein the determining whether the first location information is correct comprises:
scanning the first position information corresponding to at least one position on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit to obtain at least one scanning signal;
judging whether any scanning signal in the at least one scanning signal reaches a preset condition, if so, judging that the first position information is correct; if not, the first position information is judged to be wrong.
3. The method of claim 1, wherein the determining whether the first location information is correct comprises:
when the position information of the touch points in the first position information is more than two, judging whether the distance of the first position information corresponding to the position on the infrared touch frame is smaller than a preset shortest distance or not, and if not, judging that the first position information is correct; and if the first position information is less than the second position information, judging that the first position information is wrong.
4. The method according to any one of claims 1 to 3, wherein the processing the first location information comprises:
extracting second position information from a database, wherein the second position information is position information output last time;
and replacing the first position information with the second position information, and taking the second position information as output information.
5. The method according to any one of claims 1 to 3, wherein the processing the first location information comprises:
extracting third position information from a database, wherein the third position information comprises position information which is output before multiple times;
and calculating the third position information according to a motion prediction method to obtain fourth position information, and taking the fourth position information as output information.
6. The method according to any one of claims 1 to 3, wherein the processing the first location information comprises:
deleting the first location information.
7. An infrared touch recognizer, which is applied to an infrared touch system including an infrared touch frame, an infrared transmitting circuit and an infrared receiving circuit, includes:
the circuit control module is used for starting the infrared transmitting circuit and the infrared receiving circuit to scan to obtain an original signal;
the signal processing module is used for processing the original signal to obtain first position information, and the first position information comprises position information of at least one touch point;
the checking module is used for judging whether the first position information is correct or not;
and the position information processing module is used for processing the first position information when the first position information is wrong.
8. The infrared touch recognizer of claim 7,
the calibration module is specifically configured to scan the first position information corresponding to at least one position on the infrared touch frame one by one through the infrared transmitting circuit and the infrared receiving circuit to obtain at least one scanning signal;
the calibration module is specifically configured to determine whether any one of the at least one scanning signal reaches a preset condition, and if so, determine that the first position information is correct; if not, the first position information is judged to be wrong.
9. The infrared touch recognizer of claim 7,
the calibration module is specifically configured to, when the number of the position information of the touch points in the first position information is more than two, determine whether a distance between the first position information and a position on the infrared touch frame is smaller than a preset shortest distance, and if not, determine that the first position information is correct; and if the first position information is less than the second position information, judging that the first position information is wrong.
10. The infrared touch recognizer of any of claims 7 to 9,
the position information processing module is specifically used for extracting second position information from a database, wherein the second position information is position information output last time;
the position information processing module is specifically configured to replace the first position information with the second position information, and use the second position information as output information.
11. The infrared touch recognizer of any of claims 7 to 9,
the position information processing module is specifically configured to extract third position information from a database, where the third position information includes position information output before multiple times;
the position information processing module is specifically configured to calculate the third position information according to a motion prediction method to obtain fourth position information, and use the fourth position information as output information.
12. The infrared touch recognizer of any of claims 7 to 9,
the location information processing module is specifically configured to delete the first location information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510279202.9A CN104834413A (en) | 2015-05-27 | 2015-05-27 | Recognition method for touch points in infrared touch frame and infrared touch recognizer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510279202.9A CN104834413A (en) | 2015-05-27 | 2015-05-27 | Recognition method for touch points in infrared touch frame and infrared touch recognizer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104834413A true CN104834413A (en) | 2015-08-12 |
Family
ID=53812344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510279202.9A Pending CN104834413A (en) | 2015-05-27 | 2015-05-27 | Recognition method for touch points in infrared touch frame and infrared touch recognizer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104834413A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105733A (en) * | 2007-05-16 | 2008-01-16 | 广东威创日新电子有限公司 | Multiple point touch localization method |
CN101187844A (en) * | 2007-12-04 | 2008-05-28 | 马健 | Infrared electronic whiteboard multi-contact processing method |
CN101236475A (en) * | 2007-01-30 | 2008-08-06 | 北京鸿合盛视数字媒体技术有限公司 | Infrared touch screen based input method and system |
CN102207800A (en) * | 2011-07-22 | 2011-10-05 | 广州视睿电子科技有限公司 | Infrared touch screen touch point identification method and device |
CN104598155A (en) * | 2015-01-30 | 2015-05-06 | 广州华欣电子科技有限公司 | Smoothing method and device |
-
2015
- 2015-05-27 CN CN201510279202.9A patent/CN104834413A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101236475A (en) * | 2007-01-30 | 2008-08-06 | 北京鸿合盛视数字媒体技术有限公司 | Infrared touch screen based input method and system |
CN101105733A (en) * | 2007-05-16 | 2008-01-16 | 广东威创日新电子有限公司 | Multiple point touch localization method |
CN101187844A (en) * | 2007-12-04 | 2008-05-28 | 马健 | Infrared electronic whiteboard multi-contact processing method |
CN102207800A (en) * | 2011-07-22 | 2011-10-05 | 广州视睿电子科技有限公司 | Infrared touch screen touch point identification method and device |
CN104598155A (en) * | 2015-01-30 | 2015-05-06 | 广州华欣电子科技有限公司 | Smoothing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI537772B (en) | Method and computing device for multi-pass touch contact tracking | |
CN102200874B (en) | Key input method and key input device based on touch screen | |
WO2018191555A1 (en) | Deep learning system for real time analysis of manufacturing operations | |
CN104715249A (en) | Object tracking method and device | |
CN113253878B (en) | Touch screen report point determining method and device, electronic equipment and storage medium | |
CN105491010A (en) | Cross validation method and system for verification codes | |
CN105630397A (en) | Method and terminal equipment for opening popup boxes | |
CN106569643B (en) | Method and device for positioning touch point of infrared touch screen | |
US20200019880A1 (en) | Deep learning method | |
CN111597993B (en) | Data processing method and device | |
WO2012059595A1 (en) | Touch detection | |
US10509934B1 (en) | Methods and apparatus for improving QR code locator detectability and/or finding the corners of a locator pattern | |
US20250110598A1 (en) | Touch detection method and apparatus, electronic device, and readable storage medium | |
CN105302715B (en) | The acquisition methods and device of application program user interface | |
CN114332818A (en) | Obstacle detection method and device and electronic equipment | |
CN104834413A (en) | Recognition method for touch points in infrared touch frame and infrared touch recognizer | |
CN113313125A (en) | Image processing method and device, electronic equipment and computer readable medium | |
CN105589570A (en) | Input error processing method and apparatus | |
CN108198326B (en) | Method and device for transmitting paper money data, electronic equipment and storage medium | |
CN105808019B (en) | Contact coordinate detection method for infrared touch screen | |
CN117348758A (en) | Updating method and device of signal strength reference value and electronic equipment | |
CN104898900A (en) | Infrared touch frame scanning method and infrared touch frame | |
CN116225255A (en) | Display screen adaptation method, device, equipment, storage medium and program product | |
CN110942445B (en) | Contact identification method and device of infrared touch screen, terminal equipment and storage medium | |
CN114187458A (en) | Interface abnormity detection method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150812 |