Multi-gesture instruction control method and device and computer equipment
By identifying hand shape information and gesture permissions in multiple gesture sequence images, combined with joint point gesture recognition strategies, the accuracy and safety issues of target gesture recognition in multiple gesture environments are solved, and efficient intelligent device control is achieved.
Patent Information
- Application Number
- CN202410748270.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-10
AI Technical Summary
Existing gesture recognition technology is difficult to accurately identify target gestures in a multi-gesture environment and is easily affected by non-target users, leading to greater security risks and control deviations in smart devices.
By acquiring multiple gesture sequence images, the image feature recognition network is used to identify hand shape information and gesture permissions, combined with joint point gesture recognition strategies to filter target gestures, sort gesture instructions, and adjust the initial gesture instruction sequence to perform device control operations to ensure that high-privileged users The instructions are executed first.
It improves the accuracy of gesture recognition, avoids interference from unauthorized users, improves the control accuracy of multiple gesture commands, and ensures the security of smart devices.
Smart Images

Figure CN118629092A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence and gesture recognition technology, and in particular to a control method, device and computer equipment for multiple gesture instructions. Background Art
[0002] Gesture recognition is an important human-computer interaction method, especially in the process of smart device control and smart device recognition, gesture recognition plays a technical effect of convenient and efficient control. However, gesture recognition can only recognize a single gesture. When there are multiple gestures in the picture, gesture recognition is often affected by the control of other users who are not the target user, which leads to security risks in smart devices and poor security protection of smart devices. Therefore, how to identify the target gesture information among multiple gestures is the current research focus.
[0003] The traditional gesture recognition method is to identify gesture information by identifying gesture shape, gesture motion trajectory and then combining the joint features of each joint point. However, this method can only accurately locate the gesture type and gesture information, so as to determine the gesture command that the user wants to express. However, this method cannot avoid the problem of being unable to identify the target gesture of the target user in the case of multiple gestures, and being easily affected by the gestures of other people, which leads to large control deviations of multiple gesture commands. Summary of the invention
[0004] The main purpose of the present invention is to provide a control method, device and computer equipment for multiple gesture commands, aiming to solve the problem of large control deviation of multiple gesture commands in the prior art.
[0005] To achieve the above object, the present invention provides a control method for multiple gesture commands, which is applied to a gesture control system. The method comprises:
[0006] Acquire multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identify the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network;
[0007] Based on the gesture permissions corresponding to each of the gesture sequence images, each target gesture sequence image is screened, and the gesture instructions corresponding to each of the gesture sequence images are identified through a joint point gesture recognition strategy; the gesture permissions corresponding to the target gesture sequence images are non-unauthorized gesture permissions;
[0008] Sorting the gesture instructions corresponding to each of the target gesture sequence images in descending order of the gesture authority of each of the target gesture sequence images to obtain an initial gesture instruction sequence, and identifying each conflicting gesture instruction;
[0009] Based on the position information of each of the conflicting gesture instructions in the initial gesture instruction sequence, the initial gesture instruction sequence is adjusted to obtain a gesture instruction sequence, and the device control operations corresponding to each gesture instruction in the gesture instruction sequence are executed respectively in the order of the gesture instruction sequence to complete the gesture control task.
[0010] Optionally, before identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network based on each gesture sequence image in the multiple gesture sequence images, the method further includes:
[0011] Recognize the hand sequence images in the multiple hand gesture sequence images through an image recognition network, and recognize the hand edge sequence images of each hand sequence image through an edge recognition algorithm;
[0012] The sequence image content surrounded by each hand edge sequence image is used as each gesture sequence image.
[0013] Optionally, based on each gesture sequence image in the multiple gesture sequence images, identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network includes:
[0014] For each gesture sequence image, based on the gesture sequence image, identifying finger structure features, finger-to-palm ratio features, and palm print features through an image feature recognition network, and using the finger structure features, the finger-to-palm ratio features, and the palm print features as hand shape information of the gesture sequence image;
[0015] Collecting the user hand shape information of each user in the whitelist database, and calculating the similarity between each user's hand shape information and the hand shape information of the gesture sequence image by using a similarity algorithm;
[0016] When there is candidate user hand shape information corresponding to a similarity greater than a similarity threshold, the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs is selected from among the candidate user hand shape information as the target user of the gesture sequence image to which the hand shape information belongs, and the permission information of the target user is used as the gesture permission corresponding to the gesture sequence image;
[0017] When there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, it is determined that the gesture permission of the gesture sequence image is no permission.
[0018] Optionally, identifying the gesture instructions corresponding to each of the gesture sequence images through the joint point gesture recognition strategy includes:
[0019] For each gesture sequence image, identifying relative position information between each metacarpal bone joint point of each gesture image in the gesture sequence image, and joint angle information between each metacarpal bone joint point of each gesture image;
[0020] Based on the relative position information between the joint points of each palm bone of each gesture image and the joint angle information between the joint points of each palm bone of each gesture image, the gesture content corresponding to each gesture image is identified through an image recognition network, and the gesture contents are sorted according to the arrangement position of the gesture image to which each gesture content belongs in the gesture sequence image to obtain a gesture content sequence;
[0021] In the gesture database, the gesture instructions corresponding to the gesture content sequence are searched to obtain the gesture instructions corresponding to the gesture sequence image.
[0022] Optionally, the identifying each conflicting gesture instruction includes:
[0023] Identify the device control operation corresponding to each gesture instruction, and identify the association information between the device control operations in the operation database;
[0024] The gesture instructions corresponding to the device control operations whose associated information is opposite operation information are used as conflicting gesture instructions.
[0025] Optionally, adjusting the initial gesture instruction sequence based on position information of each of the conflicting gesture instructions in the initial gesture instruction sequence to obtain a gesture instruction sequence includes:
[0026] In each pair of conflicting gesture instructions, randomly screening target conflicting gesture instructions, and identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence;
[0027] In the initial gesture instruction sequence, the target conflicting gesture instructions with a later sorting position are deleted to obtain a new initial gesture instruction sequence, and the target conflicting gesture instructions are re-screened in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions;
[0028] Return to the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and use the new initial gesture instruction sequence obtained in the last iteration as the gesture instruction sequence.
[0029] In addition, to achieve the above-mentioned purpose, the present invention further provides a control device for multiple gesture commands, the control device for multiple gesture commands is applied to a gesture control system, and the device comprises:
[0030] An acquisition module, used for acquiring multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network;
[0031] A recognition module, for screening each target gesture sequence image based on the gesture authority corresponding to each gesture sequence image, and identifying the gesture instructions corresponding to each gesture sequence image through a joint point gesture recognition strategy; the gesture authority corresponding to the target gesture sequence image is a gesture authority that is not without authority;
[0032] A sorting module, used to sort the gesture instructions corresponding to each of the target gesture sequence images in descending order of the gesture authority of each of the target gesture sequence images, obtain an initial gesture instruction sequence, and identify each conflicting gesture instruction;
[0033] An adjustment module is used to adjust the initial gesture instruction sequence based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence to obtain a gesture instruction sequence, and execute the device control operations corresponding to each gesture instruction in the gesture instruction sequence in the order of the gesture instruction sequence to complete the gesture control task.
[0034] Optionally, the device further comprises:
[0035] A splitting module, used to identify the hand sequence images in the multiple hand gesture sequence images through an image recognition network, and to identify the hand edge sequence images of each hand sequence image through an edge recognition algorithm;
[0036] The determination module is used to use the sequence image content surrounded by each hand edge sequence image as each gesture sequence image.
[0037] Optionally, the acquisition module is specifically used to:
[0038] For each gesture sequence image, based on the gesture sequence image, identifying finger structure features, finger-to-palm ratio features, and palm print features through an image feature recognition network, and using the finger structure features, the finger-to-palm ratio features, and the palm print features as hand shape information of the gesture sequence image;
[0039] Collecting the user hand shape information of each user in the whitelist database, and calculating the similarity between each user's hand shape information and the hand shape information of the gesture sequence image by using a similarity algorithm;
[0040] When there is candidate user hand shape information corresponding to a similarity greater than a similarity threshold, the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs is selected from among the candidate user hand shape information as the target user of the gesture sequence image to which the hand shape information belongs, and the permission information of the target user is used as the gesture permission corresponding to the gesture sequence image;
[0041] When there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, it is determined that the gesture permission of the gesture sequence image is no permission.
[0042] Optionally, the identification module is specifically used to:
[0043] For each gesture sequence image, identifying relative position information between each metacarpal bone joint point of each gesture image in the gesture sequence image, and joint angle information between each metacarpal bone joint point of each gesture image;
[0044] Based on the relative position information between the joint points of each palm bone of each gesture image and the joint angle information between the joint points of each palm bone of each gesture image, the gesture content corresponding to each gesture image is identified through an image recognition network, and the gesture contents are sorted according to the arrangement position of the gesture image to which each gesture content belongs in the gesture sequence image to obtain a gesture content sequence;
[0045] In the gesture database, the gesture instructions corresponding to the gesture content sequence are searched to obtain the gesture instructions corresponding to the gesture sequence image.
[0046] Optionally, the sorting module is specifically used to:
[0047] Identify the device control operation corresponding to each gesture instruction, and identify the association information between the device control operations in the operation database;
[0048] The gesture instructions corresponding to the device control operations whose associated information is opposite operation information are used as conflicting gesture instructions.
[0049] Optionally, the adjustment module is specifically used to:
[0050] In each pair of conflicting gesture instructions, randomly screening target conflicting gesture instructions, and identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence;
[0051] In the initial gesture instruction sequence, the target conflicting gesture instructions with a later sorting position are deleted to obtain a new initial gesture instruction sequence, and the target conflicting gesture instructions are re-screened in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions;
[0052] Return to the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and use the new initial gesture instruction sequence obtained in the last iteration as the gesture instruction sequence.
[0053] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0054] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0055] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0056] The present invention provides a control method, device and computer equipment for multiple gesture instructions. The method is applied to a gesture control system, and the method comprises: obtaining multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network; based on the gesture authority corresponding to each gesture sequence image, screening each target gesture sequence image, and identifying the gesture instruction corresponding to each gesture sequence image through a joint gesture recognition strategy; the gesture authority corresponding to the target gesture sequence image is a non-unauthorized gesture authority; sorting the gesture instructions corresponding to each target gesture sequence image in the order of the gesture authority of each target gesture sequence image from large to small, obtaining an initial gesture instruction sequence, and identifying each conflicting gesture instruction; based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence, adjusting the initial gesture instruction sequence to obtain a gesture instruction sequence, and executing the device control operation corresponding to each gesture instruction in the gesture instruction sequence in the order of the gesture instruction sequence to complete the gesture control task. This solution identifies the hand shape information of each gesture sequence image in multiple gesture sequence images, thereby determining the gesture authority corresponding to each gesture sequence image, thereby screening the target gesture sequence image, thereby preventing the gesture of unauthorized users from affecting the control process of the target user on the device, thereby avoiding the recognition interference of multiple gesture recognition, and improving the accuracy of gesture recognition control. Then, this solution identifies the gesture instructions corresponding to the gesture image through the sequence changes of the joint points of the gesture sequence image, avoiding the inefficiency and high cost of gesture recognition through neural networks and other models, and can more accurately identify the change amplitude and change trend of gesture changes through joint point recognition, thereby improving the accuracy of identifying gesture instructions. Finally, this solution sorts the gesture instructions according to gesture permissions, and then proposes conflicting gesture instructions to avoid abnormal effects such as the revocation, overwriting, and cancellation of the gestures of high-authority users, thereby ensuring that multiple users can perform gesture operations on the device at the same time, giving priority to the gesture operation content of high-authority users, avoiding the security risks of gesture operation of smart devices, and thus improving the control accuracy of multiple gesture instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0058] Figure 1is a flow chart of a method for controlling multiple gesture commands provided by an embodiment of the present invention;
[0059] Figure 2 It is a marking image between each palm bone joint point in the gesture image provided by the embodiment of the present invention;
[0060] Figure 3 is a schematic diagram of the structure of a control device for multiple gesture commands provided by an embodiment of the present invention; Figure 4 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0061] The control method of multiple gesture commands provided by the embodiment of the present invention is applied to the control system of multiple gesture commands. Unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those generally understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0063] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0064] The control method of multiple gesture instructions provided in the embodiment of the present application can be applied to the application environment of the gesture control system. The method can be applied to a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. Among them, the terminal determines the gesture authority corresponding to each gesture sequence image by identifying the hand shape information of each gesture sequence image in the multiple gesture sequence images, thereby screening the target gesture sequence image, thereby avoiding the gesture of the unauthorized user affecting the control process of the target user on the device, thereby avoiding the recognition interference of multiple gesture recognition, and improving the accuracy of gesture recognition control. Then, this scheme identifies the gesture instruction corresponding to the gesture image through the sequence change of the joint points of the gesture sequence image, avoiding the inefficiency and high cost of gesture recognition through neural networks and other models, and can more accurately identify the change amplitude and change trend of the gesture change through the joint point recognition method, thereby improving the accuracy of gesture recognition control. Finally, this solution sorts the gesture commands by gesture permissions, and then proposes conflicting gesture commands to avoid abnormal effects such as the revocation, overwriting, and cancellation of gestures of high-authority users. This ensures that multiple users can perform gesture operations on the device at the same time, while giving priority to the gesture operation content of high-authority users, avoiding the security risks of gesture operations on smart devices, and thus improving the control accuracy of multiple gesture commands.
[0065] In one embodiment, Figure 1 As shown, a control method for multiple gesture commands is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:
[0066] Step S101, obtaining multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network.
[0067] In this embodiment, the terminal collects image information in real time through a camera device, and detects whether there is a hand image in the image information, and when there is a hand image, the terminal collects a video of a preset period of time. Then, the terminal disassembles the video of the preset period of time into multiple frames of images, and sorts each frame of the image in chronological order to obtain a multiple gesture sequence image. After that, the terminal identifies the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network based on each gesture sequence image in the multiple gesture sequence images. Among them, the image feature recognition network is a convolutional neural network based on reinforcement learning. The specific recognition process will be described in detail later, wherein the hand shape information includes finger structure information, finger-palm ratio information, and palm print information, wherein the hand shape information is used to identify the user to which each hand shape belongs, thereby used to identify the authority corresponding to the hand shape. The gesture authority includes gesture authorities of different levels and gesture authorities without authority values. For example, gesture authorities are A-level authority, B-level authority, C-level authority, D-level authority, E-level authority, and no authority. Among them, different permission levels correspond to different gesture command ranges, and the gesture command range corresponding to each level can be manually adjusted by the user or based on device presets.
[0068] Step S102, based on the gesture permissions corresponding to each gesture sequence image, each target gesture sequence image is screened, and the gesture instructions corresponding to each gesture sequence image are identified through the joint gesture recognition strategy; the gesture permissions corresponding to the target gesture sequence image are non-unauthorized gesture permissions.
[0069] In this embodiment, the terminal screens each target gesture sequence image based on the gesture authority corresponding to each gesture sequence image, and identifies the gesture instructions corresponding to each gesture sequence image through the joint point gesture recognition strategy; the gesture authority corresponding to the target gesture sequence image is a non-unauthorized gesture authority. Among them, the joint point gesture recognition strategy is a recognition strategy that recognizes the position information of each joint point of the palm in the gesture image, and the joint angle composed of each joint point, and then recognizes the gesture content corresponding to the gesture image. The specific recognition process will be described in detail later.
[0070] Step S103 , sorting the gesture instructions corresponding to each target gesture sequence image in descending order of the gesture authority of each target gesture sequence image to obtain an initial gesture instruction sequence, and identifying each conflicting gesture instruction.
[0071] In this embodiment, the terminal sorts the gesture instructions corresponding to each target gesture sequence image according to the gesture authority of each target gesture sequence image from large to small, obtains an initial gesture instruction sequence, and identifies each conflicting gesture instruction. Among them, the conflicting gesture instructions are two opposite gesture instructions, such as a screenshot gesture instruction and a cancel screenshot gesture instruction, an open gesture instruction and a close gesture instruction, an up gesture instruction and a down gesture instruction, etc.
[0072] Step S104, based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence, the initial gesture instruction sequence is adjusted to obtain a gesture instruction sequence, and the device control operation corresponding to each gesture instruction in the gesture instruction sequence is executed in the order of the gesture instruction sequence to complete the gesture control task.
[0073] In this embodiment, the terminal adjusts the initial gesture instruction sequence based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence to obtain a gesture instruction sequence, and executes the device control operation corresponding to each gesture instruction in the gesture instruction sequence in the order of the gesture instruction sequence to complete the gesture control task. Among them, the process of adjusting the initial gesture instruction sequence is essentially an adjustment method for deleting conflicting gesture instructions with low gesture authority levels in the initial gesture instruction sequence. The specific adjustment process will be described in detail later. Among them, the device is a variety of smart devices that can be controlled by gestures, including smart phones, smart air conditioners, smart TVs, smart refrigerators, and smart vehicles.
[0074] Based on the above scheme, by identifying the hand shape information of each gesture sequence image in the multiple gesture sequence images, the gesture authority corresponding to each gesture sequence image is determined, so as to screen the target gesture sequence image, so as to avoid the gesture of the unauthorized user affecting the control process of the target user on the device, thereby avoiding the recognition interference of multiple gesture recognition and improving the accuracy of gesture recognition control. Then, this scheme identifies the gesture instructions corresponding to the gesture image through the sequence change of the joint points of the gesture sequence image, avoiding the inefficiency and high cost of gesture recognition through neural networks and other models, and can more accurately identify the change amplitude and change trend of the gesture change through the joint point recognition method, thereby improving the accuracy of identifying gesture instructions. Finally, this scheme sorts the gesture instructions according to the gesture authority, and then proposes the conflicting gesture instructions to avoid the abnormal influence of the gesture of the high-authority user being revoked, covered, canceled, etc., so as to ensure that multiple users can perform gesture operations on the device at the same time, and give priority to the gesture operation content of the high-authority user, avoiding the security risk of gesture operation of smart devices, thereby improving the control accuracy of multiple gesture instructions.
[0075] Optionally, based on each gesture sequence image in the multiple gesture sequence images, before identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network, it also includes: identifying the hand sequence images in the multiple gesture sequence images through an image recognition network, and identifying the hand edge sequence images of each hand sequence image through an edge recognition algorithm; and taking the sequence image content surrounded by each hand edge sequence image as each gesture sequence image.
[0076] In this embodiment, the terminal identifies each individual palm image in each image of the multiple gesture sequence images through an image recognition network, and arranges and combines the individual palm images in chronological order to obtain a hand sequence image, and identifies the hand edge sequence image of each hand sequence image through an edge recognition algorithm. Then, the terminal uses the sequence image content surrounded by each hand edge sequence image as each gesture sequence image. The image recognition network is a convolutional neural network, and the edge recognition algorithm is a Prewitt image edge recognition algorithm.
[0077] Based on the above solution, by splitting the multiple gesture sequence images into gesture sequence images corresponding to each gesture, the gesture command of each gesture and the hand information recognition accuracy of each gesture are improved.
[0078] Optionally, based on each gesture sequence image in the multiple gesture sequence images, the hand shape information of each gesture sequence image and the gesture permissions corresponding to each hand shape information are identified through an image feature recognition network, including: for each gesture sequence image, based on the gesture sequence image, the finger structure feature, the finger-to-palm ratio feature, and the palm print feature are identified through an image feature recognition network, and the finger structure feature, the finger-to-palm ratio feature, and the palm print feature are used as the hand shape information of the gesture sequence image; the user hand shape information of each user in the whitelist database is collected, and the similarity between each user's hand shape information and the hand shape information of the gesture sequence image is calculated through a similarity algorithm; when there is candidate user hand shape information corresponding to a similarity greater than a similarity threshold, in each candidate user hand shape information, the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs is screened as the target user of the gesture sequence image to which the hand shape information belongs, and the permission information of the target user is used as the gesture permission corresponding to the gesture sequence image; when there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, the gesture permission of the gesture sequence image is determined to be unauthorized.
[0079] In this embodiment, the terminal identifies the finger structure features, finger-to-palm ratio features, and palm print features for each gesture sequence image based on the gesture sequence image through an image feature recognition network, and uses the finger structure features, finger-to-palm ratio features, and palm print features as the hand shape information of the gesture sequence image. Among them, the finger structure features are used to characterize the shape features between the finger structures, such as the finger joint length features, the finger length difference features, the width features of each finger, etc.; the finger-to-palm ratio features are the ratio features of the maximum finger length and the maximum palm length; the palm print features include the palm print pattern features in the palm, and the connection point position features of the palm print connection points, etc.
[0080] The terminal collects the user hand shape information of each user in the whitelist database, and calculates the similarity between each user's hand shape information and the hand shape information of the gesture sequence image through a similarity algorithm. The similarity algorithm is a cosine similarity algorithm. The terminal calculates the sub-similarity between each pair of features, and averages each sub-similarity to obtain the similarity between each user's hand shape information and the hand shape information of the gesture sequence image.
[0081] When there is candidate user hand shape information corresponding to a similarity greater than the similarity threshold, the terminal selects the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs from among the candidate user hand shape information as the target user of the gesture sequence image to which the hand shape information belongs, and uses the target user's permission information as the gesture permission corresponding to the gesture sequence image. When there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, the terminal determines that the gesture permission of the gesture sequence image is unauthorized. Among them, the similarity threshold is a threshold preset by the staff in the terminal, and the threshold is used to delete the unauthorized gesture images in each gesture sequence image. The similarity threshold can be 90%.
[0082] Based on the above scheme, by extracting the features of fingers, palms, fingers and palms in the hand shape information, the user to which each hand shape information belongs is identified, thereby determining the gesture authority corresponding to each hand shape information, thereby improving the accuracy of determining the user to which the hand shape information belongs.
[0083] Optionally, a joint point gesture recognition strategy is used to identify gesture instructions corresponding to each gesture sequence image, including: for each gesture sequence image, identifying the relative position information between each palm bone joint point of each gesture image in the gesture sequence image, and the joint angle information between each palm bone joint point of each gesture image; based on the relative position information between each palm bone joint point of each gesture image, and the joint angle information between each palm bone joint point of each gesture image, the gesture content corresponding to each gesture image is identified through an image recognition network, and each gesture content is sorted according to the arrangement position of the gesture image to which each gesture content belongs in the gesture sequence image, to obtain a gesture content sequence; in a gesture database, the gesture instructions corresponding to the gesture content sequence are queried to obtain the gesture instructions corresponding to the gesture sequence image.
[0084] In this embodiment, the terminal identifies the relative position information between the palm joints of each gesture image in the gesture sequence image, and the joint angle information between the palm joints of each gesture image. Figure 2 As shown in FIG. 1 , it is an identification image between each palm valley joint point in the gesture image. Before the terminal recognizes the relative position information between each palm bone joint point in each gesture image in the gesture sequence image and the joint angle information between each palm bone joint point in each gesture image, it first recognizes the position information of each joint point in each gesture image, and then randomly numbers the joint point to obtain the following: Figure 2 The terminal then obtains the relative position information between each connected joint point and the joint angle between each connected joint point, and obtains the relative position information between each palm bone joint point of each gesture image and the joint angle information between each palm bone joint point of each gesture image. Figure 2 As shown in the figure, the root nodes 5 and 17 of the index finger and the little finger are defined as P5 and P17, and the vector V5_17 is defined as the vector from P5 to P17. Taking the index finger bending detection as an example, the tip of the index finger is P8, and two vectors V8_5 and V8_17 are established. The angle A5_8_17 between V8_5 and V8_17 in each frame is calculated in real time, and the distance D8 from P8 to the vector V5_17 is calculated at the same time.
[0085] Then, based on the relative position information between the palm bone joints of each gesture image and the joint angle information between the palm bone joints of each gesture image, the terminal identifies the gesture content corresponding to each gesture image through the image recognition network. The image recognition network is the same as the image recognition network described above. Afterwards, the terminal sorts the gesture contents according to the arrangement position of the gesture images to which each gesture content belongs in the gesture sequence image to obtain a gesture content sequence. Finally, the terminal queries the gesture database for the gesture instructions corresponding to the gesture content sequence to obtain the gesture instructions corresponding to the gesture sequence image.
[0086] Based on the above scheme, by identifying the relative position information and joint angle information between the palm bone joints of each gesture image, the gesture content corresponding to each gesture image is identified, thereby identifying the gesture instructions, thereby improving the accuracy of the obtained gesture instructions.
[0087] Optionally, identifying each conflicting gesture instruction includes: identifying the device control operation corresponding to each gesture instruction, and identifying association information between the device control operations in an operation database; and treating the gesture instructions corresponding to each device control operation whose association information is opposite operation information as each conflicting gesture instruction.
[0088] In this embodiment, the terminal identifies the device control operation corresponding to each gesture instruction, and identifies the association information between the device control operations in the operation database. The operation database includes the device control operation information and the association information between the device control operation information, and the association information includes but is not limited to opposite operation information, progressive operation information, parallel operation information, and no association information. Finally, the terminal uses the gesture instructions corresponding to the device control operations whose association information is opposite operation information as the conflicting gesture instructions.
[0089] Based on the above solution, each conflicting gesture instruction is determined by identifying the device control operation of each gesture instruction, thereby improving the accuracy and efficiency of determining the conflicting gesture instructions.
[0090] Optionally, based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence, the initial gesture instruction sequence is adjusted to obtain a gesture instruction sequence, including: in each pair of conflicting gesture instructions, randomly screening the target conflicting gesture instructions, and identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence; in the initial gesture instruction sequence, deleting the target conflicting gesture instructions with a later sorting position to obtain a new initial gesture instruction sequence, and re-screening the target conflicting gesture instructions in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions; returning to execute the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and using the new initial gesture instruction sequence obtained from the last iteration as the gesture instruction sequence.
[0091] In this embodiment, the terminal randomly screens the target conflicting gesture instructions in each pair of conflicting gesture instructions, and identifies the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence. Then, in the initial gesture instruction sequence, the terminal deletes the target conflicting gesture instructions with a lower sorting position to obtain a new initial gesture instruction sequence, and re-screens the target conflicting gesture instructions in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions. Finally, the terminal returns to execute the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and uses the new initial gesture instruction sequence obtained in the last iteration as the gesture instruction sequence. The iteration termination condition is that the iterative process terminates when all conflicting gesture instructions have completed the process of adjusting the initial gesture instruction sequence after screening.
[0092] Based on the above scheme, the initial gesture command sequence is adjusted by eliminating conflicting gesture commands to obtain a gesture command sequence, thereby avoiding abnormal influences such as revocation, overwriting, and cancellation of gestures of high-authority users. While ensuring that multiple users can perform gesture operations on the device at the same time, the gesture operation content of high-authority users is prioritized, avoiding the security risks of gesture operation of smart devices, and thus improving the control accuracy of multiple gesture commands.
[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0094] Based on the same inventive concept, the embodiment of the present application also provides a control device for multiple gesture instructions for implementing the control method for multiple gesture instructions involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the control device for one or more multiple gesture instructions provided below can refer to the limitations of the control method for multiple gesture instructions above, and will not be repeated here.
[0095] Further references Figure 3 , as a response to the above Figure 1In order to realize the method shown in the figure, the present application provides an embodiment of a control device 300 for multiple gesture instructions, which is applied to a mine dispatching system. The device includes an acquisition module 310, an identification module 320, a sorting module 330 and an adjustment module 340, wherein:
[0096] The acquisition module 310 is used to acquire multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identify the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network;
[0097] The recognition module 320 is used to screen each target gesture sequence image based on the gesture authority corresponding to each gesture sequence image, and recognize the gesture instruction corresponding to each gesture sequence image through the joint point gesture recognition strategy; the gesture authority corresponding to the target gesture sequence image is a gesture authority that is not without authority;
[0098] A sorting module 330 is used to sort the gesture instructions corresponding to each of the target gesture sequence images in descending order of the gesture authority of each of the target gesture sequence images to obtain an initial gesture instruction sequence and identify each conflicting gesture instruction;
[0099] The adjustment module 340 is used to adjust the initial gesture instruction sequence based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence to obtain a gesture instruction sequence, and execute the device control operations corresponding to each gesture instruction in the gesture instruction sequence in the order of the gesture instruction sequence to complete the gesture control task.
[0100] Optionally, the device further comprises:
[0101] A splitting module, used to identify the hand sequence images in the multiple hand gesture sequence images through an image recognition network, and to identify the hand edge sequence images of each hand sequence image through an edge recognition algorithm;
[0102] The determination module is used to use the sequence image content surrounded by each hand edge sequence image as each gesture sequence image.
[0103] Optionally, the acquisition module 310 is specifically configured to:
[0104] For each gesture sequence image, based on the gesture sequence image, identifying finger structure features, finger-to-palm ratio features, and palm print features through an image feature recognition network, and using the finger structure features, the finger-to-palm ratio features, and the palm print features as hand shape information of the gesture sequence image;
[0105] Collecting the user hand shape information of each user in the whitelist database, and calculating the similarity between each user's hand shape information and the hand shape information of the gesture sequence image by using a similarity algorithm;
[0106] When there is candidate user hand shape information corresponding to a similarity greater than a similarity threshold, the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs is selected from among the candidate user hand shape information as the target user of the gesture sequence image to which the hand shape information belongs, and the permission information of the target user is used as the gesture permission corresponding to the gesture sequence image;
[0107] When there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, it is determined that the gesture permission of the gesture sequence image is no permission.
[0108] Optionally, the identification module 320 is specifically configured to:
[0109] For each gesture sequence image, identifying relative position information between each metacarpal bone joint point of each gesture image in the gesture sequence image, and joint angle information between each metacarpal bone joint point of each gesture image;
[0110] Based on the relative position information between the joint points of each palm bone of each gesture image and the joint angle information between the joint points of each palm bone of each gesture image, the gesture content corresponding to each gesture image is identified through an image recognition network, and the gesture contents are sorted according to the arrangement position of the gesture image to which each gesture content belongs in the gesture sequence image to obtain a gesture content sequence;
[0111] In the gesture database, the gesture instructions corresponding to the gesture content sequence are searched to obtain the gesture instructions corresponding to the gesture sequence image.
[0112] Optionally, the sorting module 330 is specifically configured to:
[0113] Identify the device control operation corresponding to each gesture instruction, and identify the association information between the device control operations in the operation database;
[0114] The gesture instructions corresponding to the device control operations whose associated information is opposite operation information are used as conflicting gesture instructions.
[0115] Optionally, the adjustment module 340 is specifically configured to:
[0116] In each pair of conflicting gesture instructions, randomly screening target conflicting gesture instructions, and identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence;
[0117] In the initial gesture instruction sequence, the target conflicting gesture instructions with a later sorting position are deleted to obtain a new initial gesture instruction sequence, and the target conflicting gesture instructions are re-screened in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions;
[0118] Return to the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and use the new initial gesture instruction sequence obtained in the last iteration as the gesture instruction sequence.
[0119] Each module in the control device of the above-mentioned multiple gesture commands can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0120] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a control method for multiple gesture instructions is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0121] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0123] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0124] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.
[0125] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0126] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0128] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control method for multiple gesture commands, applied to a gesture control system, characterized in that: The method comprises: Acquire multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identify the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network; Based on the gesture permissions corresponding to each of the gesture sequence images, each target gesture sequence image is screened, and the gesture instructions corresponding to each of the gesture sequence images are identified through a joint point gesture recognition strategy; the gesture permissions corresponding to the target gesture sequence images are non-unauthorized gesture permissions; Sorting the gesture instructions corresponding to each of the target gesture sequence images in descending order of the gesture authority of each of the target gesture sequence images to obtain an initial gesture instruction sequence, and identifying each conflicting gesture instruction; Based on the position information of each of the conflicting gesture instructions in the initial gesture instruction sequence, the initial gesture instruction sequence is adjusted to obtain a gesture instruction sequence, and the device control operations corresponding to each gesture instruction in the gesture instruction sequence are executed respectively in the order of the gesture instruction sequence to complete the gesture control task.
2. The method according to claim 1, characterized in that Before identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network based on each gesture sequence image in the multiple gesture sequence images, the method further includes: Recognize the hand sequence images in the multiple hand gesture sequence images through an image recognition network, and recognize the hand edge sequence images of each hand sequence image through an edge recognition algorithm; The sequence image content surrounded by each hand edge sequence image is used as each gesture sequence image.
3. The method according to claim 2, characterized in that The method of identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network based on each gesture sequence image in the multiple gesture sequence images includes: For each gesture sequence image, based on the gesture sequence image, identifying finger structure features, finger-to-palm ratio features, and palm print features through an image feature recognition network, and using the finger structure features, the finger-to-palm ratio features, and the palm print features as hand shape information of the gesture sequence image; Collecting the user hand shape information of each user in the whitelist database, and calculating the similarity between each user's hand shape information and the hand shape information of the gesture sequence image by using a similarity algorithm; When there is candidate user hand shape information corresponding to a similarity greater than a similarity threshold, the user to whom the candidate user hand shape information corresponding to the maximum similarity belongs is selected from among the candidate user hand shape information as the target user of the gesture sequence image to which the hand shape information belongs, and the permission information of the target user is used as the gesture permission corresponding to the gesture sequence image; When there is no candidate user hand shape information corresponding to a similarity greater than the similarity threshold, it is determined that the gesture permission of the gesture sequence image is no permission.
4. The method according to claim 1, characterized in that: The step of identifying the gesture instructions corresponding to each of the gesture sequence images by using the joint point gesture recognition strategy includes: For each gesture sequence image, identifying relative position information between each metacarpal bone joint point of each gesture image in the gesture sequence image, and joint angle information between each metacarpal bone joint point of each gesture image; Based on the relative position information between the joint points of each palm bone of each gesture image and the joint angle information between the joint points of each palm bone of each gesture image, the gesture content corresponding to each gesture image is identified through an image recognition network, and the gesture contents are sorted according to the arrangement position of the gesture image to which each gesture content belongs in the gesture sequence image to obtain a gesture content sequence; In the gesture database, the gesture instructions corresponding to the gesture content sequence are searched to obtain the gesture instructions corresponding to the gesture sequence image.
5. The method according to claim 1, characterized in that The identifying of each conflicting gesture instruction includes: Identify the device control operation corresponding to each gesture instruction, and identify the association information between the device control operations in the operation database; The gesture instructions corresponding to the device control operations whose associated information is opposite operation information are used as conflicting gesture instructions.
6. The method according to claim 1, characterized in that The adjusting the initial gesture instruction sequence based on the position information of each of the conflicting gesture instructions in the initial gesture instruction sequence to obtain a gesture instruction sequence includes: In each pair of conflicting gesture instructions, randomly screening target conflicting gesture instructions, and identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence; In the initial gesture instruction sequence, the target conflicting gesture instructions with a later sorting position are deleted to obtain a new initial gesture instruction sequence, and the target conflicting gesture instructions are re-screened in each pair of conflicting gesture instructions that are not selected as target conflicting gesture instructions; Return to the step of identifying the sorting position of each target conflicting gesture instruction in the initial gesture instruction sequence, and use the new initial gesture instruction sequence obtained in the last iteration as the gesture instruction sequence.
7. A control device for multiple gesture commands, applied to a gesture control system, characterized in that: The device comprises: An acquisition module, used for acquiring multiple gesture sequence images, and based on each gesture sequence image in the multiple gesture sequence images, identifying the hand shape information of each gesture sequence image and the gesture authority corresponding to each hand shape information through an image feature recognition network; A recognition module, for screening each target gesture sequence image based on the gesture authority corresponding to each gesture sequence image, and identifying the gesture instructions corresponding to each gesture sequence image through a joint point gesture recognition strategy; the gesture authority corresponding to the target gesture sequence image is a gesture authority that is not without authority; A sorting module, used to sort the gesture instructions corresponding to each of the target gesture sequence images in descending order of the gesture authority of each of the target gesture sequence images, obtain an initial gesture instruction sequence, and identify each conflicting gesture instruction; An adjustment module is used to adjust the initial gesture instruction sequence based on the position information of each conflicting gesture instruction in the initial gesture instruction sequence to obtain a gesture instruction sequence, and execute the device control operations corresponding to each gesture instruction in the gesture instruction sequence in the order of the gesture instruction sequence to complete the gesture control task.
8. 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 steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Authentication method and device
CN108108649A
Equipment control method and device, computer equipment and medium
CN111367415A
Identity authentication method based on dynamic gestures
CN111444488A
Identity authentication method based on palmprint and gesture fusion recognition and control equipment
CN114220129A
Household appliance control method and system and storage medium
CN115390469A
