Interaction method and device based on gesture recognition, computing equipment and storage medium
By reserveing buffers at the edge of the camera field of view and establishing mapping relationships, the problems of user operating discomfort at the edge and gestures out of the range in the prior art are solved, and operational failures are achieved, achieving higher operational comfort and accuracy.
Patent Information
- Application Number
- CN202411479448.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-10-22
AI Technical Summary
When the existing gesture recognition technology is far away from the camera, it is uncomfortable to operate elements close to the edge of the screen, poor user experience, and easy to fail in operation due to gestures moving out of the camera range.
By reserveing the starting and ending intervals at the edge of the camera's field of view and establishing a mapping relationship with the screen display interval, the user's hand movement data is converted, thereby achieving more comfortable and accurate operation.
Improves operational comfort and accuracy, reduces operational failures caused by gestures moving out of the camera range, and improves user experience and system stability and usability.
Smart Images

Figure CN119512361A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-computer interaction technology, and in particular to an interaction method, device, computing equipment and storage medium based on gesture recognition. Background Art
[0002] Currently, gesture recognition technology usually uses a method that directly maps the camera's frustum range to the screen range. However, this method has many problems. For example, when the user is far away from the camera, it is uncomfortable to operate elements close to the edge of the screen and the user experience is poor. In addition, the operation may fail due to the gesture moving out of the camera range, which affects the user experience and operation efficiency. Summary of the invention
[0003] The present invention provides an interaction method, device, computing equipment and storage medium based on gesture recognition to solve the problems existing in the prior art.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] An interactive method based on gesture recognition, comprising:
[0006] Capturing the user's hand motion data and obtaining the first gesture coordinates of the hand motion within the camera field of view;
[0007] Converting the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship;
[0008] performing interaction regarding the hand motion based on the second gesture coordinates;
[0009] The mapping relationship includes:
[0010] When the first gesture coordinates are located in the starting interval or the ending interval of the camera field of view interval, they are mapped to the edge area value interval of the screen display interval;
[0011] When the first gesture coordinates are located in the middle interval of the camera field of view interval, they are mapped to the middle area numerical interval of the screen display interval.
[0012] Optionally, converting the first gesture coordinates into second gesture coordinates within a screen display interval according to a corresponding mapping relationship includes:
[0013] The first gesture coordinates are converted to the second gesture coordinates based on the following formula:
[0014] The second gesture coordinates = (the first gesture coordinates - the minimum value of the camera field of view interval) / (the maximum value of the camera field of view interval - the minimum value of the camera field of view interval) × (the maximum value of the screen display interval - the minimum value of the screen display interval) + the minimum value of the screen display interval.
[0015] Optionally, converting the first gesture coordinates into second gesture coordinates within a screen display interval according to a corresponding mapping relationship includes:
[0016] Based on the linear segmented mapping relationship, the camera field of view interval on the X-axis / Y-axis is divided into multiple first segment intervals, and the screen display interval on the X-axis / Y-axis is correspondingly divided into multiple second segment intervals; each of the first segment intervals and each of the second segment intervals have a one-to-one correspondence in terms of position and order.
[0017] Optionally, the starting interval segment and the ending interval segment are symmetrically distributed in the length of the camera field of view interval;
[0018] The starting interval segment is linearly proportional to the numerical interval of the edge area of the screen display interval.
[0019] Optionally, the converting the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship further includes:
[0020] The second gesture coordinates are subjected to noise reduction processing.
[0021] Optionally, the noise reduction processing includes:
[0022] Testing the noise jitter range in the process of converting the first gesture coordinates into the second gesture coordinates, and setting a change threshold value according to the test result;
[0023] Analyzing a data change value when the first gesture coordinates are converted into the second gesture coordinates, and determining whether the data change value exceeds the set change threshold;
[0024] When the data change value exceeds the set change threshold, the second gesture coordinates are saved and recorded.
[0025] Optionally, the noise reduction processing further includes:
[0026] When the data change value does not exceed the set change threshold, linear interpolation is performed between the first gesture coordinate and the second gesture coordinate to obtain a plurality of intermediate coordinate values;
[0027] Analyze the data change value between each of the intermediate coordinate values and the first finger coordinate, and determine whether the data change value exceeds the set change threshold;
[0028] If there is no data change value of the intermediate coordinate value exceeding the set change threshold, the second gesture coordinate obtained by the current conversion is discarded and the original value is retained;
[0029] If there is one or more intermediate coordinate values whose data change value exceeds the set change threshold, the intermediate coordinate value with the largest value is selected, updated as the new second gesture coordinate and saved.
[0030] The present invention further provides a gesture recognition device, for implementing the interaction method based on gesture recognition as described in any one of the above items, comprising:
[0031] An acquisition unit, used to capture the user's hand motion data and acquire the first gesture coordinates of the hand motion within the camera field of view;
[0032] A processing unit, configured to convert the first gesture coordinates into second gesture coordinates within a screen display interval according to a corresponding mapping relationship;
[0033] An execution unit is used to execute the interaction regarding the hand action based on the second gesture coordinates.
[0034] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the above-mentioned gesture recognition-based interaction methods when executing the computer program.
[0035] The present invention also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are executed by a computer processor to implement the interaction method based on gesture recognition as described in any one of the above items.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] The present invention provides an interactive method, device, computing equipment and storage medium based on gesture recognition, which achieves a buffering effect by reserving a starting interval and an ending interval at the edge of the camera's field of view, and establishes a mapping relationship with the screen display interval, thereby avoiding the user's discomfort when operating at the edge; at the same time, the data accuracy is improved by concentrating the operation in the central area; in addition, the reasonable division of areas reduces the situation where the gesture moves out of the camera range and causes the operation to fail, greatly improving the operating comfort, enhancing the user experience, ensuring the accuracy and reliability of gesture recognition, and improving the stability and availability of the system.
[0038] The present invention has other features and advantages, which will be apparent from or will be described in detail in the accompanying drawings and the following detailed description incorporated herein, which together serve to explain the specific principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a schematic diagram of the camera's viewing frustum range and screen range;
[0041] Figure 2 It is a flowchart of an interaction method based on gesture recognition provided by the present invention;
[0042] Figure 3 It is a schematic diagram of a camera field of view interval in a coordinate system in an interaction method based on gesture recognition provided by the present invention;
[0043] Figure 4 It is a schematic diagram of mapping between a camera field of view interval and a screen display interval in an interaction method based on gesture recognition provided by the present invention;
[0044] Figure 5 It is a logic diagram of the steps of data noise reduction in an interaction method based on gesture recognition provided by the present invention;
[0045] Figure 6 It is a structural block diagram of a gesture recognition device provided by the present invention.
[0046] Reference numerals: 10, acquisition unit; 20, processing unit; 30, execution unit. DETAILED DESCRIPTION
[0047] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects that can be achieved, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0048] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.
[0049] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.
[0050] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.
[0051] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.
[0052] Without further limitations, in this application, the words "include", "comprises", "has" or other similar expressions used in the sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.
[0053] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.
[0054] In the description of the embodiments of the present application, space-related expressions used, such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "vertical", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicate the orientation or position relationship based on the orientation or position relationship shown in the specific embodiments or drawings, and are only for the convenience of describing the specific embodiments of the present application or facilitating the reader's understanding, and do not indicate or imply that the referred device or component must have a specific position, a specific orientation, or be constructed or operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.
[0055] Unless otherwise expressly specified or limited, in the description of the embodiments of the present application, the terms such as "install", "connect", "connect", "fix", "set", etc. used should be understood in a broad sense. For example, the "connection" can be a fixed connection, a detachable connection, or an integrated setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For technicians in the technical field to which the present application belongs, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0056] Please refer to Figure 1 An embodiment of the present invention provides an interactive method based on gesture recognition, which reserves a starting interval and an ending interval at the edge of the camera's field of view and establishes a mapping relationship with the screen display interval to achieve the effect of improving operation accuracy and comfort.
[0057] It is understandable that the prior art simply maps the camera's view cone range directly to the screen range, which will cause a series of problems. For example, when the distance to the camera is far, the view cone range reaches its maximum. At this time, if you want to operate elements close to the edge of the screen, your hand needs to slide to the edge of the camera's field of view. Operating at the edge of the field of view is not only uncomfortable, but also lacks a good user experience. At the same time, the data accuracy of the edge area of the view cone is much lower than that of the middle part of the view cone. In addition, if the gesture moves out of the camera range, the operation will fail.
[0058] In the present application, the starting interval and the ending interval reserved at the edge of the camera field of view are equivalent to providing a buffer effect. When the user's operating position is still some distance away from the edge of the visual cone and falls into the starting interval or the ending interval, the user's operation is mapped to the edge of the screen through a preset mapping relationship to avoid the user's discomfort when operating at the edge; at the same time, data accuracy is improved by concentrating the operation in the central area; in addition, reasonable division of areas reduces the situation where the gesture moves out of the camera range and causes operation failure, greatly improves the operating comfort, enhances the user experience, ensures the accuracy and reliability of gesture recognition, and improves the stability and availability of the system.
[0059] Please refer to Figure 2 Specifically, the gesture recognition-based interaction method provided in this embodiment includes:
[0060] S1. Capture the user's hand motion data and obtain the first gesture coordinates of the hand motion within the camera field of view.
[0061] In this step, the user's hand movement data is captured to obtain the first gesture coordinates of the hand movement within the camera field of view. It can be understood that this process monitors the user's hand movement through the camera and converts the position of the hand in the real space into the coordinate value within the camera field of view.
[0062] S2. Convert the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship.
[0063] The mapping relationships include:
[0064] When the first gesture coordinates are located in the starting interval or the ending interval of the camera field of view interval, they are mapped to the edge area value interval of the screen display interval;
[0065] When the first gesture coordinates are located in the middle interval of the camera field of view interval, they are mapped to the middle area value interval of the screen display interval.
[0066] In one implementation manner, converting the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship includes:
[0067] The first gesture coordinates are converted to the second gesture coordinates based on the following formula:
[0068] The second gesture coordinates = (the first gesture coordinates - the minimum value of the camera field of view interval) / (the maximum value of the camera field of view interval - the minimum value of the camera field of view interval) × (the maximum value of the screen display interval - the minimum value of the screen display interval) + the minimum value of the screen display interval.
[0069] Optionally, converting the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship includes:
[0070] Based on the linear segmented mapping relationship, the camera field of view interval on the X-axis / Y-axis is divided into multiple first segment intervals, and the screen display interval on the X-axis / Y-axis is correspondingly divided into multiple second segment intervals; each first segment interval and each second segment interval have a one-to-one correspondence in terms of position and order.
[0071] It can be understood that the linear segmented mapping relationship and the one-to-one correspondence relationship can make the mapping smoother, thereby improving the accuracy and response speed of gesture recognition.
[0072] Furthermore, 20%-30% of the area at the edge of the camera's field of view can be reserved as a buffer zone, and the central 70%-80% area can be used as an operation area.
[0073] For example, please refer to Figure 3 and Figure 4 , taking the X axis as an example, the area <20% is uniformly mapped to the leftmost side of the screen, and the area >80% is uniformly mapped to the rightmost side of the screen. Taking the X axis as an example, take the area 20%-80% as the operation area and map the area to the screen coordinates. If the camera X axis resolution is 100 and the screen resolution is 1000.
[0074] The calculation process is as follows:
[0075] When the gesture position is at coordinate 80, the coordinates of 1000 on the right edge of the screen are obtained:
[0076] 1000=(80-20) / (80–20)*(1000-0)+0;
[0077] When the gesture is at coordinate 20, the coordinate at screen coordinate 0 is obtained:
[0078] 0=(20–20) / (80-20)*(1000-0)+0.
[0079] In this embodiment, the user's operation comfort and accuracy are improved through a reasonable mapping relationship. When the user's hand is at different positions in the camera field of view, it can be accurately mapped to the corresponding position in the screen display area, avoiding the discomfort and inaccuracy of operation in the edge area.
[0080] Furthermore, this embodiment also includes: in the setting of the mapping relationship, according to different application scenarios and user needs, adjusting the division ratio of the camera field of view interval and the screen display interval, or using different functions for coordinate conversion to achieve the division method and mapping rules.
[0081] Furthermore, in this embodiment, the start interval segment and the end interval segment are symmetrically distributed in the length of the camera field of view interval;
[0082] The starting interval segment is linearly proportional to the numerical interval of the edge area of the screen display interval.
[0083] When the starting interval and the ending interval are symmetrically distributed in the length of the camera field of view, during the operation, whether the user's hand movement is close to the starting end or the end of the camera field of view, it can be mapped to the edge area of the screen display interval in a relatively similar way. This allows users to have certain expectations for the operation effects at different positions, improving the predictability and consistency of the operation. For example, after users are familiar with the operation mapping method at the starting end, they can quickly adapt to the operation at the end, reducing the learning cost.
[0084] It is understandable that the starting interval segment is linearly proportional to the edge area numerical interval of the screen display interval, which can make the operation smoother and more natural. When the user operates near the edge area, the changes in hand movements can be reflected more evenly on the screen display, without sudden jumps or discontinuities. This greatly improves the user experience and makes the user feel that the operation is smoother and more comfortable. At the same time, this linear proportional relationship also helps users control the position of gestures on the screen more accurately and improve the accuracy of the operation.
[0085] In addition, through clear symmetrical distribution relationships and linear proportional relationships, the system can be more stable and reliable when processing gesture coordinates at different positions. The system can accurately map and convert based on these fixed relationships, reducing errors and abnormalities caused by uncertainty. For example, in different usage environments, the system can maintain relatively stable performance and will not fluctuate significantly due to slight changes in the user's hand position, which improves the adaptability and robustness of the system.
[0086] Furthermore, in this embodiment, converting the first gesture coordinates into second gesture coordinates within the screen display interval according to the corresponding mapping relationship also includes:
[0087] The second gesture coordinates are subjected to noise reduction processing.
[0088] Please refer to Figure 5 , wherein the noise reduction processing includes:
[0089] Testing the noise jitter range in the process of converting the first gesture coordinates into the second gesture coordinates, and setting a change threshold value according to the test result;
[0090] Analyze the data change value when the first gesture coordinates are converted into the second gesture coordinates, and determine whether the data change value exceeds a set change threshold;
[0091] When the data change value exceeds the set change threshold, the second gesture coordinates are saved and recorded;
[0092] When the data change value does not exceed the set change threshold, linear interpolation is performed between the first gesture coordinate and the second gesture coordinate to obtain multiple intermediate coordinate values;
[0093] Analyze the data change value between each intermediate coordinate value and the first finger coordinate, and determine whether the data change value exceeds the set change threshold;
[0094] If there is no data change value of the intermediate coordinate value that exceeds the set change threshold, the second gesture coordinate obtained by the current conversion is discarded and the original value is retained;
[0095] If the data change value of one or more intermediate coordinate values exceeds the set change threshold, the intermediate coordinate value with the largest value is selected, updated as the new second gesture coordinate and saved.
[0096] In this embodiment, by testing the noise jitter range and setting the change threshold, some tiny unnecessary coordinate changes that may be caused by noise can be effectively filtered out, thereby reducing the jitter of the control point, so that the final second gesture coordinates more accurately reflect the user's real hand movements, improve the accuracy of gesture recognition, and ensure that the user's operating intentions can be more accurately captured and executed.
[0097] When the data change value does not exceed the threshold, linear interpolation can supplement some transition information that may be lost due to discarding small changes, making the change of gesture coordinates smoother and more natural. During the user operation, the data change amplitude will not suddenly increase due to frequent discarding of small changes, thereby ensuring the smoothness of the operation and improving the continuity and comfort of the operation.
[0098] Furthermore, re-analyzing and processing the intermediate coordinate values can avoid misjudgment that may occur due to single threshold judgment to a certain extent. If there is an intermediate coordinate value that exceeds the threshold, the intermediate coordinate value with the largest value is selected as the new second gesture coordinate and saved. This method can make the system more stable and reliable in handling various complex gesture changes, and improve the adaptability and robustness of the system.
[0099] S3. Perform interaction regarding the hand motion based on the second gesture coordinates.
[0100] In this embodiment, the interactive operation includes screen operation interaction, such as cursor control, click operation, sliding operation or zoom operation. Among them, the second gesture coordinates are used to control the movement of the cursor on the screen. The user uses hand movements to accurately position the cursor to a specific icon, button or text area to achieve quick selection and operation. When the hand movement corresponds to the second gesture coordinate range, the click operation can be triggered. The user uses the second gesture coordinate sequence generated by continuous hand movement changes to achieve sliding of screen content, such as sliding up and down to browse web pages, sliding left and right to switch pictures or pages, etc. For example, the user can also separate or close two fingers to zoom in or out of the screen content according to the corresponding second gesture coordinate changes, which is convenient for the user to view details or browse the overall situation.
[0101] Please refer to Figure 6 Based on the above embodiments, the present invention provides a gesture recognition device for implementing any of the above gesture recognition-based interaction methods, including:
[0102] The acquisition unit 10 is used to capture the user's hand motion data and acquire the first gesture coordinates of the hand motion within the camera field of view;
[0103] The processing unit 20 is used to convert the first gesture coordinates into second gesture coordinates within the screen display interval according to the corresponding mapping relationship;
[0104] The execution unit 30 is used to execute the interaction related to the hand action based on the second gesture coordinates.
[0105] First, the acquisition unit 10 captures the user's hand motion data and acquires the first gesture coordinates of the hand motion within the camera field of view. This process uses the camera to monitor the user's hand motion and converts the position of the hand in the real space into the coordinate value within the camera field of view.
[0106] Next, the processing unit 20 converts the first gesture coordinates into the second gesture coordinates within the screen display interval according to the corresponding mapping relationship. This mapping relationship is set according to different situations. When the first gesture coordinates are located at the starting interval or the ending interval of the camera field of view interval, they are mapped to the numerical interval of the edge area of the screen display interval; when the first gesture coordinates are located in the middle interval of the camera field of view interval, they are mapped to the numerical interval of the middle area of the screen display interval. At the same time, this embodiment also uses the following formula for conversion:
[0107] ; That is, the second gesture coordinate = (first gesture coordinate - minimum value of the camera field of view interval) / (maximum value of the camera field of view interval - minimum value of the camera field of view interval) × (maximum value of the screen display interval - minimum value of the screen display interval) + minimum value of the screen display interval. In addition, based on the linear segmented mapping relationship, the camera field of view interval on the X-axis is divided into multiple first sub-intervals, and the screen display interval on the X-axis is correspondingly divided into multiple second sub-intervals, and each first sub-interval and each second sub-interval correspond one to one in terms of position and order.
[0108] Finally, the execution unit 30 performs interaction regarding the hand motion based on the second gesture coordinates to achieve recognition and response to the gesture.
[0109] Based on the foregoing embodiments, this embodiment further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the interaction method based on gesture recognition as described above is implemented.
[0110] The present invention also provides a storage medium containing computer executable instructions, and the computer executable instructions are executed by a computer processor to implement any of the above gesture recognition-based interaction methods.
[0111] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of this application, this does not limit the scope of patent protection of this application. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of this application using the contents recorded in the specification and drawings of this application, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the scope of patent protection of this application.
Claims
1. An interactive method based on gesture recognition, characterized in that: include: Capturing the user's hand motion data and obtaining the first gesture coordinates of the hand motion within the camera field of view; Converting the first gesture coordinates into second gesture coordinates within the screen display interval according to a corresponding mapping relationship; performing interaction regarding the hand motion based on the second gesture coordinates; The mapping relationship includes: When the first gesture coordinates are located in the starting interval or the ending interval of the camera field of view interval, they are mapped to the edge area value interval of the screen display interval; When the first gesture coordinates are located in the middle interval of the camera field of view interval, they are mapped to the middle area numerical interval of the screen display interval.
2. The interactive method based on gesture recognition according to claim 1, characterized in that: The converting the first gesture coordinates into second gesture coordinates within the screen display interval according to the corresponding mapping relationship includes: The first gesture coordinates are converted to the second gesture coordinates based on the following formula: The second gesture coordinates = (the first gesture coordinates - the minimum value of the camera field of view interval) / (the maximum value of the camera field of view interval - the minimum value of the camera field of view interval) × (the maximum value of the screen display interval - the minimum value of the screen display interval) + the minimum value of the screen display interval.
3. The interactive method based on gesture recognition according to claim 1, characterized in that: The converting the first gesture coordinates into second gesture coordinates within the screen display interval according to the corresponding mapping relationship includes: Based on the linear segmented mapping relationship, the camera field of view interval on the X-axis / Y-axis is divided into multiple first segment intervals, and the screen display interval on the X-axis / Y-axis is correspondingly divided into multiple second segment intervals, and each of the first segment intervals and each of the second segment intervals correspond one to one in terms of position and order.
4. The interactive method based on gesture recognition according to claim 1, characterized in that: The starting interval segment and the ending interval segment are symmetrically distributed in the length of the camera field of view interval; The starting interval segment is linearly proportional to the numerical interval of the edge area of the screen display interval.
5. The interactive method based on gesture recognition according to claim 1, characterized in that: The converting the first gesture coordinates into second gesture coordinates within the screen display interval according to the corresponding mapping relationship also includes: The second gesture coordinates are subjected to noise reduction processing.
6. The interactive method based on gesture recognition according to claim 5, characterized in that: The noise reduction process comprises: Testing the noise jitter range in the process of converting the first gesture coordinates into the second gesture coordinates, and setting a change threshold value according to the test result; Analyzing a data change value when the first gesture coordinates are converted into the second gesture coordinates, and determining whether the data change value exceeds the set change threshold; When the data change value exceeds the set change threshold, the second gesture coordinates are saved and recorded.
7. The interactive method based on gesture recognition according to claim 5, characterized in that: The noise reduction process further includes: When the data change value does not exceed the set change threshold, linear interpolation is performed between the first gesture coordinate and the second gesture coordinate to obtain a plurality of intermediate coordinate values; Analyze the data change value between each of the intermediate coordinate values and the first finger coordinate, and determine whether the data change value exceeds the set change threshold; If there is no data change value of the intermediate coordinate value exceeding the set change threshold, the second gesture coordinate obtained by the current conversion is discarded and the original value is retained; If there is one or more intermediate coordinate values whose data change value exceeds the set change threshold, the intermediate coordinate value with the largest value is selected, updated as the new second gesture coordinate and saved.
8. A gesture recognition device, characterized in that: The method for implementing the interaction method based on gesture recognition according to any one of claims 1 to 7 comprises: An acquisition unit, used to capture the user's hand motion data and acquire the first gesture coordinates of the hand motion within the camera field of view; A processing unit, configured to convert the first gesture coordinates into second gesture coordinates within a screen display interval according to a corresponding mapping relationship; An execution unit is used to execute the interaction regarding the hand action based on the second gesture coordinates.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the interaction method based on gesture recognition as described in any one of claims 1 to 7 is implemented.
10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are executed by a computer processor to implement the interaction method based on gesture recognition as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Touch control device and working method therefor
CN104991684A
Man-machine interaction method based on dynamic gesture coordinate mapping
CN110908512A
Gesture control method, system and device and storage medium
CN114333056A
The method of pointing and controlling objects on screen at long range using 3D positions of eyes and hands
KR1020120136719A
Determining a position of an item in a virtual augmented space
US20140063061A1