Gesture control method, device, equipment and storage medium based on display screen

By identifying and matching gesture control action sequences in real time, the problem of high delay in gesture control in the existing technology is solved, fast-responsive display control is achieved, and the smoothness of the user experience is improved.

CN118409661BActive Publication Date: 2024-10-01SHENZHEN AOLY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410874446.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-01
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

Existing gesture control methods have a high delay when performing gesture action control, resulting in delay and frustration in the user experience.

Method used

Obtain hand image information through the camera, identify control preparatory gestures in real time, generate gesture control action sequences, and match them with candidate gesture control action sequences to determine target control instructions in real time and shorten the time delay of gesture control.

Benefits of technology

It achieves quick response to control gestures on the display, reduces the delay of gesture control, and improves the smoothness of the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118409661B_ABST
    Figure CN118409661B_ABST
Patent Text Reader

Abstract

The present application discloses a gesture control method, device, equipment and storage medium based on a display screen, and relates to the field of intelligent control technology. The present application includes: obtaining hand image information collected by a camera, identifying the hand image information, and when a control preparation gesture is identified, obtaining a gesture control action sequence according to the control preparation gesture, determining the first gesture control action in the gesture control action sequence as a starting hand posture, traversing a gesture control list according to the starting hand posture to obtain a candidate gesture control action sequence, matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result, and when the number of corresponding candidate gesture control action sequences in the matching result is one, using the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and controlling the display screen based on the gesture control action to achieve a quick response to the control gesture of the display screen, and then performing gesture control of the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a gesture control method, device, equipment and storage medium based on a display screen. Background Art

[0002] Gesture control display screen is an emerging user interface technology, which can recognize user gestures through the camera on the display screen, determine the user's gestures, and establish a connection between the recognized gestures and the set gestures and control instructions. At this time, it is necessary to search for the corresponding control instructions from the control instruction library based on the recognized gestures. The specific process is to recognize the gestures, match the obtained gestures with the control instruction library, and determine the target control instructions. This gesture control method has a large time delay in the process of determining the gesture instructions, which will cause a sense of delay and frustration in the gesture control display screen. Therefore, there is an urgent need for a gesture control method that can reduce the delay of gesture control.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present application is to provide a gesture control method, device, equipment and storage medium based on a display screen, aiming to solve the technical problem of high delay in gesture control of a display screen in the prior art.

[0005] To achieve the above objectives, the present application proposes a gesture control method based on a display screen, and the gesture control method based on a display screen includes:

[0006] Acquire hand image information collected by a camera, identify the hand image information, and when a control preparatory gesture is identified, obtain a gesture control action sequence according to the control preparatory gesture;

[0007] Determine the first gesture control action in the gesture control action sequence as a starting hand gesture, and traverse the gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence;

[0008] Matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result;

[0009] When the number of candidate gesture control action sequences corresponding to the matching result is one, the candidate gesture control action sequence corresponding to the matching result is used as a target gesture control action, and the display screen is controlled based on the gesture control action.

[0010] In one embodiment, the step of recognizing the hand image information and obtaining a gesture control action sequence according to the control preparatory gesture when a control preparatory gesture is recognized includes:

[0011] Performing feature recognition on the hand image to determine a hand feature area;

[0012] Cropping the hand image according to the hand feature area to obtain a hand feature image;

[0013] Performing feature recognition on the hand feature image to determine hand feature points, and determining a hand feature sequence according to the hand feature points;

[0014] Matching the hand feature sequence with the hand feature sequence corresponding to the control preparation gesture, and when the match is successful, determining the hand feature image as the control preparation gesture;

[0015] A gesture control action sequence is obtained according to the control preparation gesture.

[0016] In one embodiment, the step of obtaining a gesture control action sequence according to the control preparation gesture comprises:

[0017] determining an image frame of the hand image according to the control preparation gesture;

[0018] Taking the image frame as a current frame, comparing the hand feature points in the next image frame of the current frame with the hand feature points in the current frame to determine the motion features of the hand feature points;

[0019] The next image frame of the current frame is determined as a new current frame, and the steps of taking the image frame as the current frame, comparing the hand feature points in the next image frame of the current frame with the hand feature points in the current frame, and determining the motion features of the hand feature points are repeated until a gesture control action sequence is obtained, wherein the gesture control action sequence includes the motion features of multiple hand feature points.

[0020] In one embodiment, the step of determining the first gesture control action in the gesture control action sequence as a starting hand gesture, and traversing the gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence comprises:

[0021] Determining the first gesture control action in the gesture control action sequence as the starting gesture;

[0022] Obtaining a target index code corresponding to the starting gesture;

[0023] Based on the target index code, the gesture control list is traversed to determine a gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code, and the gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code is taken as a candidate gesture control action sequence.

[0024] In one embodiment, the step of matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result includes:

[0025] Determine an index code sequence of the gesture control action according to the gesture control action sequence;

[0026] Determine a candidate index code sequence of the candidate gesture control action according to the candidate gesture control action sequence;

[0027] The index code sequence is compared with the candidate index codes one by one according to the index code positions, and when the comparison is successful, a matching result is obtained.

[0028] In one embodiment, before the step of when the number of candidate gesture control action sequences corresponding to the matching result is one, the step further includes:

[0029] Detecting the number of candidate gesture control action sequences corresponding to the matching results;

[0030] When the number of corresponding candidate gesture control action sequences in the matching result is not one, comparing the next index code position and monitoring the number of remaining candidate index code sequences;

[0031] When the number of the remaining candidate index code sequences is not one, the steps of comparing the next index code position and monitoring the number of the remaining candidate index code sequences are repeated.

[0032] In one embodiment, the step of controlling the display screen based on the gesture control action includes:

[0033] Generate a mapping plane of the same size according to the resolution of the display screen;

[0034] Projecting the gesture control action on the mapping plane to determine a mapping point of the gesture control action on the mapping plane;

[0035] Determine a gesture control point according to the gesture control action, project the gesture control point onto the mapping plane, and determine a mapping point of the gesture control point on the mapping plane;

[0036] According to the gesture control action, a corresponding control instruction is matched, and the control instruction is applied to the mapping point of the mapping plane to realize control of the display screen.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a gesture control device based on a display screen, and the gesture control device based on a display screen comprises:

[0038] A gesture recognition module is used to obtain hand image information collected by a camera, recognize the hand image information, and when a control preparatory gesture is recognized, obtain a gesture control action sequence according to the control preparatory gesture;

[0039] A gesture traversal module, used for determining the first gesture control action in the gesture control action sequence as a starting hand gesture, traversing a gesture control list according to the starting hand gesture, and obtaining a candidate gesture control action sequence;

[0040] A gesture matching module, used for matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result;

[0041] The gesture control module is used to, when the number of candidate gesture control action sequences corresponding to the matching result is one, use the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and perform display screen control based on the gesture control action.

[0042] In addition, to achieve the above-mentioned objectives, the present application also proposes a display-based gesture control device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the display-based gesture control method as described above.

[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the gesture control method based on the display screen as described above are implemented.

[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the gesture control method based on the display screen as described above are implemented.

[0045] One or more technical solutions proposed in the present application have at least the following technical effects: obtaining hand image information collected by a camera, identifying the hand image information, and when a control preparatory gesture is identified, obtaining a gesture control action sequence according to the control preparatory gesture, determining the first gesture control action in the gesture control action sequence as a starting hand posture, traversing a gesture control list according to the starting hand posture to obtain a candidate gesture control action sequence, matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result, and when the number of corresponding candidate gesture control action sequences in the matching result is one, using the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and performing display screen control based on the gesture control action, thereby achieving a quick response to the control gesture of the display screen, and then performing gesture control of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0047] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 A flowchart of the first embodiment of the gesture control method based on the display screen of the present application is provided;

[0049] Figure 2 A schematic diagram of determining hand feature points provided in an embodiment of a gesture control method based on a display screen of the present application;

[0050] Figure 3 A schematic diagram of determining motion features of hand feature points provided in an embodiment of a gesture control method based on a display screen of the present application;

[0051] Figure 4 A schematic diagram of candidate gesture control action sequences provided for an embodiment of a gesture control method based on a display screen of the present application;

[0052] Figure 5 A flowchart of the second embodiment of the gesture control method based on the display screen of the present application is provided;

[0053] Figure 6 This is a schematic diagram of the module structure of a gesture control device based on a display screen according to an embodiment of the present application;

[0054] Figure 7Schematic diagram of the device structure of the hardware operating environment involved in the gesture control method based on the display screen in the embodiment of the present application.

[0055] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0058] The main solution of the embodiment of the present application is: obtaining hand image information collected by a camera, identifying the hand image information, and when a control preparatory gesture is identified, obtaining a gesture control action sequence according to the control preparatory gesture, determining the first gesture control action in the gesture control action sequence as a starting hand posture, traversing a gesture control list according to the starting hand posture to obtain a candidate gesture control action sequence, matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result, and when the number of corresponding candidate gesture control action sequences in the matching result is one, using the candidate gesture control action sequence corresponding to the matching result as the target gesture control action, and performing display screen control based on the gesture control action to achieve a quick response to the control gesture of the display screen, and then performing gesture control of the display screen.

[0059] In this embodiment, for the convenience of description, the following description is made by taking the identification of a gesture control device based on a display screen as the execution subject.

[0060] Since the prior art performs gesture control by first recognizing and storing the gesture, traversing the complete gesture and control instructions, and determining the control instructions, this process requires waiting time for gesture recognition and instruction search. A long waiting time is required from the time the user executes a gesture to the time the corresponding control behavior is made, resulting in a high delay in the prior gesture control display.

[0061] The present application provides a solution that can match gesture actions acquired by the camera of a display screen with a gesture control instruction library in real time, and can match control instructions in real time during the execution of gesture actions, that is, it can adaptively determine the target control instructions during the execution of gesture actions, and there is no need to match instructions based on gesture actions after the gesture action is completed, thereby shortening the time delay of gesture control.

[0062] It can be seen from the above embodiments that the present application obtains hand image information collected by a camera, identifies the hand image information, and when a control preparatory gesture is identified, obtains a gesture control action sequence according to the control preparatory gesture, determines the first gesture control action in the gesture control action sequence as the starting hand posture, traverses the gesture control list according to the starting hand posture, obtains a candidate gesture control action sequence, matches the gesture control action sequence with the candidate gesture control action sequence, and obtains a matching result. When the number of corresponding candidate gesture control action sequences in the matching result is one, the candidate gesture control action sequence corresponding to the matching result is used as the target gesture control action, and performs display screen control based on the gesture control action, thereby achieving a quick response to the control gesture of the display screen, and then performing gesture control of the display screen.

[0063] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a gesture control device based on a display screen, etc. The following takes a gesture control device based on a display screen as an example to illustrate this embodiment and the following embodiments.

[0064] Based on this, the embodiment of the present application provides a gesture control method based on a display screen, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the gesture control method based on the display screen of the present application.

[0065] In this embodiment, the gesture control method based on the display screen includes steps S10 to S40:

[0066] Step S10, obtaining hand image information collected by a camera, identifying the hand image information, and when a control preparatory gesture is identified, obtaining a gesture control action sequence according to the control preparatory gesture.

[0067] It should be noted that hand image information refers to the hand image information of the user used to control the display screen collected by the camera installed in the camera area of ​​the display screen. The hand image information records the number of hands in the camera area, the shape of the hands, the movements of the hands, and other information. The control preparatory gesture is the hand image information used to identify control gestures and non-control gestures. The control preparatory gesture is an agreed action, in which the agreed action can use the default action or the user can change it according to their own usage habits. When the camera detects the preparatory gesture, the gesture control is started.

[0068] In a specific implementation, when the display screen is in working state, it can determine whether to turn on the gesture control function according to the system setting parameters. When the gesture control function of the display screen is turned on, the camera can monitor the scene in the recognition area in real time and repeatedly execute the action of obtaining the hand image in the recognition area. In order to reduce energy consumption, when there is no hand in the recognition area, it can be in standby mode with low power consumption. When the hand image is monitored in the recognition area, the tracking and recognition of the hand image can be started, and the focus of the camera can be locked on the hand to obtain a clear image of the hand. When a clear image of the hand is obtained, the hand image can be recognized and the hand movement can be determined. When the hand movement is a control preparatory gesture, the control preparatory gesture can be used as the starting sequence point to determine the gesture movement as a gesture control action sequence.

[0069] In a feasible implementation manner, the step of identifying the hand image information and obtaining a gesture control action sequence according to the control preparatory gesture when a control preparatory gesture is identified includes:

[0070] Performing feature recognition on the hand image to determine a hand feature area;

[0071] Cropping the hand image according to the hand feature area to obtain a hand feature image;

[0072] Performing feature recognition on the hand feature image to determine hand feature points, and determining a hand feature sequence according to the hand feature points;

[0073] Matching the hand feature sequence with the hand feature sequence corresponding to the control preparation gesture, and when the match is successful, determining the hand feature image as the control preparation gesture;

[0074] A gesture control action sequence is obtained according to the control preparation gesture.

[0075] It should be noted that the hand feature area refers to the image area that includes hand features in the hand image. It can be known that in addition to the hand feature image, the hand image also includes image information such as environmental information or torso information that is not related to the hand features. The hand feature image includes information such as the fingers and palms of the hand. The hand feature sequence refers to the key action feature points during the hand movement. The key action feature points of the entire hand movement are sorted in time series to obtain the hand feature sequence.

[0076] In the specific implementation, when the hand image is subjected to feature recognition and the hand feature area is obtained, the hand image is firstly subjected to grayscale conversion, the RGB value of each pixel in the hand image is identified, and then the grayscale value of each pixel in the hand image is converted according to the formula: Each pixel in the hand image is converted to grayscale to obtain a grayscale image, and then the grayscale image is denoised to reduce the noise interference in the hand image. Specifically, the grayscale image is subjected to Gaussian denoising and a Gaussian kernel is determined, where the Gaussian kernel is a The matrix of is the radius of the filter, and each value in the kernel is calculated by a Gaussian function, where the standard deviation of the Gaussian function determines the smoothness of the filter. For the Gaussian function, the standard deviation determines the width and shape of the distribution, and the probability density function of the Gaussian function can be expressed as:

[0077]

[0078] in, is the mean of the Gaussian distribution, is the standard deviation, is the pixel value in the grayscale image.

[0079] Standard Deviation The calculation is based on the variance of the data set , the variance is the average of the squares of the differences between each data point and its mean, and the standard deviation is the square root of the variance. , the calculation steps of standard deviation are:

[0080]

[0081]

[0082]

[0083] The Gaussian kernel is convolved with the image, that is, for each pixel in the image, its value is weighted averaged with the surrounding pixel values, and the weight of the weighted average is the corresponding value in the Gaussian kernel; before the convolution operation, the Gaussian kernel needs to be normalized so that the sum of all values ​​in the kernel is 1, so as to ensure that the brightness of the filtered image remains unchanged; after the convolution is completed, the output image is the denoised image.

[0084] After denoising the hand image, the pre-trained hand detection model can be used to locate the hand area in the image, and the hand area is extracted. The hand features are extracted based on the convolutional neural network CNN to obtain the hand feature area. At this point, the hand features in the hand feature image are determined in the hand image, and the hand image is cropped with the hand features as the center to obtain a hand feature image that only includes the hand features. The hand feature image is then feature-recognized to determine the feature points of the hand. Figure 2 , Figure 2Schematic diagram for determining hand feature points. The feature points are hand joint points. At this time, the coordinates of each feature point can be determined by the hand feature points, and the coordinates of each feature point are used to construct a feature array of the gesture action, which can be expressed as ,in are the coordinates of the hand feature points, Indicates the current time. Indicates the direction of change between the current feature and the previous feature. And operate each feature point in the gesture in the same way to obtain the hand feature sequence , and match the hand feature sequence with the hand feature sequence corresponding to the control preparation gesture to determine whether the current gesture action requires gesture control. At this time, the detected gesture feature sequence can be compared with the features of the control preparation gesture to determine whether the feature change direction in the sequence features is consistent. When the match is successful, the current hand feature image is determined as the control preparation gesture, and when the control preparation gesture is determined, the gesture action after the control preparation gesture can be used as a gesture control action to generate a gesture control action sequence. As another feasible operation method, the control preparation gesture can be used as the first feature action sequence in the first gesture action sequence in the gesture control action sequence.

[0085] In a feasible implementation manner, the step of obtaining a gesture control action sequence according to the control preparation gesture includes:

[0086] determining an image frame of the hand image according to the control preparation gesture;

[0087] Taking the image frame as a current frame, comparing the hand feature points in the next image frame of the current frame with the hand feature points in the current frame to determine the motion features of the hand feature points;

[0088] The next image frame of the current frame is determined as a new current frame, and the steps of taking the image frame as the current frame, comparing the hand feature points in the next image frame of the current frame with the hand feature points in the current frame, and determining the motion features of the hand feature points are repeated until a gesture control action sequence is obtained, wherein the gesture control action sequence includes the motion features of multiple hand feature points.

[0089] It should be noted that the hand image refers to an image that records the gesture movement posture and trajectory, wherein this image is obtained by arranging a number of image frames in a time series, so the image frame is a component of the hand image.

[0090] In a specific implementation, when the control preparatory gesture is determined, it is equivalent to determining the starting point of the gesture action, and taking the image frame recording the control preparatory gesture as the starting point, taking the image frame recording the control preparatory gesture as the current frame, and comparing the hand feature points in the next frame of the current frame with the hand feature points in the current frame to obtain the motion features of the hand feature points, referring to Figure 3 , Figure 3 A schematic diagram of determining the motion characteristics of hand feature points. Take one of the feature points as an example for explanation. A hand image includes multiple image frames. Figure 3 , a method for determining the motion features of a feature point is shown in FIG. 1 . First, when determining the motion features, the first image frame is used as the current frame. Since motion is the extension of different motion postures in time, the next image frame of the current frame can be used as the target feature after motion. Therefore, according to the changes of the feature points between the two image frames, the motion features of the feature points can be determined, including the motion direction and motion distance, etc. This process is continuously repeated. After the first feature comparison is completed, the next image frame of the current frame can be used as the new current frame, and the motion features of the feature points in the two frames are determined by comparing with the next image frame of the new current frame. This cycle is repeated until the complete motion features of the current feature point in the hand image are obtained. Similarly, the same method is used for each feature point on the hand to obtain the gesture control action sequence.

[0091] Step S20: determine the first gesture control action in the gesture control action sequence as a starting hand gesture, and traverse a gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence.

[0092] It should be noted that the starting hand gesture is the first hand gesture in the gesture control action, and is used to identify the current gesture control sequence.

[0093] In a specific implementation, the first gesture control action in the gesture control action sequence is determined as the starting hand posture, and each gesture control sequence in the gesture control list is traversed with the currently determined starting hand posture, and the gesture control sequence that can be successfully matched is determined as the candidate gesture control action sequence.

[0094] In a feasible implementation manner, the step of determining the first gesture control action in the gesture control action sequence as the starting hand gesture, and traversing the gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence includes:

[0095] Determining the first gesture control action in the gesture control action sequence as the starting gesture;

[0096] Obtaining a target index code corresponding to the starting gesture;

[0097] Based on the target index code, the gesture control list is traversed to determine a gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code, and the gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code is taken as a candidate gesture control action sequence.

[0098] It should be noted that the index code refers to a medium that converts gestures into one dimension, that is, different gesture features are mapped to index codes to obtain a one-to-one correspondence between index codes and gestures. Similarly, when storing gesture control action sequences, the corresponding index codes can be saved. During the traversal process, only the index codes at the corresponding positions need to be matched to achieve hand action feature matching.

[0099] In a specific implementation, the first gesture control action in the current gesture control action is determined as the starting gesture, and the corresponding target index code is obtained according to the starting gesture matching. At this time, the gesture control list can be traversed based on the target index code to determine the gesture control action sequence in the gesture control list with the same index code as the starting gesture, and the gesture control action sequence with the same index code as the target index code corresponding to the starting gesture in the gesture control list is used as a candidate gesture control action sequence. Figure 4 , Figure 4 Schematic diagram of candidate gesture control action sequences. For example, if the current hand feature sequence is L (x1, x2, x3, x4, x5....), the gesture control list at this time includes hand feature sequences L1~L5. The first target index code x1 in the hand feature sequence L is matched with the same position in the hand feature sequence L1~L5. For example, in the first matching process, the hand feature sequence L1~L3 is successfully matched. At this time, the candidate gesture control action features are L1~L3. Then, the hand feature sequence is selected as the second index code in the order of L, and matched in the same way, and the candidate gesture control action sequences that have been screened are continuously screened, and the candidate gesture control action sequences are continuously updated.

[0100] Step S30: Match the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result.

[0101] In a specific implementation, the sequence values ​​in the same position of a gesture action sequence and a candidate gesture control action sequence can be compared. During each comparison, the subsequent match is performed only after the previous position matches successfully. At the same time, after each match, a matching result is generated to update the candidate gesture control action sequence.

[0102] In a feasible implementation manner, the step of matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result includes:

[0103] Determine an index code sequence of the gesture control action according to the gesture control action sequence;

[0104] Determine a candidate index code sequence of the candidate gesture control action according to the candidate gesture control action sequence;

[0105] The index code sequence is compared with the candidate index codes one by one according to the index code positions, and when the comparison is successful, a matching result is obtained.

[0106] In a specific implementation, after determining the index code sequence of a gesture control action according to the gesture control action sequence, and determining the candidate index code sequence of a candidate gesture control action according to the candidate gesture control action sequence, the index codes in the gesture control action sequence can be matched with the candidate index codes of the candidate gesture control action, that is, the i-th index code in the gesture control action sequence is matched with the i-th candidate index code of the candidate gesture control action. Only when the i-1-th index code matches successfully, will the i-th index code be matched to obtain a matching result.

[0107] Step S40: When the number of candidate gesture control action sequences corresponding to the matching result is one, the candidate gesture control action sequence corresponding to the matching result is used as a target gesture control action, and the display screen is controlled based on the gesture control action.

[0108] In a feasible implementation manner, the step of controlling the display screen based on the gesture control action includes:

[0109] Generate a mapping plane of the same size according to the resolution of the display screen;

[0110] Projecting the gesture control action on the mapping plane to determine a mapping point of the gesture control action on the mapping plane;

[0111] Determine a gesture control point according to the gesture control action, project the gesture control point onto the mapping plane, and determine a mapping point of the gesture control point on the mapping plane;

[0112] According to the gesture control action, a corresponding control instruction is matched, and the control instruction is applied to the mapping point of the mapping plane to realize control of the display screen.

[0113] In a specific implementation, a mapping plane of the same size is generated according to the resolution of the display screen, and the gesture control action is projected on the mapping plane, the mapping point of the gesture control action on the mapping plane is determined, and the gesture control point is determined according to the gesture control action, the gesture control point is projected on the mapping plane, the mapping point of the gesture control point on the mapping plane is determined, and the corresponding control instruction is matched according to the gesture control action, and the control instruction is applied to the mapping point of the mapping plane to realize the control of the display screen. For example, the current gesture control action is a grab-drag action, at which time the gesture action can be projected onto the mapping plane in the display screen, and the user's hand action can be synchronously displayed on the display screen. When performing gesture control, when determining the point to be grabbed, the grabbed point is moved to the target position to realize the action control of moving the file on the display screen, or a zoom-in / zoom-out action, the zoom-in / zoom-out instruction can be matched through the gesture control action, and the mapping point in the mapping plane is determined according to the gesture control action, and the zoom-in / zoom-out instruction is applied to the mapping point, and the zoom-in / zoom-out ratio is determined according to the gesture control action.

[0114] The present embodiment provides a gesture control method based on a display screen, which obtains hand image information collected by a camera, recognizes the hand image information, and when a control preparatory gesture is recognized, obtains a gesture control action sequence according to the control preparatory gesture, determines the first gesture control action in the gesture control action sequence as a starting hand posture, traverses a gesture control list according to the starting hand posture to obtain a candidate gesture control action sequence, matches the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result, and when the number of corresponding candidate gesture control action sequences in the matching result is one, uses the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and performs display screen control based on the gesture control action, thereby achieving a quick response to the control gesture of the display screen, and then performing gesture control of the display screen.

[0115] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 5 Before step S40, the gesture control method based on the display screen further includes steps S401 to S403:

[0116] Step S401: detecting the number of corresponding candidate gesture control action sequences in the matching results;

[0117] Step S402: when the number of corresponding candidate gesture control action sequences in the matching result is not one, comparing the next index code position and monitoring the number of remaining candidate index code sequences;

[0118] Step S403: when the number of the remaining candidate index code sequences is not one, repeat the steps of comparing the next index code position and monitoring the number of the remaining candidate index code sequences.

[0119] In a specific implementation, the number of candidate gesture control action sequences in the matching results is detected. When the number of corresponding candidate gesture control action sequences in the matching results is not one, the next index code position is compared and the number of remaining candidate index code sequences is monitored. When the number of remaining candidate index code sequences is not one, the steps of comparing the next index code position and monitoring the number of remaining candidate index code sequences are repeated.

[0120] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the display screen-based gesture control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0121] This application also provides a gesture control device based on a display screen, please refer to Figure 6 , the gesture control device based on the display screen comprises:

[0122] The gesture recognition module 10 is used to obtain the hand image information collected by the camera, recognize the hand image information, and when a control preparation gesture is recognized, obtain a gesture control action sequence according to the control preparation gesture;

[0123] A gesture traversal module 20, configured to determine the first gesture control action in the gesture control action sequence as a starting hand gesture, and traverse a gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence;

[0124] A gesture matching module 30, used to match the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result;

[0125] The gesture control module 40 is configured to, when the number of candidate gesture control action sequences corresponding to the matching result is one, use the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and perform display screen control based on the gesture control action.

[0126] The display-based gesture control device provided by the present application adopts the display-based gesture control method in the above embodiment, which can solve the technical problem of high delay in gesture control of the display in the prior art. Compared with the prior art, the beneficial effects of the display-based gesture control device provided by the present application are the same as the beneficial effects of the display-based gesture control method provided by the above embodiment, and the other technical features of the display-based gesture control device are the same as the features disclosed in the above embodiment method, which will not be described in detail here.

[0127] The present application provides a gesture control device based on a display screen, and the gesture control device based on a display screen includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the gesture control method based on the display screen in the above-mentioned embodiment 1.

[0128] Reference below Figure 7 , which shows a schematic diagram of the structure of a gesture control device based on a display screen suitable for implementing the embodiment of the present application. The gesture control device based on a display screen in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The gesture control device based on a display screen shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0129] like Figure 7As shown, the gesture control device based on the display screen may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the gesture control device based on the display screen are also stored. The processing device 1001, the ROM 1002 and the RAM 1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the display-based gesture control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a display-based gesture control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0130] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0131] The display-based gesture control device provided by the present application adopts the display-based gesture control method in the above embodiment, which can solve the technical problem of high delay in gesture control of the display screen in the prior art. Compared with the prior art, the beneficial effects of the display-based gesture control device provided by the present application are the same as the beneficial effects of the display-based gesture control method provided by the above embodiment, and the other technical features of the display-based gesture control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0132] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0134] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the gesture control method based on the display screen in the above-mentioned embodiment.

[0135] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0136] The computer-readable storage medium may be included in the gesture control device based on a display screen; or may exist independently without being assembled into the gesture control device based on a display screen.

[0137] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the gesture control device based on the display screen, the gesture control device based on the display screen:

[0138] Acquire hand image information collected by a camera, identify the hand image information, and when a control preparatory gesture is identified, obtain a gesture control action sequence according to the control preparatory gesture;

[0139] Determine the first gesture control action in the gesture control action sequence as a starting hand gesture, and traverse the gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence;

[0140] Matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result;

[0141] When the number of candidate gesture control action sequences corresponding to the matching result is one, the candidate gesture control action sequence corresponding to the matching result is used as a target gesture control action, and the display screen is controlled based on the gesture control action.

[0142] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0144] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0145] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned gesture control method based on the display screen, and can solve the technical problem of high delay in gesture control of the display screen in the prior art. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the gesture control method based on the display screen provided in the above-mentioned embodiment, and will not be elaborated here.

[0146] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned display screen-based gesture control method when executed by a processor.

[0147] The computer program product provided by the present application can solve the technical problem of high delay in gesture control of display screens in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the gesture control method based on the display screen provided by the above embodiment, and will not be elaborated here.

[0148] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A gesture control method based on a display screen, characterized in that: The gesture control method based on the display screen includes: Acquiring hand image information captured by a camera, recognizing the hand image information, and obtaining a gesture control action sequence according to the control preparatory gesture when a control preparatory gesture is recognized; Determining the first gesture control action in the gesture control action sequence as a starting hand gesture, and traversing a gesture control list according to the starting hand gesture to obtain a candidate gesture control action sequence; Matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result; When the number of corresponding candidate gesture control action sequences in the matching result is one, taking the candidate gesture control action sequence corresponding to the matching result as the target gesture control action, and performing display screen control based on the gesture control action; The step of determining the first gesture control action in the gesture control action sequence as a starting gesture, and traversing the gesture control list according to the starting gesture to obtain a candidate gesture control action sequence includes: Determining the first gesture control action in the gesture control action sequence as a starting gesture; Obtaining a target index code corresponding to the starting gesture; Traversing the gesture control list based on the target index code, determining a gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code, and taking the gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code as a candidate gesture control action sequence; The step of matching the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result includes: Determining an index code sequence of the gesture control action according to the gesture control action sequence; Determining a candidate index code sequence of the candidate gesture control action according to the candidate gesture control action sequence; Comparing the index code sequence with the candidate index code sequence one by one according to the index code positions, and obtaining a matching result when the comparison is successful; Before the step of when the number of candidate gesture control action sequences corresponding to the matching result is one, the following steps are further included: Detecting the number of candidate gesture control action sequences corresponding to the matching results; When the number of corresponding candidate gesture control action sequences in the matching result is not one, comparing the next index code position and monitoring the number of remaining candidate index code sequences; When the number of the remaining candidate index code sequences is not one, the steps of comparing the next index code position and monitoring the number of the remaining candidate index code sequences are repeated.

2. The method according to claim 1, wherein The step of recognizing the hand image information and obtaining a gesture control action sequence according to the control preparatory gesture when a control preparatory gesture is recognized includes: Performing feature recognition on the hand image to determine a hand feature area; cropping the hand image according to the hand feature region to obtain a hand feature image; Performing feature recognition on the hand feature image to determine hand feature points, and determining a hand feature sequence based on the hand feature points; matching the hand feature sequence with a hand feature sequence corresponding to a preparatory control gesture, and determining the hand feature image as a preparatory control gesture when the match is successful; A gesture control action sequence is obtained according to the control preparatory gesture.

3. The method according to claim 2, wherein The step of obtaining a gesture control action sequence according to the control preparatory gesture comprises: determining an image frame of the hand image according to the control preparatory gesture; Taking the image frame as a current frame, comparing hand feature points in an image frame next to the current frame with hand feature points in the current frame to determine motion features of the hand feature points; The next image frame of the current frame is determined as a new current frame, and the steps of taking the image frame as the current frame, comparing the hand feature points in the next image frame of the current frame with the hand feature points in the current frame, and determining the motion features of the hand feature points are repeated until a gesture control action sequence is obtained, wherein the gesture control action sequence includes the motion features of multiple hand feature points.

4. The method according to claim 1, wherein The step of controlling the display screen based on the gesture control action includes: Generate a mapping plane of the same size according to the resolution of the display screen; Projecting the gesture control action on the mapping plane to determine a mapping point of the gesture control action on the mapping plane; determining a gesture control point according to the gesture control action, projecting the gesture control point onto the mapping plane, and determining a mapping point of the gesture control point on the mapping plane; According to the gesture control action, a corresponding control instruction is matched, and the control instruction is applied to the mapping point of the mapping plane to realize control of the display screen.

5. A gesture control device based on a display screen, characterized in that: The device comprises: A gesture recognition module is used to obtain hand image information collected by the camera, recognize the hand image information, and when a control preparatory gesture is recognized, obtain a gesture control action sequence according to the control preparatory gesture; a gesture traversal module, configured to determine the first gesture control action in the gesture control action sequence as a starting gesture, and traverse the gesture control list according to the starting gesture to obtain a candidate gesture control action sequence; a gesture matching module, configured to match the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result; a gesture control module, configured to, when the number of candidate gesture control action sequences corresponding to the matching result is one, use the candidate gesture control action sequence corresponding to the matching result as a target gesture control action, and perform display screen control based on the gesture control action; The step of determining the first gesture control action in the gesture control action sequence as a starting gesture, and traversing the gesture control list according to the starting gesture to obtain a candidate gesture control action sequence includes: Determining the first gesture control action in the gesture control action sequence as a starting gesture; Obtaining a target index code corresponding to the starting gesture; Traversing the gesture control list based on the target index code, determining a gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code, and taking the gesture control action sequence in the gesture control list whose index code corresponding to the starting hand posture is the same as the target index code as a candidate gesture control action sequence; The matching of the gesture control action sequence with the candidate gesture control action sequence to obtain a matching result includes: Determining an index code sequence of the gesture control action according to the gesture control action sequence; Determining a candidate index code sequence of the candidate gesture control action according to the candidate gesture control action sequence; Comparing the index code sequence with the candidate index code sequence one by one according to the index code positions, and obtaining a matching result when the comparison is successful; Before the number of candidate gesture control action sequences corresponding to the matching result is one, the method further includes: Detecting the number of candidate gesture control action sequences corresponding to the matching results; When the number of corresponding candidate gesture control action sequences in the matching result is not one, comparing the next index code position and monitoring the number of remaining candidate index code sequences; When the number of the remaining candidate index code sequences is not one, the steps of comparing the next index code position and monitoring the number of the remaining candidate index code sequences are repeated.

6. A gesture control device based on a display screen, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the display-based gesture control method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the gesture control method based on the display screen are implemented as described in any one of claims 1 to 4.