CN117032500A - Touch recognition method and device for infrared touch equipment, storage medium and equipment - Google Patents

Touch recognition method and device for infrared touch equipment, storage medium and equipment Download PDF

Info

Publication number
CN117032500A
CN117032500A CN202311288929.4A CN202311288929A CN117032500A CN 117032500 A CN117032500 A CN 117032500A CN 202311288929 A CN202311288929 A CN 202311288929A CN 117032500 A CN117032500 A CN 117032500A
Authority
CN
China
Prior art keywords
touch
target
touch point
points
sleeve
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
Application number
CN202311288929.4A
Other languages
Chinese (zh)
Inventor
李�浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Zhongyuan Intelligent Technology Co ltd
Original Assignee
Guangzhou Zhongyuan Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Zhongyuan Intelligent Technology Co ltd filed Critical Guangzhou Zhongyuan Intelligent Technology Co ltd
Priority to CN202311288929.4A priority Critical patent/CN117032500A/en
Publication of CN117032500A publication Critical patent/CN117032500A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a touch recognition method, a device, a storage medium and equipment for infrared touch equipment, which are characterized in that touch point information is acquired by responding to touch operation of the infrared touch equipment, characteristics of the touch points are compared with characteristics of preset touch points, the touch points which are consistent with the characteristic comparison of the preset touch points are used as target touch points, a sleeve area is determined according to the positions of the target touch points, and the touch points in the sleeve area are shielded, so that the touch points generated by mistaken touch of the sleeves are shielded, and the touch recognition accuracy of the infrared touch equipment and the touch experience of a user are improved.

Description

Touch recognition method and device for infrared touch equipment, storage medium and equipment
Technical Field
The present application relates to the field of infrared touch devices, and in particular, to a method and apparatus for touch recognition of an infrared touch device, a storage medium, and a device.
Background
The infrared touch equipment comprises a plurality of infrared transmitters and infrared receivers which are relatively distributed, the infrared transmitters are sequentially started and emit infrared signals under the control of the controller, and the corresponding infrared receivers receive the infrared signals and calculate whether touch operation occurs according to the change of the infrared signals received by the infrared receivers.
When a user touches the infrared touch equipment, the clothing pendulum of the clothing of the user easily shields the transmission of infrared signals, so that the infrared touch equipment is triggered by mistake.
Disclosure of Invention
The embodiment of the application provides a touch recognition method and device for infrared touch equipment, a storage medium and equipment, and can improve the accuracy of touch recognition of the infrared touch equipment.
In a first aspect, an embodiment of the present application provides a touch recognition method for an infrared touch device, where the method includes the following steps:
responding to touch operation of the infrared touch equipment, and acquiring touch point information; wherein the touch point information comprises the position and the characteristics of the touch point;
comparing the characteristics of the touch points with the characteristics of preset touch points, taking the touch points consistent with the characteristics of the preset touch points as target touch points, and acquiring the positions of the target touch points;
determining a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device; the step of determining the sleeve region according to the position of the target touch point specifically comprises the following steps:
determining the type of the touch object according to the characteristics of the target touch point;
acquiring relative position information of the sleeve region and the target touch point according to the type of the touch object;
determining a sleeve region according to the position of the target touch point and the relative position information;
and shielding the touch points in the sleeve area, and executing corresponding touch operation according to the unshielded touch points.
In a second aspect, an embodiment of the present application provides a touch recognition apparatus for an infrared touch device, where the apparatus includes:
the touch point information acquisition module is used for responding to touch operation of the infrared touch equipment to acquire touch point information; wherein the touch point information comprises the position and the characteristics of the touch point;
the target touch point acquisition module is used for comparing the characteristics of the touch points with the characteristics of preset touch points, taking the touch points consistent with the characteristics of the preset touch points as target touch points and acquiring the positions of the target touch points;
the first sleeve region determining module is used for determining a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device; the first sleeve region determining module includes:
the touch object type determining unit is used for determining the type of the touch object according to the characteristics of the target touch point;
a relative position information obtaining unit, configured to obtain relative position information of the sleeve region and the target touch point according to the type of the touch object;
a sleeve region determining unit for determining a sleeve region according to the position of the target touch point and the relative position information;
and the shielding module is used for shielding the touch points in the sleeve region and executing corresponding touch operation according to the non-shielded touch points.
In a third aspect, an embodiment of the present application provides a computer readable storage medium, on which a computer program is stored, the computer program implementing the steps of the method for touch recognition of an infrared touch device according to any one of the preceding claims when executed by a processor.
In a fourth aspect, embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor;
the steps of the method for identifying the touch of the infrared touch equipment are realized when the processor executes the computer program.
In the embodiment of the application, the touch point information is acquired by responding to the touch operation of the infrared touch equipment, the characteristics of the touch point are compared with the characteristics of the preset touch point, the touch point consistent with the characteristic comparison of the preset touch point is taken as the target touch point, the sleeve area is determined according to the position of the target touch point, and the touch point generated by the mistaken touch of the sleeve is shielded by shielding the touch point in the sleeve area, so that the accuracy of touch identification of the infrared touch equipment and the touch experience of a user are improved.
For a better understanding and implementation, the present application is described in detail below with reference to the drawings.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a touch recognition method of an infrared touch device according to an embodiment of the present application;
FIG. 2 is a flow chart of a touch recognition method of an infrared touch device according to an embodiment of the application;
FIG. 3 is a flowchart of step S130 according to an embodiment of the present application;
FIG. 4 is a flowchart of a touch recognition method of an infrared touch device according to another embodiment of the present application;
FIG. 5 is a schematic view of a touch point of a sleeve according to another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a touch recognition device of an infrared touch apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are intended to be within the scope of the embodiments of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, in the description of the present application, unless otherwise indicated, "a number" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, which is a schematic view of an application scenario of the touch recognition method of the infrared touch device of the present application, as shown in fig. 1, an infrared touch device 100 includes a plurality of infrared transmitters 101 and infrared receivers 102 that are arranged in a relatively distributed manner, the infrared transmitters 101 are sequentially turned on and emit infrared signals under the control of a controller, the infrared signals propagate on the surface of the infrared touch device 100, and the corresponding infrared receivers 102 receive the infrared signals.
When a user touches the surface of the infrared touch device 100, the infrared signals are blocked, and the infrared touch device determines the position of a touch point where the user touches the infrared touch device according to the change of the infrared signals received by the respective infrared receivers 102.
However, when a user wears a garment with a large sleeve, the user touches the infrared touch device, particularly when the user touches the infrared touch device through a palm, the sleeve of the user easily shields the infrared signal, so that the infrared touch device mistakenly regards the position shielded by the sleeve as a touch point, and the conditions of jumping, disconnection and the like occur on the infrared touch device, thereby affecting the user experience.
Accordingly, in view of the above problems, as shown in fig. 2, the present application provides a touch recognition method of an infrared touch device, the method comprising the steps of:
s110: responding to touch operation of the infrared touch equipment, and acquiring touch point information; wherein the touch point information comprises the position and the characteristics of the touch point;
the characteristics of the touch point may include characteristic information such as the size, shape, area, number of light-shielding rays, depth of light-shielding rays, and the like of the touch point.
S120: comparing the characteristics of the touch points with the characteristics of preset touch points, taking the touch points consistent with the characteristics of the preset touch points as target touch points, and acquiring the positions of the target touch points;
the preset touch point may be a historical target touch point of the infrared touch device, the characteristics of the preset touch point may be obtained by acquiring historical touch data of the infrared touch device, the historical touch data may be historical frame scan data of the infrared touch device, and the historical touch data may include characteristics of historical touch points of various touch object types.
The target touch point may refer to a normal touch point generated when a user touches the infrared touch device, for example, a touch point generated when a palm or a finger of the user touches the infrared touch device, or a touch point generated when the user touches the infrared touch device with a stylus.
In the embodiment of the application, the characteristics of the current touch point are compared with the characteristics of the preset touch point, if the characteristics of the current touch point are consistent with the characteristics of the preset touch point, the current touch point is determined to be the target touch point, and if the characteristics of the current touch point are inconsistent with the characteristics of the preset touch point, the current touch point is determined to be the non-target touch point.
S130: determining a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device;
the sleeve region may be a region having a certain relative positional relationship with the target touch point, for example, the sleeve region may be a region below the target touch point.
S140: and shielding the touch points in the sleeve area, and executing corresponding touch operation according to the unshielded touch points.
When the touch point is located in the sleeve area, the touch point is considered to be the touch point generated by the sleeve contacting the infrared touch equipment, namely, the abnormal touch point, and at the moment, the accuracy of the touch point identification of the infrared touch equipment can be improved by shielding the touch point.
The data of the shielded touch points can be discarded as invalid touch data, and the data of the unshielded touch points can be output to the infrared touch device as valid touch data, so that the infrared touch device executes corresponding touch operation according to the valid touch data, and the probability of the infrared touch device being touched by mistake is reduced.
In the embodiment of the application, the touch point information is acquired in response to the touch operation of the infrared touch equipment, the characteristics of the touch point are compared with the characteristics of the preset touch point, the touch point which is consistent with the characteristic comparison of the preset touch point is taken as the target touch point, the sleeve area is determined according to the position of the target touch point, and the touch point in the sleeve area is shielded, so that the touch point generated by the mistaken touch of the sleeve is shielded, and the accuracy of touch identification of the infrared touch equipment and the touch experience of a user are improved.
In step S120, the target touch points may include target touch points that are types of various touching objects, which may include fingers, palms, pens, and the like.
For different touch object types, the characteristics of the target touch points are different, in the embodiment of the application, the touch points are compared with the characteristics of the target touch points of all the touch object types, and when the characteristics of the touch points are consistent with those of the touch points of a certain touch object type, the touch points are determined to be the target touch points; otherwise, determining the touch point as an abnormal touch point.
Or in another embodiment, the feature comparison can be performed on the touch point and the target touch point of the preset touch object type according to the user requirement, and when the feature of the touch point is consistent with the feature of the target touch point of the preset touch object type, the touch point is determined to be the target touch point; otherwise, the touch point is determined to be a non-target touch point.
In step S130, the sleeve region may be a region having a certain relative positional relationship with the target touch point, and the relative positional relationship between the sleeve region and the target touch point may be different for different touch objects.
As shown in fig. 3, the step of determining the sleeve region according to the position of the target touch point specifically includes:
s131: determining the type of the touch object according to the characteristics of the target touch point;
s132: acquiring relative position information of the sleeve region and the target touch point according to the type of the touch object;
s133: and determining the sleeve region according to the position of the target touch point and the relative position information.
In step S131, when determining the type of the touching object, the characteristics of the target touching point may be compared with the characteristics of all the touching objects, so as to determine the type of the touching object; or, whether the target touch point is the corresponding touch object type can be determined by judging whether the target touch point meets the judging condition of a certain touch object type preset by the user.
Specifically, the step of determining the type of the touching object according to the characteristics of the target touching point specifically includes:
and if the characteristics of the target touch point meet the judging conditions of the type of the target touch object, determining that the type of the touch object of the target touch point is the type of the target touch object.
The type of the target touch object may be determined according to an actual application scene of the infrared touch device, for example, may be a palm, a finger, a writing pen, etc., and for different types of target touch objects, corresponding judgment conditions are different. The judgment condition may be set according to the characteristics of the type of the target touch object.
In the embodiment of the application, the target touch object type can be a writing pen, and the judging condition of the target touch object type can be set according to the area, the length-width ratio, the writing speed, the quantity of the shielding light rays, the depth of shielding the light rays and the distance between the target touch object type and other touch points of the writing pen.
Specifically, in the embodiment of the present application, when the characteristics of the target touch point meet the following judging conditions of the target touch type, it is determined that the type of the touching object of the target touch point is a writing pen:
the area of the target touch point is in a first area range, the length-width ratio of the target touch point is smaller than an length-width ratio threshold value, the movement speed of the target touch point is in a speed interval, the quantity of light shielded by the target touch point is smaller than a shielding quantity threshold value, the depth of light shielded by the target touch point is larger than a shielding depth threshold value, and the distance between the target touch point and other touch points is larger than a distance threshold value.
The first area range represents a range of an area of a touch point of the writing pen, and in a normal case, a contact area of the writing pen and the infrared touch screen is small, so that an area of the touch point corresponding to the writing pen is also small. In the embodiment of the present application, the first area range may be set to 3-50When the area of the target touch point exceeds 50 +.>That is, the area of the target touch point is excessively large, the target touch point at this time is highly likely not to be the touch point of the writing pen.
The shape of the touch point corresponding to the writing pen is usually a biased circular shape, and the shape of the sleeve touch point is usually a biased long and narrow polygon, so in the embodiment of the application, the touch point corresponding to the writing pen can be screened by using the aspect ratio threshold, specifically, when the aspect ratio of the target touch point is smaller than the aspect ratio threshold, it is determined that the target touch point is likely to be the touch point corresponding to the writing pen, and when the aspect ratio of the target touch point exceeds the aspect ratio threshold, it is determined that the target touch point is likely not to be the touch point corresponding to the writing pen. In the embodiment of the application, the aspect ratio threshold may be set to 5:2.
When a user writes by using a writing pen, the writing speed is usually within a certain speed interval, and when the movement speed of the target touch point is within the speed interval, the current target touch point is considered to be the touch point corresponding to the writing pen; when the movement speed of the target touch point exceeds the speed interval, the current target touch point is considered to be quite possibly not the touch point corresponding to the writing pen; in the embodiment of the application, the speed interval can be 0.2-0.8m/s.
When a user writes by using the writing pen, the quantity of light blocked by the writing pen is usually far smaller than that of light blocked by the sleeves, so in the embodiment of the application, the type of a touch object of the target touch point is determined according to whether the quantity of light blocked by the target touch point is smaller than the threshold value of the blocking quantity, and when the quantity of light blocked by the target touch point is smaller than the threshold value of the blocking quantity, the type of the touch object is determined to be likely to be the writing pen; when the number of the light blocked by the target touch point is larger than the threshold value of the blocking number, the type of the touch object is determined to be quite possibly not a writing pen.
When a user writes by using the writing pen, the writing pen usually shields light deeply, and the depth of the light shielded by the sleeves is usually shallower, so in the embodiment of the application, whether the type of the touch object is the writing pen or not can be also determined according to the depth of the light shielded by the target touch point, specifically, when the depth of the light shielded by the target touch point is greater than the shielding depth threshold value, the type of the touch object is determined to be the writing pen possibly; when the depth of the light blocked by the target touch point is smaller than the blocking depth threshold value, the type of the touch object is determined to be quite possibly not a writing pen. In the embodiment of the application, the shielding depth threshold value can be set to be half of the depth of complete shielding.
In general, when a user writes with a writing pen on an infrared touch device, there is usually only one touch point, and when other touch points are generated due to other interferences, for example, a sleeve touch point generated by sleeve interference in the application, the touch point corresponding to the writing pen is usually different from the sleeve touch point by a certain position, so in the embodiment of the application, the distance between the target touch point and other touch points can be used as a judging condition, and whether the target touch point is the touch point corresponding to the writing pen can be determined by judging whether the distance between the target touch point and the other touch points is greater than a distance threshold; specifically, when the distance between the target touch point and the other touch points is greater than the distance threshold, it is determined that the type of the touch object is likely to be a writing pen, and when the distance between the target touch point and the other touch points is less than the distance threshold, it is determined that the type of the touch object is likely not to be a writing pen.
In the embodiment of the application, in order to improve the accuracy of identifying the type of the touch object, when the characteristics of the target touch point meet the above at least two judging conditions, determining the type of the touch object of the target touch point as a writing pen, otherwise, determining the type of the touch object of the target touch point as not a writing pen.
In step S132, the relative position information is used to determine a relative position relationship between the sleeve region and the target touch point, where the relative position relationship may include information such as a distance and a direction between the sleeve region and the target touch point;
the relative positional relationship between the sleeve region and the target touch point can be determined according to the relative position of the touch point and the sleeve when the user touches the infrared touch device.
The location of the sleeve area is different for different touch types. Specifically, when the touching object is a palm, the sleeve region may be located below the palm, that is, the sleeve region is located below the target touch point; when the touching object is a writing pen, the sleeve area can be positioned obliquely below or below the pen point, i.e. the sleeve area is positioned obliquely below or below the target touching point.
The sleeve region can be set to be in a fan shape, a rectangular shape and the like according to the actual demands of users, and the size of the sleeve region can be determined according to the distance between the users and the infrared touch screen.
In the embodiment of the application, the type of the touch object is determined according to the characteristics of the target touch point, the relative position relation between the sleeve area and the target touch point is determined according to the type of the touch object, and the position of the sleeve area is determined according to the position of the target touch point and the relative position relation, so that the abnormal touch point caused by the sleeve can be prevented by shielding the touch point in the sleeve area, and the accuracy of identifying the touch point is improved.
Alternatively, in another embodiment, the sleeve region may be determined according to the positions of sleeve touch points, where sleeve touch points are touch points generated by sleeve shielding. As shown in fig. 4, the touch point information further includes the number and area of touch points, and the method further includes the steps of:
s210: if the touch point information meets any one of the following sleeve touch point identification conditions, determining that the touch point is a sleeve touch point: the area of the touch points is larger than a second area threshold, the number of the touch points is at least two, the difference value of the areas where the two touch points exist is larger than an area difference threshold, and the number of the touch points is at least two, and the difference value of the distances between the at least two touch points is smaller than a distance difference threshold;
s220: and determining the sleeve area according to the sleeve touch points and the sleeve area information.
The sleeve touch point identification condition is used for determining whether the touch points are sleeve touch points, as shown in fig. 5, the touch points generated by sleeve shielding are generally distributed in a relatively concentrated manner, and the areas are relatively large and different in size.
In the embodiment of the application, the number of the touch points is at least two, and when more than two touch points exist, whether sleeve touch points exist or not is determined according to the distribution and the area of the touch points.
The second area threshold is used for determining the area of the sleeve touch point, and when the touch object type of the target touch point is a writing pen, the second area threshold can be set to a value exceeding the first area range corresponding to the writing pen, for example, can be 50The method comprises the steps of carrying out a first treatment on the surface of the Alternatively, in another embodimentIn which the second area threshold can also be set to 200 ±>When the area of the touch point exceeds 200 +.>That is, the area of the current touch point is far larger than that of the normal touch point, and at this time, the touch point can be directly regarded as a sleeve touch point, so that the sleeve area is determined according to the sleeve touch point.
When the difference of the areas of the two touch points is larger than the area difference threshold value, the difference of the areas of the two touch points is larger, and the possibility of existence of the sleeve touch points is considered to be larger, the touch points with larger areas can be regarded as sleeve touch points, or the two touch points can be regarded as sleeve touch points, so that the sleeve area is determined according to the sleeve touch points.
When the distance difference between the two touch points is smaller than the distance difference threshold, the distance between the two touch points is indicated to be relatively close, that is, the distribution areas of the touch points are relatively concentrated, at the moment, the possibility that the sleeve touch points exist is considered to be relatively high, the touch points with relatively large areas can be regarded as sleeve touch points, or the two touch points can be regarded as sleeve touch points, and therefore the sleeve area is determined according to the sleeve touch points.
The sleeve area information is used for determining the range of the sleeve area where the sleeve touch point is located, and the sleeve area information can comprise information such as the range, the direction, the mode and the like which are expanded outwards.
Specifically, after the sleeve touch point is identified, a region near the sleeve touch point may be determined as a sleeve region according to the sleeve region information, and for example, the sleeve region may be obtained by expanding the sleeve region in a rectangular, circular, elliptical or other expansion manner with the sleeve touch point as the center in accordance with the expansion direction and the expansion range included in the sleeve region information, based on the sleeve touch point.
Preferably, after the sleeve touch points are identified, when the number of the sleeve touch points is large or the area of the sleeve touch points is large, the accuracy of touch identification of the infrared touch equipment is greatly affected, the identification of the sleeve touch points can be reduced by adjusting the touch identification method of the infrared touch equipment, and the accuracy of the identification of the sleeve touch points is improved.
Specifically, the touch recognition method of the infrared touch device further comprises the following steps:
if the number of the sleeve touch points exceeds a number threshold, adjusting a filtering parameter of the infrared touch equipment for identifying the touch points;
or if the area of the sleeve touch point is larger than a third area threshold, adjusting the filtering parameter of the infrared touch equipment for identifying the touch point;
the filtering parameters are used for filtering abnormal touch points.
The third area threshold may be an area threshold of a sleeve touch point preset by a user, when the area of the sleeve touch point is larger than the third area threshold, the damage degree of the sleeve touch point to touch recognition of the infrared touch device is indicated to be larger, and at the moment, abnormal touch points can be filtered by adjusting the filtering parameters of the infrared touch device, so that the touch recognition precision of the infrared touch device is improved.
The filtering parameters may include a de-pseudo parameter, where the de-pseudo parameter is used to identify a pseudo point of the infrared touch device, and the step of adjusting the filtering parameter of the infrared touch device to identify the touch point specifically includes:
the anti-fake parameters of the infrared touch equipment are adjusted, so that the infrared touch equipment identifies fake points according to the adjusted anti-fake parameters and carries out filtering treatment on the fake points;
in the embodiment of the application, when the spurious elimination parameter is adjusted, the threshold range of the spurious elimination parameter can be specifically adjusted, and when the spurious elimination parameter is identified, the touch point exceeding the threshold range of the spurious elimination parameter can be used as the spurious elimination point, or the spurious elimination point can be identified by combining the existing spurious elimination identification algorithm based on the spurious elimination parameter, and the filtering processing of the spurious elimination point is realized in a mode of shielding or eliminating the spurious elimination point, so that the touch identification precision of the infrared touch equipment is improved.
Alternatively, in another embodiment, the filtering parameter may include an occlusion ray parameter, and the step of adjusting the filtering parameter of the infrared touch device for identifying a touch point specifically includes:
and adjusting the shielding light parameters of the sleeve region of the infrared touch equipment, so that the infrared touch equipment identifies abnormal touch points according to the shielding light parameters, and filtering the abnormal touch points.
The shielding light parameters can comprise parameters such as depth, quantity and the like of shielding light, when the shielding light parameters are adjusted, the threshold range of the shielding light parameters can be specifically adjusted, and when the abnormal touch point is identified, the touch point exceeding the threshold range of the shielding light parameters can be used as the abnormal touch point, so that the filtering processing of the pseudo point is realized in a mode of shielding or eliminating the abnormal touch point, and the touch identification precision of the infrared touch equipment is improved.
Referring to fig. 6, the embodiment of the application further provides a touch recognition device of an infrared touch device, which includes:
the touch point information acquisition module 210 is configured to acquire touch point information in response to a touch operation on the infrared touch device; wherein the touch point information comprises the position and the characteristics of the touch point;
the target touch point obtaining module 220 is configured to compare the characteristics of the touch point with the characteristics of a preset touch point, and obtain the position of the target touch point by using the touch point consistent with the characteristics of the preset touch point as the target touch point;
a first sleeve region determining module 230, configured to determine a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device;
and the shielding module 240 is configured to shield the touch points in the sleeve region, and perform corresponding touch operations according to the non-shielded touch points.
In one embodiment, the first sleeve region determination module 230 includes:
the touch object type determining unit is used for determining the type of the touch object according to the characteristics of the target touch point;
a relative position information obtaining unit, configured to obtain relative position information of the sleeve region and the target touch point according to the type of the touch object;
and the sleeve region determining unit is used for determining the sleeve region according to the position of the target touch point and the relative position information.
In one embodiment, the touch object type determining unit is configured to determine, if the characteristic of the target touch point meets a determination condition of a target touch object type, that the type of the touch object of the target touch point is the target touch object type.
In one embodiment, the touch object type determining unit determines that the type of the touch object of the target touch point is a writing pen when the characteristics of the target touch point satisfy the following judging conditions of the target touch type:
the area of the target touch point is in a first area range, the length-width ratio of the target touch point is smaller than an length-width ratio threshold value, the movement speed of the target touch point is in a speed interval, the quantity of light shielded by the target touch point is smaller than a shielding quantity threshold value, the depth of light shielded by the target touch point is larger than a shielding depth threshold value, and the distance between the target touch point and other touch points is larger than a distance threshold value.
In one embodiment, the apparatus further comprises:
the sleeve touch point determining module is used for determining the touch point as a sleeve touch point if the touch point information meets any one of the following sleeve touch point identification conditions: the area of the touch points is larger than a second area threshold, the number of the touch points is at least two, the difference value of the areas where the two touch points exist is larger than an area difference threshold, the number of the touch points is at least two, and the difference value of the distances between the at least two touch points is smaller than a distance difference threshold;
and the second sleeve region determining module is used for determining a sleeve region according to the sleeve touch points and the sleeve region information.
In one embodiment, the apparatus further comprises:
the first filtering module is used for adjusting the filtering parameters of the infrared touch equipment for identifying the touch points when the number of the sleeve touch points exceeds a number threshold;
the second filtering module is used for adjusting the filtering parameters of the infrared touch equipment for identifying the touch points when the area of the sleeve touch points is larger than a third area threshold value;
the filtering parameters are used for filtering abnormal touch points.
In one embodiment, the first filtering module is configured to adjust a spurious elimination parameter of the infrared touch device, so that the infrared touch device identifies a spurious point according to the adjusted spurious elimination parameter and performs filtering processing on the spurious point; and/or adjusting the shielding light parameters of the sleeve region of the infrared touch equipment, so that the infrared touch equipment identifies abnormal touch points according to the shielding light parameters, and filtering the abnormal touch points;
the second filtering module is used for adjusting the spurious elimination parameters of the infrared touch equipment, so that the infrared touch equipment identifies spurious points according to the adjusted spurious elimination parameters and carries out filtering treatment on the spurious points; and/or adjusting the shielding light parameters of the sleeve region of the infrared touch equipment, so that the infrared touch equipment identifies abnormal touch points according to the shielding light parameters, and filtering the abnormal touch points.
It should be noted that, when the touch recognition device for an infrared touch device provided in the above embodiment performs the touch recognition method for an infrared touch device, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the touch recognition device of the infrared touch device provided in the above embodiment belongs to the same concept as the touch recognition method of the infrared touch device in the above embodiment, and the implementation process is shown in the method embodiment, which is not repeated here.
The application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method for touch recognition of an infrared touch device as described in any of the above.
The present application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, magnetic disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer-readable storage media include both non-transitory and non-transitory, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by the computing device.
Referring to fig. 7, the present application further provides an electronic device 300, including a memory 301, a processor 302, and a computer program stored in the memory 301 and executable by the processor 302;
the processor 302, when executing the computer program, implements the steps of the infrared touch device touch recognition method as described in any one of the above.
The Memory 301 includes Read-Only Memory (ROM), programmable Read-Only Memory (PROM), erasable programmable Read-Only Memory (EPROM), one-time programmable Read-Only Memory (One-timeProgrammable Read-Only Memory, OTPROM), electrically erasable rewritable Read-Only Memory (EEPROM), compact disc Read-Only Memory (CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used to carry or store data.
The processor 302 is a Control Unit (Control Unit) of the electronic device 300, connects the respective components of the entire electronic device 300 using various interfaces and lines, and executes various functions of the electronic device 300 and processes data by running or executing programs or modules stored in the memory 301 and calling data stored in the memory 301. For example, the processor 302 implements all or part of the steps of the touch recognition method of the infrared touch device according to the embodiment of the present application when executing the computer program stored in the memory; or to implement all or part of the functionality of the touch recognition means of the infrared touch device. The processor 302 may be comprised of integrated circuits, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functionality, including one or more central processing units (CentralProcessing unit, CPU), microprocessors, digital processing chips, graphics processors, various control chips, and the like.
The present application is not limited to the above-described embodiments, but, if various modifications or variations of the present application are not departing from the spirit and scope of the present application, the present application is intended to include such modifications and variations as fall within the scope of the claims and the equivalents thereof.

Claims (9)

1. The touch recognition method of the infrared touch equipment is characterized by comprising the following steps of:
responding to touch operation of the infrared touch equipment, and acquiring touch point information; wherein the touch point information comprises the position and the characteristics of the touch point;
comparing the characteristics of the touch points with the characteristics of preset touch points, taking the touch points consistent with the characteristics of the preset touch points as target touch points, and acquiring the positions of the target touch points;
determining a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device; the step of determining the sleeve region according to the position of the target touch point specifically comprises the following steps:
determining the type of the touch object according to the characteristics of the target touch point;
acquiring relative position information of the sleeve region and the target touch point according to the type of the touch object;
determining a sleeve region according to the position of the target touch point and the relative position information;
and shielding the touch points in the sleeve area, and executing corresponding touch operation according to the unshielded touch points.
2. The method for recognizing touch by an infrared touch device according to claim 1, wherein the step of determining the type of the touching object according to the characteristics of the target touch point specifically comprises:
and if the characteristics of the target touch point meet the judging conditions of the type of the target touch object, determining that the type of the touch object of the target touch point is the type of the target touch object.
3. The method for recognizing touch by an infrared touch device according to claim 2, wherein when the characteristics of the target touch point meet the following judging conditions of at least two item target touch types, determining that the type of the touch object of the target touch point is a writing pen:
the area of the target touch point is in a first area range, the length-width ratio of the target touch point is smaller than an length-width ratio threshold value, the movement speed of the target touch point is in a speed interval, the quantity of light shielded by the target touch point is smaller than a shielding quantity threshold value, the depth of light shielded by the target touch point is larger than a shielding depth threshold value, and the distance between the target touch point and other touch points is larger than a distance threshold value.
4. The method for recognizing touch by an infrared touch device according to claim 1, wherein the touch point information further includes the number and area of touch points, further comprising the steps of:
if the touch point information meets any one of the following sleeve touch point identification conditions, determining that the touch point is a sleeve touch point: the area of the touch points is larger than a second area threshold, the number of the touch points is at least two, the difference value of the areas where the two touch points exist is larger than an area difference threshold, and the number of the touch points is at least two, and the difference value of the distances between the at least two touch points is smaller than a distance difference threshold;
and determining the sleeve area according to the sleeve touch points and the sleeve area information.
5. The method for touch recognition of an infrared touch device of claim 4, further comprising the steps of:
if the number of the sleeve touch points exceeds a number threshold, adjusting a filtering parameter of the infrared touch equipment for identifying the touch points;
or if the area of the sleeve touch point is larger than a third area threshold, adjusting the filtering parameter of the infrared touch equipment for identifying the touch point;
the filtering parameters are used for filtering abnormal touch points.
6. The method for touch recognition by an infrared touch device according to claim 5, wherein the step of adjusting the filtering parameters of the touch point recognized by the infrared touch device specifically comprises:
the anti-fake parameters of the infrared touch equipment are adjusted, so that the infrared touch equipment identifies fake points according to the adjusted anti-fake parameters and carries out filtering treatment on the fake points;
and/or the number of the groups of groups,
and adjusting the shielding light parameters of the sleeve region of the infrared touch equipment, so that the infrared touch equipment identifies abnormal touch points according to the shielding light parameters, and filtering the abnormal touch points.
7. An infrared touch device touch recognition apparatus, the apparatus comprising:
the touch point information acquisition module is used for responding to touch operation of the infrared touch equipment to acquire touch point information; wherein the touch point information comprises the position and the characteristics of the touch point;
the target touch point acquisition module is used for comparing the characteristics of the touch points with the characteristics of preset touch points, taking the touch points consistent with the characteristics of the preset touch points as target touch points and acquiring the positions of the target touch points;
the first sleeve region determining module is used for determining a sleeve region according to the position of the target touch point; wherein the sleeve region is a region of the sleeve that contacts the infrared touch device; the first sleeve region determining module includes:
the touch object type determining unit is used for determining the type of the touch object according to the characteristics of the target touch point;
a relative position information obtaining unit, configured to obtain relative position information of the sleeve region and the target touch point according to the type of the touch object;
a sleeve region determining unit for determining a sleeve region according to the position of the target touch point and the relative position information;
and the shielding module is used for shielding the touch points in the sleeve region and executing corresponding touch operation according to the non-shielded touch points.
8. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program, when executed by a processor, implements the steps of the infrared touch device touch recognition method of any of claims 1-6.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor; the processor is respectively in communication connection with the fault equipment and the target equipment;
the processor, when executing the computer program, implements the steps of the infrared touch device touch recognition method of any one of claims 1-6.
CN202311288929.4A 2023-10-08 2023-10-08 Touch recognition method and device for infrared touch equipment, storage medium and equipment Pending CN117032500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311288929.4A CN117032500A (en) 2023-10-08 2023-10-08 Touch recognition method and device for infrared touch equipment, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311288929.4A CN117032500A (en) 2023-10-08 2023-10-08 Touch recognition method and device for infrared touch equipment, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN117032500A true CN117032500A (en) 2023-11-10

Family

ID=88645182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311288929.4A Pending CN117032500A (en) 2023-10-08 2023-10-08 Touch recognition method and device for infrared touch equipment, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN117032500A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330603A (en) * 2002-05-13 2003-11-21 Ricoh Co Ltd Coordinate detecting device and method, coordinate detecting program for making computer execute the same method and recording medium with its program recorded
CN101286105A (en) * 2007-04-13 2008-10-15 冲电气工业株式会社 Input device
JP2010086339A (en) * 2008-09-30 2010-04-15 Fujitsu Frontech Ltd Coordinate detection device, coordinate detection method, and coordinate detection processing program
CN102207791A (en) * 2010-03-30 2011-10-05 Smk株式会社 Method of outputting input position of touch panel
WO2013039205A1 (en) * 2011-09-15 2013-03-21 ブラザー工業株式会社 Electronic writing apparatus and electronic writing processing program
CN103543881A (en) * 2012-07-11 2014-01-29 程抒一 Mistaken-clicking-preventing identification method of touch screen
JP2014016859A (en) * 2012-07-10 2014-01-30 Oki Electric Ind Co Ltd Input device
JP2015132886A (en) * 2014-01-09 2015-07-23 アルパイン株式会社 Handwriting input device
CN108021291A (en) * 2017-10-12 2018-05-11 上海优熠电子科技有限公司 Touch point reliability composite identification method
US20190095043A1 (en) * 2017-09-27 2019-03-28 Seiko Epson Corporation Position detection device, position detection system, and method for controlling position detection device
CN109933276A (en) * 2019-03-01 2019-06-25 安徽戴特教育科技有限公司 A kind of determination method accidentally touched based on hand sleeve in touch large-size screen monitors electronic whiteboard handwriting
CN110502160A (en) * 2019-08-19 2019-11-26 青岛海信商用显示股份有限公司 The classification method and device of touch point, touch screen and display
CN115963938A (en) * 2021-10-09 2023-04-14 华为技术有限公司 Method and device for displaying operation track
CN116661618A (en) * 2023-04-19 2023-08-29 广州众远智慧科技有限公司 Touch mode switching method and device for touch screen

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330603A (en) * 2002-05-13 2003-11-21 Ricoh Co Ltd Coordinate detecting device and method, coordinate detecting program for making computer execute the same method and recording medium with its program recorded
CN101286105A (en) * 2007-04-13 2008-10-15 冲电气工业株式会社 Input device
JP2010086339A (en) * 2008-09-30 2010-04-15 Fujitsu Frontech Ltd Coordinate detection device, coordinate detection method, and coordinate detection processing program
CN102207791A (en) * 2010-03-30 2011-10-05 Smk株式会社 Method of outputting input position of touch panel
WO2013039205A1 (en) * 2011-09-15 2013-03-21 ブラザー工業株式会社 Electronic writing apparatus and electronic writing processing program
JP2014016859A (en) * 2012-07-10 2014-01-30 Oki Electric Ind Co Ltd Input device
CN103543881A (en) * 2012-07-11 2014-01-29 程抒一 Mistaken-clicking-preventing identification method of touch screen
JP2015132886A (en) * 2014-01-09 2015-07-23 アルパイン株式会社 Handwriting input device
US20190095043A1 (en) * 2017-09-27 2019-03-28 Seiko Epson Corporation Position detection device, position detection system, and method for controlling position detection device
CN108021291A (en) * 2017-10-12 2018-05-11 上海优熠电子科技有限公司 Touch point reliability composite identification method
CN109933276A (en) * 2019-03-01 2019-06-25 安徽戴特教育科技有限公司 A kind of determination method accidentally touched based on hand sleeve in touch large-size screen monitors electronic whiteboard handwriting
CN110502160A (en) * 2019-08-19 2019-11-26 青岛海信商用显示股份有限公司 The classification method and device of touch point, touch screen and display
CN115963938A (en) * 2021-10-09 2023-04-14 华为技术有限公司 Method and device for displaying operation track
CN116661618A (en) * 2023-04-19 2023-08-29 广州众远智慧科技有限公司 Touch mode switching method and device for touch screen

Similar Documents

Publication Publication Date Title
JP6641306B2 (en) Touch classification
US7031886B1 (en) Methods and systems for detecting noise in a position sensor using minor shifts in sensing frequency
US8797280B2 (en) Systems and methods for improved touch screen response
CN110162230B (en) Touch position identification method and device and storage medium
US9939957B2 (en) Method and associated controller for adaptively adjusting touch control threshold
CN109167893B (en) Shot image processing method and device, storage medium and mobile terminal
CN112817483B (en) Multi-point touch processing method, device, equipment and storage medium
CN113253878B (en) Touch screen report point determining method and device, electronic equipment and storage medium
CN108399042B (en) Touch identification method, device and system
CN113778255B (en) Touch recognition method and device
CN113934312B (en) Touch object identification method based on infrared touch screen and terminal equipment
CN117032500A (en) Touch recognition method and device for infrared touch equipment, storage medium and equipment
WO2022047839A1 (en) Multi-point touch recognition method, apparatus and device for infrared touch screen
CN109710111B (en) False touch prevention method and electronic equipment
CN113535061A (en) Gesture control method and device, terminal equipment and earphone
CN116661618A (en) Touch mode switching method and device for touch screen
CN111694468B (en) Method and device for determining type of target object
US11397493B2 (en) Method for touch sensing enhancement implemented in single chip, single chip capable of achieving touch sensing enhancement, and computing apparatus
CN109324716B (en) Touch screen anti-interference method based on hill climbing algorithm, touch device and mobile terminal
CN112511725A (en) Automatic identification method and device for endoscope ring, storage medium and terminal
CN110794994A (en) Method and device for determining real contact
CN111142766B (en) Area dynamic adjustment method and device and storage medium
CN111475060B (en) Touch identification method and device
CN117331453A (en) Touch recognition method, device, equipment, readable medium and product
CN115220638A (en) Method, device, equipment and storage medium for separating hand and pen of electronic whiteboard

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination