Infrared sliding gesture sensing and recognition method

By setting the rectangular coordinate system and filtering data jitter in infrared sliding gesture sensing technology, the problem of small area recognition and data jitter in the prior art is solved, and more accurate and efficient sliding gesture recognition is achieved.

CN112363613BActive Publication Date: 2025-03-25HUIZHOU DESAY SV AUTOMOTIVE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011022576.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-25
Publication Date
2025-03-25
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

The existing infrared sliding gesture sensing technology has a small state recognition area, and due to different application scenarios, data jitters are often unfunctional.

Method used

By setting the rectangular coordinate system, grab the continuous coordinate coefficients, eliminate invalid points, compare and sort the effective coordinate coefficients, determine the direction of change of three consecutive horizontal coordinate values ​​to determine the sliding direction, filter out the jitter of the optical recognition data and expand the recognition range of sliding gesture sensing.

Benefits of technology

It realizes more accurate and efficient recognition of infrared sliding gesture sensing, expands the recognition range, reduces data jitter, and improves the sensitivity and efficiency of sliding gestures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112363613B_ABST
    Figure CN112363613B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of infrared sensing application technology, and in particular to an infrared sliding gesture sensing and recognition method, comprising the following steps: setting a rectangular coordinate system based on an infrared recognition range; grabbing a set of continuous coordinate coefficients that fall within the rectangular coordinate system, and judging whether the horizontal coordinate value of the first data is within a first set range or within a second set range; eliminating invalid points in the continuous coordinate coefficients; comparing and sorting the retained valid coordinate coefficients, and if there are three consecutive horizontal coordinate values ​​that increase, it is judged as sliding to the right; if there are three consecutive horizontal coordinate values ​​that decrease, it is judged as sliding to the left; otherwise it is judged as invalid data. The purpose of the present invention is to provide an infrared sliding gesture sensing and recognition method, which uses the technical solution provided by the present invention to solve the technical problems that the existing infrared gesture sensing has a small state recognition area and data jitter due to different application scenarios, resulting in frequent non-functions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of infrared sensing application technology, and in particular to an infrared sliding gesture sensing and recognition method. Technical Background

[0002] Infrared gesture recognition technology is that when a hand passes through the infrared recognition area, the infrared light is reflected by the hand, and the whole machine receives the reflected light and converts it into an electrical signal, which is then sent to the host. After receiving the signal, the host processes it and makes corresponding actions. Since infrared light is invisible, when a hand passes through infrared light, there is no feeling, so there are many infrared-based remote sensing technologies.

[0003] See also Figure 1-2 Currently, infrared sliding gesture sensing is used, which has the following functions: when the hand passes through the infrared recognition area in front of the whole machine, the whole machine needs to make corresponding processing, such as switching the display interface; when the hand slides from left to right, the display interface slides right to the next interface; when the hand slides from right to left, the display interface slides left to the previous interface.

[0004] In order to ensure that the program can identify the position of the palm when sliding left or right, a spatial coordinate system (XY H) is defined in the program to mark the position of the palm. The X value is 0-100, representing the leftmost to rightmost respectively; the Y value is 0-100, representing the bottommost to the topmost respectively; the H value is 0-100, representing the nearest end to the farthest end respectively. The above values ​​are all dimensionless percentage values ​​and are only used for program calls. When the whole machine captures that X changes from small to large, it is judged as a right slide, otherwise it is a left slide.

[0005] The current infrared sliding gesture sensing has the following problems:

[0006] 1. Since fingers, palms, wrists, and arms cannot be guaranteed to be perpendicular to the entire device, when the finger has already left the sensing area, the palm is still in the sensing area, and the X value may change from 90 to 100, and then return to 80. The program may judge that the object slides right first and then left, and judge it as an invalid gesture, and the action cannot be triggered. For this reason, there is data jitter, and different gestures may be triggered by some but not others;

[0007] 2. The current host software triggers the sliding judgment condition by confirming in the data sent by the whole machine. If X has a value X1 between 0 and 10, and another value X2 between 90 and 100, then the left or right sliding is judged according to the time of X1 and X2; if the object enters from the interval between 10 and 20, or leaves from the interval between 80 and 90, it is judged as an invalid gesture; for this reason, it must be triggered by sliding from the leftmost to the rightmost, and there is no guarantee that the intermediate value can be triggered.

[0008] Combining the above two problems, the existing state recognition area is small, and there is data jitter due to different application scenarios, resulting in frequent non-functions. Summary of the invention

[0009] The purpose of the present invention is to provide an infrared sliding gesture sensing and recognition method. The technical solution provided by the present invention solves the technical problems that the existing infrared gesture sensing has a small state recognition area and data jitter due to different application scenarios, resulting in frequent non-functions.

[0010] In order to solve the above technical problems, the present invention provides an infrared sliding gesture sensing and recognition method, comprising the following steps:

[0011] S100, setting a rectangular coordinate system based on the infrared recognition range;

[0012] S200, grab a set of continuous coordinate coefficients that fall into the rectangular coordinate system, and determine whether the horizontal coordinate value of the first data is within a first set range or a second set range;

[0013] S300, eliminating invalid points in continuous coordinate coefficients;

[0014] S400, compare and sort the retained valid coordinate coefficients. If there are three consecutive increasing horizontal coordinate values, it is determined to be sliding to the right; if there are three consecutive decreasing horizontal coordinate values, it is determined to be sliding to the left; otherwise, it is determined to be invalid data.

[0015] Preferably, in step S200, the first setting range is 10% to 30% of the starting point of the horizontal coordinate in the rectangular coordinate system; the second setting range is 10% to 30% of the ending point of the horizontal coordinate in the rectangular coordinate system.

[0016] Preferably, in step S200, if the horizontal coordinate value of the first data is not within the first set range or the second set range, the group of continuous data is determined to be valid data.

[0017] Preferably, in step S300, the following steps are included:

[0018] S301, comparing the ordinate values ​​of any two consecutive data in the continuous data;

[0019] S302: If the difference is greater than the set value, the second data is determined to be invalid data, and the coordinate coefficient is discarded.

[0020] Preferably, the set value is any integer between 3 and 10.

[0021] From the above, it can be seen that by applying the technical solution provided by the present invention, the data output by the whole machine is processed secondary, the jitter of the optical recognition data is filtered out, and the recognition range of the sliding gesture sensing is expanded. This is completely different from the general infrared sliding recognition technology, and is more accurate and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the description of the embodiments of the present invention or the prior art. Obviously, the drawings described below are only part of the embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0023] Figure 1 This is a schematic diagram of the sensing area of ​​the infrared sliding gesture sensing system of the present invention;

[0024] Figure 2 This is a schematic diagram of the infrared sliding gesture sensing system of the present invention;

[0025] Figure 3 This is a flow chart of step S200 of the infrared sliding gesture sensing and recognition method according to an embodiment of the present invention;

[0026] Figure 4 This is a flow chart of step S300 of the infrared sliding gesture sensing and recognition method according to an embodiment of the present invention;

[0027] Figure 5 This is a flow chart of step S400 of the infrared sliding gesture sensing and recognition method according to an embodiment of the present invention;

[0028] Figure 6 This is a flow chart of step S500 of the infrared sliding gesture sensing and recognition method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] The current infrared sliding gesture sensing has the following problems: there is data jitter in the data obtained by the sensing, different gestures may be triggered by some but not others; it needs to be triggered by sliding from the far left to the far right, and there is no guarantee that the middle value can be triggered. For this reason, the existing state recognition area is small, and due to data jitter in different application scenarios, it often does not work.

[0031] See also Figure 3-6 In order to solve the above technical problems, this embodiment provides an infrared sliding gesture sensing and recognition method. The key step is to perform secondary processing on the data output by the whole machine, filter out the jitter of the optical recognition data, and expand the recognition range of sliding gesture sensing. It is completely different from the general infrared sliding recognition technology, and is more accurate and efficient.

[0032] The specific steps include:

[0033] S100, setting a rectangular coordinate system based on the infrared recognition range.

[0034] S200, grab a set of continuous coordinate coefficients that fall into the rectangular coordinate system, and determine whether the horizontal coordinate value of the first data is within a first set range or a second set range.

[0035] The first setting range is 10% to 30% of the starting point of the horizontal coordinate in the rectangular coordinate system, and the second setting range is 10% to 30% of the ending point of the horizontal coordinate in the rectangular coordinate system. Among the above parameters, any value can be obtained according to the actual measurement results.

[0036] If the horizontal coordinate value of the first data is not within the first setting range or the second setting range, the group of continuous data is determined to be valid data.

[0037] S300, eliminating invalid points in continuous coordinate coefficients.

[0038] This step can select and remove jitter data. The identification and removal methods include:

[0039] S301, comparing the ordinate values ​​of any two consecutive data in the continuous data;

[0040] S302: If the difference is greater than a set value, the second data is determined to be invalid data, and the coordinate coefficient is removed. The set value is any integer between 3 and 10.

[0041] When the finger has moved out of the sensing area and the palm is still in the sensing area, the horizontal coordinate value may change from 90 to 100 and then return to 80, but the vertical coordinate value changes by more than 3 at this time. Step S300 can filter out these jitter data to ensure data consistency.

[0042] S400, compare and sort the retained valid coordinate coefficients. If there are three consecutive increasing horizontal coordinate values, it is determined to be sliding to the right; if there are three consecutive decreasing horizontal coordinate values, it is determined to be sliding to the left; otherwise, it is determined to be invalid data.

[0043] This step distinguishes the sliding trend from the sliding effect, ensuring that as long as there is a clear sliding trend, the corresponding sliding effect can be generated. As a result, the human hand does not need to swipe from left to right. As long as there is a sliding trend from left to right, the corresponding sliding effect can be generated, and the sensitivity and sliding efficiency are effectively improved.

[0044] S500: After determining that the sliding occurs, in order to meet the host requirement, interpolation is performed between 0 and 10 and between 90 and 100 to ensure that the sliding can be identified.

[0045] From the above, it can be seen that by applying the technical solution provided by the present invention, the data output by the whole machine is processed secondary, the jitter of the optical recognition data is filtered out, and the recognition range of the sliding gesture sensing is expanded. This is completely different from the general infrared sliding recognition technology, and is more accurate and efficient.

[0046] The above-described implementation methods do not constitute a limitation on the protection scope of the technical solution. Any modification, equivalent replacement and improvement made within the spirit and principle of the above-described implementation methods shall be included in the protection scope of the technical solution.

Claims

1. An infrared sliding gesture sensing and recognition method, characterized in that: The following steps are involved: S100, setting a rectangular coordinate system based on the infrared recognition range; S200, grab a set of continuous coordinate coefficients that fall into the rectangular coordinate system, and determine whether the horizontal coordinate value of the first data is within a first set range or a second set range; S300, eliminating invalid points in continuous coordinate coefficients; S400, comparing and sorting the retained valid coordinate coefficients, if there are three consecutive horizontal coordinate values ​​that increase, it is determined to be sliding to the right; if there are three consecutive horizontal coordinate values ​​that decrease, it is determined to be sliding to the left; Otherwise it is considered as invalid data; In step S300, the following steps are included: S301, comparing the ordinate values ​​of any two consecutive data in the continuous data; S302, if the difference is greater than the set value, the second data is determined to be invalid data, and the coordinate coefficient is discarded; In step S200, the first setting range is 10% to 30% of the starting point of the horizontal coordinate in the rectangular coordinate system; the second setting range is 10% to 30% of the ending point of the horizontal coordinate in the rectangular coordinate system; In step S200 , if the horizontal coordinate value of the first data is not within the first setting range or the second setting range, the group of continuous data is determined to be valid data.

2. The infrared sliding gesture sensing and recognition method according to claim 1, characterized in that: The set value is any integer between 3 and 10.

Citation Information

Patent Citations

  • Gesture recognition method based on coordinate conversion

    CN104182037A