Gesture data determination method, device and system

Synchronous acquisition of gesture data through multi-angle image acquisition devices solves the problem of low accuracy of gesture data in gesture recognition, achieves more efficient and low-cost gesture data collection, and is suitable for a variety of application scenarios.

CN118799963APending Publication Date: 2024-10-18XG TECHNOLOGIES PTE LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410865169.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In existing gesture recognition technology, the accuracy of determining gesture data is low, especially due to the limited viewing angle of depth cameras and the high cost and difficulty of maintenance of contact sensing equipment, resulting in insufficient accuracy and convenience of gesture data.

Method used

Through at least two image acquisition devices (such as a depth camera and a monocular camera), images of the target human hand are simultaneously acquired from different angles, the characteristic parameters of the gesture are extracted, and the shape and posture of the gesture are characterized to determine the gesture data and avoid contact sensing. Use of Equipment.

Benefits of technology

It improves the accuracy and convenience of gesture data, reduces costs, and enables more comprehensive gesture data collection, which is suitable for vehicle smart cockpits, smart homes, somatosensory games and other fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799963A_ABST
    Figure CN118799963A_ABST
Patent Text Reader

Abstract

The invention provides a gesture data determination method, device and system. The method comprises the following steps: firstly, synchronously acquiring images shot by the at least two image acquisition devices; extracting feature parameters of a gesture from the image, wherein the feature parameters are used for representing the shape and posture of the gesture made by the target hand; and determining gesture data according to the characteristic parameters. According to the method, the gesture data can be determined, and the shooting angles of the at least two image acquisition devices are different, so that the angles of the human hand in the shot image are more diversified and more comprehensive, and the method does not need to adopt contact sensing equipment, so that the accuracy of the gesture data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer vision technology, and in particular to a method, device and system for determining gesture data. Background Art

[0002] Gesture recognition is a biometric recognition technology that can control or interact with computers and other devices by analyzing human hand movements. It is widely used in vehicle smart cockpits, smart homes, and somatosensory games.

[0003] In order to realize gesture recognition, it is necessary to first determine a large amount of three-dimensional gesture data, and then determine the recognition results corresponding to each gesture data through deep learning of the gesture data. Therefore, determining gesture data is an important step in realizing gesture recognition. Therefore, it is necessary to provide a method for determining gesture data with high accuracy. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a method, device and system for determining gesture data to solve the problem of poor accuracy in determining gesture data.

[0005] A first aspect of the present disclosure provides a method for determining gesture data, comprising:

[0006] Synchronously acquiring images captured by at least two image acquisition devices;

[0007] Extracting characteristic parameters of the gesture from the image, wherein the characteristic parameters are used to characterize the shape and posture of the target person's hand when making the gesture;

[0008] The gesture data is determined according to the characteristic parameters.

[0009] A second aspect of the present disclosure provides a gesture data determination device, comprising:

[0010] An image acquisition module, used for synchronously acquiring images taken by at least two image acquisition devices;

[0011] A parameter extraction module, used to extract characteristic parameters of a gesture from the image acquired by the image acquisition module, wherein the characteristic parameters are used to characterize the shape and posture of a target person's hand when making the gesture;

[0012] The data determination module is used to determine the gesture data according to the characteristic parameters extracted by the parameter extraction module.

[0013] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the gesture data determination method described in the first aspect.

[0014] A fourth aspect of the present disclosure provides an electronic device, the electronic device comprising:

[0015] processor;

[0016] a memory for storing instructions executable by the processor;

[0017] The processor is used to read the executable instructions from the memory and execute the instructions to implement the gesture data determination method described in the first aspect above.

[0018] A fifth aspect of the present disclosure provides a computer program product. When an instruction processor in the computer program product is executed, the gesture data determination method proposed in the first aspect of the present disclosure is performed.

[0019] A sixth aspect of the present disclosure provides a gesture data determination system, the gesture data determination system comprising:

[0020] The electronic device according to the fourth aspect of the present disclosure;

[0021] At least two image acquisition devices, the at least two image acquisition devices are used to photograph a target person's hand to obtain an image including the target person's hand;

[0022] A storage system, the storage system is used to store the gesture data determined by the electronic device according to the image including the target person's hand; by way of example, the storage system may include a cloud storage system;

[0023] A display, wherein the display is used to play an image or video showing the change of hand shape after receiving a start signal transmitted by the electronic device.

[0024] The scheme provided by the present disclosure can determine gesture data. Moreover, the scheme determines gesture data by taking images of the target human hand by at least two image acquisition devices, and the at least two image acquisition devices have different shooting angles, so the angles of the human hand in the captured images are more diverse and comprehensive, so compared with the currently used method 1, the accuracy of determining gesture data can be improved. Moreover, since the scheme does not need to use a contact sensing device, it can also improve the accuracy of determining gesture data compared with the currently used method 2.

[0025] Furthermore, since this solution does not require the use of contact sensing equipment, there is no need to incur the cost of configuring contact sensing equipment, and there is no need to maintain the contact sensing equipment. Therefore, compared with method two, the solution provided by the embodiment of the present disclosure also has the advantages of lower cost and greater convenience in determining gesture data. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG1( a ) is an example diagram of a 21-point model of the human hand skeleton structure;

[0027] FIG1( b ) is an example diagram of a model of mesh vertices of a human hand;

[0028] Figure 2 is a schematic diagram of a scenario of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0029] Figure 3 is a schematic diagram of the architecture of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0030] Figure 4 is a flowchart of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0031] Figure 5 is a flowchart of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0032] Figure 6 is a process diagram of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0033] Figure 7 is a flowchart of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0034] Figure 8 is a process diagram of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0035] Fig. 9 is an image acquisition schematic diagram of a gesture data determination method provided by another exemplary embodiment of the present disclosure;

[0036] Fig.10 is a flowchart of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0037] FIG. 11( a ) is a system diagram of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0038] FIG11( b ) is a system diagram of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0039] FIG11( c ) is a system diagram of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0040] Fig.12 is a flowchart of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0041] Fig.13is a flowchart of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0042] FIG. 14( a ) is a schematic diagram of an interface of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0043] FIG. 14( b ) is a schematic diagram of an interface of a method for determining gesture data provided by another exemplary embodiment of the present disclosure;

[0044] Fig.15 is a schematic diagram of an interface of a display of a method for determining gesture data provided by an exemplary embodiment of the present disclosure;

[0045] Fig.16 is a structural diagram of a gesture data determination device provided by an exemplary embodiment of the present disclosure;

[0046] Fig.17 is a structural schematic diagram of a gesture data determination device provided by another exemplary embodiment of the present disclosure;

[0047] Fig.18 is a structural schematic diagram of a gesture data determination device provided by another exemplary embodiment of the present disclosure;

[0048] Fig.19 is a structural schematic diagram of a gesture data determination device provided by another exemplary embodiment of the present disclosure;

[0049] Fig. 20 is a structural schematic diagram of a gesture data determination device provided by another exemplary embodiment of the present disclosure;

[0050] Fig.21 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.

[0052] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0053] Application Overview

[0054] Gesture recognition provides an intuitive and natural way to interact with terminal devices. Through this method, users can control terminal devices without having to learn complex control commands or touch the terminal devices. Therefore, it is widely used in various fields, such as vehicle smart cockpits, smart homes, and somatosensory games.

[0055] In order to realize gesture recognition, it is necessary to first determine a large amount of three-dimensional gesture data, and then perform deep learning on the three-dimensional gesture data to determine the recognition results corresponding to each gesture data. Therefore, determining gesture data is an important step in realizing gesture recognition.

[0056] Among them, the three-dimensional gesture data of a certain gesture usually includes the three-dimensional features of the human hand when making the gesture, and the timing information corresponding to each three-dimensional feature. The three-dimensional feature is usually represented by the three-dimensional bone key points and / or hand mesh vertices of the human hand.

[0057] 3D skeleton key points are an important concept in the field of computer vision and graphics. The 3D skeleton key points of the human hand (abbreviated as hand key points) are a 3D representation of the skeletal structure of the human hand. In 3D space, the skeleton of the human hand can be abstracted as a series of nodes (or joint points), which are connected by line segments representing the bones to form a tree structure. The hand key points refer to the important nodes in the skeletal structure of the human hand, usually the positions of joints, such as the metacarpal joint, metacarpophalangeal joint, middle phalangeal joint and distal interphalangeal joint. Each hand key point has a coordinate in 3D space, usually represented by (x, y, z). These coordinates define the spatial position of the hand key point, which is used to represent 3D gesture data.

[0058] Exemplarily, the human hand skeleton structure can be represented by a 21-point model, see the example diagram of the 21-point model shown in FIG1(a), in which 21 hand key points are included (key points indicated by 0 to 20 in the figure), and each hand key point corresponds to a node in the human hand skeleton. In this case, the three-dimensional features of the human hand can be represented by the coordinates of the 21 hand key points in the three-dimensional space.

[0059] The mesh vertices of a human hand refer to the collection of vertices (vertices) used to construct the surface shape of the hand in three-dimensional modeling. These vertices are connected by edges to form faces, thus forming a three-dimensional mesh model of the hand. Among them, a vertex refers to a point in three-dimensional space that is abstracted from a certain position of the human hand. The coordinates of this point in three-dimensional space can be expressed as (x, y, z); an edge is a line segment formed by connecting two vertices; and a mesh refers to a three-dimensional geometric structure composed of vertices, edges, and faces. The complex shapes and details of the hand, such as skin, muscles, bones, and joints, can be represented by the mesh vertices of the human hand. Exemplarily, the model of the mesh vertices of a human hand can be shown in Figure 1(b).

[0060] Currently, gesture data is usually determined by the following methods:

[0061] Method 1: A depth camera is arranged at the scene of gesture data collection. The model makes various gestures at the scene. The depth camera captures a depth image of the person's hand making the gesture, and then processes the depth image to obtain corresponding point cloud information. The point cloud information includes multiple points, each point represents the position information of a certain position in the person's hand in three-dimensional space, and then the corresponding gesture data is obtained based on the point cloud information.

[0062] However, the depth camera only captures the human hand from one angle, and the viewing angle of the depth camera is limited, so the angle of the human hand in the depth image is relatively single, resulting in poor accuracy of the gesture data obtained by this method.

[0063] Method 2: Wear a contact sensing device (such as a somatosensory glove or an attached sensor, etc.) on the hand of the person making the gesture, and use the contact sensing device to capture the hand movements of the person's hand, and then determine the gesture data based on the captured hand movements. For example, the somatosensory glove converts the user's gesture into an electronic signal by sensing the movement and touch of the fingers, and the corresponding gesture data can be determined based on the electronic signal; the attached sensor can be attached to the person's hand, sense the movement and touch of the fingers, and convert the gesture into a corresponding sensing signal, and the corresponding gesture data can be determined based on the sensing signal.

[0064] However, the contact sensing device will affect the visual characteristics of the human hand, that is, there are differences in the visual characteristics of the human hand wearing the contact sensing device and the human hand not wearing the contact sensing device. Therefore, there is a uniform deviation between the gesture data determined by this method and the actual gesture data, resulting in poor accuracy of the gesture data obtained by this method.

[0065] Furthermore, contact sensing equipment is expensive and difficult to maintain. Determining gesture data using this method also has the problems of high cost and poor convenience.

[0066] According to the above introduction to method 1 and method 2, it can be seen that the current methods for determining gesture data all have the problem of low accuracy of the determined gesture data.

[0067] In order to solve the above technical problems, the embodiments of the present disclosure provide a method, device and system for determining gesture data to improve the accuracy of determining gesture data.

[0068] Furthermore, this method does not require the use of contact sensing equipment. Therefore, compared with the second method, there is no need to incur the cost of configuring contact sensing equipment, and there is no need to maintain the contact sensing equipment. Therefore, the method provided by the embodiment of the present disclosure also has the advantages of low cost and high convenience in determining gesture data.

[0069] Exemplary Systems

[0070] Figure 2 FIG. 1 is a schematic diagram of an application scenario of a method for determining gesture data provided by an exemplary embodiment of the present disclosure. Figure 2 When the target person's hand makes a gesture, the scene where the target person's hand is located includes at least two image acquisition devices, and each image acquisition device captures an image of the target person's hand making the gesture from a different angle.

[0071] In addition, each image acquisition device can be connected to an electronic device in a wired or wireless manner. Through this connection, the electronic device can obtain the image taken by each image acquisition device, and process the image according to the gesture data determination method provided in each embodiment of the present disclosure to determine the gesture data.

[0072] Image acquisition devices generally include multiple types, such as depth cameras, monocular cameras, and binocular cameras. Furthermore, according to the shooting accuracy, depth cameras can be divided into ordinary depth cameras and high-precision depth cameras; according to the type of output image, monocular cameras can be divided into IR monocular cameras that output infrared (IR) images and RGB monocular cameras that output color (red green blue, RGB) images; correspondingly, according to the type of output image, binocular cameras can also be divided into IR binocular cameras and RGB binocular cameras. Of course, image acquisition devices can also include other types, which are not limited in this disclosure.

[0073] In the present disclosure, at least two image acquisition devices may be of the same type, such as both being depth cameras, monocular cameras, or binocular cameras; or at least two image acquisition devices may be of different types, such as both being depth cameras and monocular cameras, etc., which is not limited in the present disclosure. Figure 2In the example shown, the image acquisition device for photographing the target person's hands includes two high-precision depth cameras, one ordinary depth camera, one RGB monocular camera, one IR binocular camera and one IR monocular camera.

[0074] In addition, in the present disclosure, the more image acquisition devices there are, the more images the electronic device uses to determine gesture data, and the more accurate the gesture data determined by the electronic device. However, too many image acquisition devices will result in an excessive amount of data processing when the electronic device determines gesture data, affecting the efficiency of gesture data determination. Therefore, a corresponding number of image acquisition devices can be set at the shooting site of the target person's hand in combination with the requirements of accuracy and efficiency. In addition, in order to be able to capture various angles of the target person's hand, at least two image acquisition devices in the present disclosure are usually set at the shooting site of the target person's hand in a uniformly distributed manner.

[0075] The gesture data determination method provided in the present disclosure is executed by an electronic device, which may be a computer, a smart phone, a tablet computer, etc., and the present disclosure does not limit this.

[0076] Furthermore, after determining the gesture data, the electronic device may also transmit the gesture data to a storage system, which stores the gesture data for subsequent application of the gesture data, such as deep learning of the gesture data. Exemplarily, the storage system may include a cloud storage system.

[0077] For this case, see Figure 3 , an exemplary embodiment of the present disclosure provides a schematic diagram of the architecture of another method for determining gesture data. Figure 3 In the embodiment, the electronic device can be connected to the storage system via a wired or wireless manner, and after determining the gesture data, the electronic device transmits the gesture data to the storage system so that the storage system stores the gesture data.

[0078] The electronic device may periodically transmit the gesture data to the storage system, or the electronic device may transmit the gesture data to the storage system after the amount of gesture data determined each time reaches a data amount threshold, which is not limited in the present disclosure.

[0079] Also, see Figure 3 In a feasible implementation of the present disclosure, after acquiring the gesture data transmitted by the electronic device, the storage system may also verify the gesture data. The verification rule for the storage system to verify the gesture data may be stored in the storage system, or the electronic device may determine the verification rule according to the received user operation, and transmit the verification rule to the storage system, and then the storage system verifies the gesture data according to the received verification rule.

[0080] After completing the verification of the gesture data, the storage system may also send the verified gesture data to the terminal device used by the annotator, so that the annotator can further verify the received gesture data through the terminal device. The terminal device used by the annotator may be referred to as a gesture data annotation terminal, and the verification rules used by the storage system and the verification rules used by the gesture data annotation terminal are usually different, so as to realize multi-level verification of the gesture data.

[0081] In this case, since the gesture data sent to the gesture data annotation end is gesture data that has passed verification, the accuracy of subsequent deep learning can be improved.

[0082] Alternatively, in another feasible implementation of the present disclosure, after determining the gesture data, the electronic device may also verify the gesture data. The verification rule applied during the verification process may be determined according to the received user operation, or may be pre-stored in the electronic device.

[0083] In this case, the electronic device transmits the gesture data that has passed the verification to the storage system so that the storage system can store it. In addition, the storage system can also transmit the received gesture data to the gesture data annotation terminal.

[0084] Alternatively, in another feasible implementation of the present disclosure, the electronic device may verify the gesture data after determining the gesture data, and then transmit the verified gesture data to the storage system; then, the storage system further verifies the received gesture data, and then transmits the verified gesture data to the gesture data annotation end for the gesture data annotation end to verify again.

[0085] In this case, the electronic device, the storage system, and the gesture data annotation end usually use different verification rules, thereby achieving multi-level verification of the gesture data.

[0086] Also, see Figure 3 The electronic device can also be connected to the display by wire or wirelessly, and the display is arranged around the image acquisition device, so that the person making the gesture can view the interface of the display.

[0087] Before synchronously acquiring images taken by at least two image acquisition devices, the electronic device may also transmit a start signal to the display. After receiving the start signal, the display starts displaying an image or video of the hand shape changes. The person making the gesture can watch the image or video and can make corresponding gestures accordingly, thereby reducing the time for the person to think about how to make each gesture and improving the efficiency of determining gesture data.

[0088] Exemplary Methods

[0089] Figure 4FIG. 1 is a flow chart of a method for determining gesture data provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as Figure 4 As shown, the gesture data determination method includes the following steps:

[0090] Step 201: synchronously acquire images taken by at least two image acquisition devices.

[0091] In the present disclosure, the target human hand is the human hand that makes a gesture during the gesture data determination process. In this case, the images captured by each image acquisition device include the image corresponding to the target human hand.

[0092] In addition, the gesture data needs to reflect the three-dimensional features of the human hand at different times to reflect the changes in the three-dimensional features of the human hand during the gesture. Therefore, the gesture data determined by the present disclosure includes the three-dimensional features of the human hand when making the gesture, and also includes the time sequence information corresponding to each three-dimensional feature.

[0093] In order to ensure the accuracy of the timing information in the gesture data, in this step, the electronic device synchronously acquires images taken by at least two image acquisition devices. The synchronous acquisition of images taken by at least two image acquisition devices refers to the electronic device acquiring images taken by at least two image acquisition devices based on the same or similar time reference, so as to ensure that the images taken by at least two image acquisition devices are taken at the same or similar time each time.

[0094] Step 202: extracting characteristic parameters of the gesture from the image, wherein the characteristic parameters are used to characterize the shape and posture of the target person's hand when making the gesture.

[0095] In the present disclosure, the feature parameters of gestures extracted from images are different according to the types of image acquisition devices.

[0096] A depth camera can capture a depth image, which can also be called a depth map or a Z map. It is an image used to represent the depth or distance of each point of an object in a captured scene from the camera. Based on the depth image, a point cloud of the object can be extracted. Therefore, if at least two image acquisition devices include a depth camera, the image captured by the electronic device includes a depth image of the target hand captured by the depth camera. In this case, the feature parameter includes an incomplete three-dimensional point cloud of the target hand. The incomplete three-dimensional point cloud includes multiple points, each of which corresponds to a three-dimensional array [x, y, z], representing the coordinates of a position in the target hand corresponding to the point in three-dimensional space.

[0097] Alternatively, if at least two image acquisition devices include a depth camera, the feature parameter may include an incomplete three-dimensional point cloud of the target human hand and key points of the human hand in the image. The image captured by the depth camera often includes a depth image and a two-dimensional image, and the incomplete three-dimensional point cloud of the target human hand can be determined through the depth image, and the key points of the human hand can be determined through the two-dimensional image.

[0098] In addition, images taken by monocular cameras and binocular cameras are generally referred to as two-dimensional images or plane images. If at least two image acquisition devices include a monocular camera and / or a binocular camera, the image acquired by the electronic device includes a two-dimensional image of the target person's hand. In this case, the feature parameters include the key points of the hand in the image.

[0099] Furthermore, at least two image acquisition devices may include a monocular camera and / or a binocular camera, and also include a depth camera. In this case, the feature parameters may simultaneously include the key points of the human hand in the image and the incomplete three-dimensional point cloud of the target human hand.

[0100] In a feasible implementation of the present disclosure, the operation of extracting the characteristic parameters of the gesture from the image provided in step 202 can be implemented in the following manner:

[0101] The first step is to determine the hand area contained in the image based on the hand detection algorithm.

[0102] The hand detection algorithm is used to detect the area including the hand in the image, and the area including the hand is the hand area.

[0103] Exemplarily, the hand detection algorithm may include the Faster R-CNN algorithm, which is a target detection algorithm with high detection speed and accuracy. Of course, the embodiments of the present disclosure may also use other hand detection algorithms, which are not limited in the present disclosure.

[0104] In the second step, if at least two image acquisition devices include a depth camera, the hand area in the depth image taken by the depth camera is converted into an incomplete three-dimensional point cloud of the target hand. In this case, the feature parameter includes the incomplete three-dimensional point cloud of the target hand.

[0105] Alternatively, if at least two image acquisition devices include a monocular camera and / or a binocular camera, the hand key points in the hand area in the image taken by the monocular camera and / or the binocular camera are determined according to the hand posture estimation algorithm. In this case, the feature parameters include the hand key points in the image.

[0106] Among them, the hand posture estimation algorithm is an algorithm that detects the key points of the hand by identifying and tracking the position and posture of the hand in the image or video. Exemplarily, the hand posture estimation algorithm may include the ViTPose algorithm. Of course, the embodiments of the present disclosure may also use other hand posture estimation algorithms, which are not limited by the present disclosure.

[0107] Furthermore, if at least two image acquisition devices include not only a depth camera but also a monocular camera and / or a binocular camera, then in the embodiment of the present disclosure, not only can the hand area in the depth image be converted into an incomplete three-dimensional point cloud of the target hand, but the hand key points in the hand area of ​​the image taken by the monocular camera and / or the binocular camera can also be determined. In this case, the feature parameters may include both the incomplete three-dimensional point cloud and the hand key points of the target hand.

[0108] Through the above operations, images taken by different types of image acquisition devices can be processed to achieve the extraction of characteristic parameters of gestures. Therefore, it is suitable for scenarios where different types of image acquisition devices are configured and has wide applicability.

[0109] Step 203: determining gesture data according to the characteristic parameters.

[0110] In this step, the gesture data determined by the electronic device includes three-dimensional gesture data, which includes three-dimensional features of the target hand when making a gesture, and timing information corresponding to the three-dimensional features. The three-dimensional features may include coordinates of three-dimensional skeleton key points and / or hand mesh vertices, etc.

[0111] Among them, the timing information can be determined by the image used to extract the characteristic parameters. For example, the timing information can be determined according to the time when the image acquisition device takes the image, or it can also be determined according to the time when the electronic device captures the image. The present disclosure does not limit this.

[0112] The gesture data can be determined by the gesture data determination method disclosed in steps 201 to 203 of the present disclosure. In addition, the method determines the gesture data by taking images of the target hand by at least two image acquisition devices, and the at least two image acquisition devices have different shooting angles, so the angles of the hand in the captured image are more diverse and comprehensive, so compared with the currently used method 1, the accuracy of determining the gesture data can be improved. In addition, since the method does not need to use a contact sensing device, the accuracy of determining the gesture data can also be improved compared with the currently used method 2.

[0113] Furthermore, since this method does not require the use of contact sensing equipment, there is no need to incur the cost of configuring contact sensing equipment, and there is no need to maintain the contact sensing equipment. Therefore, compared with method two, the method provided in the embodiment of the present disclosure also has the advantages of lower cost and greater convenience in determining gesture data.

[0114] In the present disclosure, step 203 provides an operation of determining gesture data according to feature parameters, which can be implemented in a variety of ways. In a feasible implementation, see Figure 5 As shown in the workflow diagram, the operation may include the following steps:

[0115] Step 2031, determining an energy function according to initial parameters and characteristic parameters of the hand template, wherein the initial parameters include shape parameters and posture parameters, wherein the shape parameters are used to characterize the shape of the hand template, and the posture parameters are used to characterize the posture of the hand template.

[0116] In the disclosed embodiment, the human hand template is a model for characterizing the structural features of the human hand, and the human hand template can be represented by shape parameters and posture parameters. Among them, the shape parameters are used to characterize the shape of the human hand template, and may include parameters such as the length, width, thickness and thickness of the fingers and palm. The posture parameters are used to characterize the posture of the human hand template, and may include various key angles and directions of the hand, such as the degree of curvature of the fingers, the orientation of the palm, the position and degree of curvature of the wrist, and other parameters.

[0117] The energy function is a loss function used to define a model and is used to evaluate the quality of model prediction. In a feasible implementation of the present disclosure, the energy function includes a first energy function. The first energy function is used to measure the deviation between the initial parameters and the characteristic parameters.

[0118] Depending on the feature parameters, the first energy function may also be an energy function in different forms. If the feature parameters include an incomplete three-dimensional point cloud of the target hand, the first energy function includes a three-dimensional point energy function, which is used to measure the deviation between the three-dimensional position of the hand template and the three-dimensional position indicated by the incomplete three-dimensional point cloud.

[0119] Exemplarily, the 3D point energy function may be a 3D point nearest neighbor energy function. The 3D point nearest neighbor energy function is usually used to measure the distance between a set of 3D points and their nearest neighbor points. In the embodiment of the present disclosure, the 3D point nearest neighbor energy function is used to measure the deviation between each 3D position corresponding to the initial parameters of the hand template and the 3D position of the nearest neighbor indicated by the incomplete 3D point cloud.

[0120] Among them, if the three-dimensional positions corresponding to the initial parameters of the hand template are called first three-dimensional positions, and the three-dimensional positions indicated by the incomplete three-dimensional point cloud are called second three-dimensional positions, the second three-dimensional position closest to the first three-dimensional position refers to the three-dimensional position among the second three-dimensional positions that has the shortest spatial distance with the first three-dimensional position.

[0121] The nearest neighbor energy function of the three-dimensional point can be expressed by the following formula:

[0122]

[0123] Based on the shape parameters and posture parameters of the hand template, a mano mapping layer (ML) function can be constructed. The input of the ML function is the shape parameters and posture parameters of the hand template, and the output is the Mesh coordinates of the hand template and the coordinates of the key points of the hand. Mesh coordinates are a coordinate system used to define the position of each vertex in a three-dimensional mesh in space. In this disclosure, a vertex is a point in the three-dimensional space that is abstracted from a certain position in the hand. In this case, the ML function can be expressed by the following formula:

[0124] Mesh,Joint=ML(θ,β) formula (2).

[0125] In formula (2), θ represents the shape parameters of the hand template, β represents the posture parameters of the hand template, Mesh represents the Mesh coordinates, and Joint represents the coordinates of the key points of the hand.

[0126] Correspondingly, the Mesh in formula (1) i It represents the i-th group of Mesh coordinates output by the ML function after the shape parameters and posture parameters of the hand template are input into the ML function; P i* represents the coordinates of the incomplete 3D point cloud of the nearest neighbor of the 3D position corresponding to the i-th group of Mesh coordinates; n is the total number of vertices of the hand Mesh, where if the total number of vertices is 778, then n is 778; E KNN Represents Mesh i The corresponding three-dimensional position and Mesh i The deviation between corresponding 3D positions.

[0127] Of course, when the feature parameters include an incomplete three-dimensional point cloud of the target human hand, the first energy function may also include other forms of energy functions, which is not limited in the present disclosure.

[0128] Alternatively, if the feature parameters include a human hand key point in the image, the first energy function includes a reprojection energy function, which is used to measure the deviation between the two-dimensional position of the human hand template after being projected into the two-dimensional space and the two-dimensional position indicated by the human hand key point.

[0129] The reprojection energy function can be expressed by the following formula:

[0130]

[0131] In this formula, n cam Represents the total number of at least two image acquisition devices; Proj i (Joint) represents the two-dimensional position of the coordinates of the key points of the hand in the coordinate system of the i-th image acquisition device after being projected to the two-dimensional space; Ldmk i represents the two-dimensional position indicated by the key points of the human hand extracted from the image taken by the i-th image acquisition device; E proj Represents Proj i (Joint) and Ldmk i The deviation between .

[0132] Of course, when the feature parameters include key points of human hands in the target image, the first energy function may also include other forms of energy functions, which is not limited in the present disclosure.

[0133] Furthermore, if the feature parameters include both the incomplete three-dimensional point cloud of the target hand and the key points of the hand in the image, the first energy function can be composed of the three-dimensional point energy function and the reprojection energy function. In this case, corresponding weights can be set for the three-dimensional point energy function and the reprojection energy function respectively, and the product of the three-dimensional point energy function and its corresponding weight can be determined, as well as the product of the reprojection energy function and its corresponding weight can be determined. The first energy function is the sum of these two products.

[0134] In this feasible implementation, the present disclosure can determine the corresponding first energy function according to different characteristic parameters, so that the corresponding first energy function can be determined in scenarios using different image acquisition devices, and the implementation is relatively flexible.

[0135] In another feasible implementation of the present disclosure, the energy function includes a first energy function and a second energy function, and the second energy function is used to characterize the rationality of the initial parameters of the human hand template.

[0136] In the present disclosure, when determining the initial parameters of the hand template, the second energy function may be considered to ensure that the initial parameters are reasonable. In addition, after optimizing the second energy function, the rationality of the optimized parameters is usually higher than that of the initial parameters.

[0137] Exemplarily, the second energy function may be a template parameter regularized energy function, and the template parameter regularized energy function may be expressed by the following formula:

[0138]

[0139] In this formula, β i represents the posture parameters of the i-th group of human hand templates; θ i represents the shape parameters of the i-th group of human hand templates; s represents the total number of posture parameters, for example, if the total number of posture parameters is 10 groups, then s is 10; t represents the total number of shape parameters, for example, if the total number of shape parameters is 48 groups, then t is 48; E reg Indicates the rationality of the initial parameters included in the hand template, || || 2 represents the two-norm algorithm, ||V|| 2 It means calculating the bi-norm of vector V.

[0140] Of course, the second energy function may also be other forms of energy functions, which is not limited in the present disclosure.

[0141] Furthermore, in the present disclosure, the energy function may include a first energy function and a second energy function at the same time. In this case, corresponding weights may be assigned to the first energy function and the second energy function respectively, and the product of the first energy function and its corresponding weight may be determined, as well as the product of the second energy function and its corresponding weight may be determined. The energy function is the sum of these two products.

[0142] In one example, the energy function includes both a first energy function and a second energy function, the first energy function includes a three-dimensional point energy function and a reprojection energy function, the three-dimensional point energy function is a three-dimensional point nearest neighbor energy function, and the second energy function includes a template parameter regularization energy function, then the energy function can be expressed by the following formula:

[0143] E total =α KNN *E KNN +α proj *E proj +α reg *E reg Formula (5);

[0144] Among them, E total represents the energy function, α KNN Represents the nearest neighbor energy function E of a three-dimensional point KNN The weight, α proj Represents the reprojection energy function E proj The weight, α reg Represents the template parameter regularized energy function E reg The weight of .

[0145] α KNN , α proj and α regThe specific value of can be determined according to the attention paid to each energy function. For example, if the reprojection energy function is of great concern, then α proj Higher, α proj Set to 2, α KNN Set to 1, and α reg Set to 0.01. Of course, you can also KNN , α proj and α reg The present disclosure does not limit the value to other values.

[0146] Step 2032, by optimizing the energy function, determine the optimized parameters of the hand template that meet the optimization conditions.

[0147] By optimizing the energy function, the initial parameters of the hand template can be optimized, and the parameters of the hand template included in the optimized energy function are the optimized parameters.

[0148] In the embodiments of the present disclosure, a variety of optimization algorithms can be used to optimize the energy function, for example, an optimization algorithm based on gradient descent can be used. Of course, other optimization algorithms can also be used to optimize the energy function, and the present disclosure does not limit this.

[0149] In a feasible implementation of the present disclosure, the energy function is optimized using an iterative optimization algorithm. In this case, the optimization condition can be satisfied when the number of iterative optimizations reaches a threshold number. The threshold number can be preset and can be adjusted during the process of determining the gesture data.

[0150] In another feasible implementation of the present disclosure, when the deviation between the parameters and the characteristic parameters included in the hand template is determined to be less than a deviation threshold, the corresponding first energy function meets the optimization condition. The deviation threshold can be preset and adjusted during the process of determining the gesture data. Generally, the higher the accuracy requirement for the gesture data, the smaller the deviation threshold.

[0151] The present disclosure provides a variety of energy functions, wherein if a first energy function satisfies an optimization condition, it indicates that the deviation between the optimized parameters included in the first energy function and the characteristic parameters is small, and the optimized parameters are closer to the characteristic parameters.

[0152] Exemplarily, if the first energy function includes a three-dimensional point energy function, the deviation between the three-dimensional position indicated by the optimized parameters included in the three-dimensional point energy function that meets the optimization condition and the three-dimensional position indicated by the incomplete three-dimensional point cloud is small, and the two-dimensional positions are relatively close. If the first energy function includes a reprojection energy function, the deviation between the two-dimensional position of the hand template corresponding to the optimized parameters included in the reprojection energy function that meets the optimization condition after being projected into the two-dimensional space and the two-dimensional position indicated by the key points of the hand in the feature parameters is small, and the two-dimensional positions are relatively close.

[0153] In addition, if the second energy function meets the optimization condition, it indicates that the hand template corresponding to the optimized parameters included in the second energy function is more reasonable.

[0154] Step 2033: Determine the three-dimensional gesture data in the target coordinate system according to the optimized parameters.

[0155] Since the optimized parameters include optimized shape parameters and posture parameters, the three-dimensional features of various gestures made by the target hand (such as three-dimensional skeletal key points and hand mesh vertices) can be determined based on the optimized shape parameters and posture parameters. The three-dimensional features and the timing information corresponding to the three-dimensional features can together constitute the three-dimensional gesture data in the target coordinate system.

[0156] The target coordinate system may be a world coordinate system, or may be a coordinate system corresponding to a certain image acquisition device, which is not limited in the present disclosure.

[0157] Step 2034: Determine the corresponding three-dimensional gesture data in the coordinate systems of at least two image acquisition devices according to the three-dimensional gesture data in the target coordinate system and the intrinsic parameters and extrinsic parameters of at least two image acquisition devices.

[0158] In this step, the three-dimensional gesture data in the coordinate system of a certain image device can be determined based on the three-dimensional gesture data in the target coordinate system, and then, based on the intrinsic and extrinsic parameters of each image acquisition device, the three-dimensional gesture data in the coordinate system of the image device can be converted to the coordinates of other image devices through coordinate transformation, thereby obtaining the corresponding three-dimensional gesture data in the coordinate systems of at least two image acquisition devices.

[0159] Through the operations of step 2031 to step 2034, the gesture data can be determined according to the characteristic parameters. Further, when the gesture data is determined by this solution, different energy functions can be selected according to different characteristic parameters. Therefore, the present disclosure has high flexibility and can achieve the determination of gesture data when arranging scenes of various types of image devices, and has wide applicability.

[0160] Furthermore, in this embodiment, the three-dimensional features in the gesture data may include not only the coordinates of the three-dimensional skeleton key points and / or the human hand mesh vertices, but also the optimized parameters, which may include optimized shape parameters and posture parameters.

[0161] In order to clarify the method of determining gesture data according to the feature parameters in steps 2031 to 2034, the present disclosure provides Figure 6 . Figure 6 In the corresponding example, the at least two image acquisition devices include: 1 high-precision depth camera, 1 ordinary depth camera, 1 RGB monocular camera, 1 IR monocular camera, 1 RGB binocular camera and 1 IR binocular camera.

[0162] See also Figure 6 In this example, the high-precision depth camera can capture high-precision depth images and two-dimensional images, the ordinary depth camera can capture ordinary depth images and two-dimensional images, and the RGB monocular camera, IR monocular camera, RGB binocular camera and IR binocular camera can capture two-dimensional images. Correspondingly, the electronic device can obtain a high-precision incomplete three-dimensional point cloud of the target hand based on the high-precision depth image, obtain an incomplete three-dimensional point cloud of the target hand with ordinary precision based on the ordinary depth image, and obtain the key points of the hand in the image based on the two-dimensional image, and use the high-precision incomplete three-dimensional point cloud of the target hand, the incomplete three-dimensional point cloud of the target hand with ordinary precision, and the key points of the hand in the image as feature parameters, and based on the feature parameters, obtain three-dimensional features in the target coordinate system (such as three-dimensional skeleton key points and hand mesh vertices), and combine the timing information corresponding to each three-dimensional feature (the timing information of the three-dimensional feature can be determined according to the shooting time of the image corresponding to the three-dimensional feature, or determined according to the time when the electronic device captures the image), to obtain the three-dimensional gesture data in the target coordinate system, and then convert the three-dimensional gesture data in the target coordinate system into three-dimensional gesture data in the coordinate systems of other image acquisition devices through coordinate conversion.

[0163] This example comprehensively extracts feature parameters from images taken by various image acquisition devices, so that rich and diverse feature parameters can be extracted, and gesture data is then determined based on the feature parameters, which can improve the accuracy of determining the gesture data.

[0164] in addition, Figure 6 The image acquisition devices included in the example shown are 1 high-precision depth camera, 1 ordinary depth camera, 1 RGB monocular camera, 1 IR monocular camera, 1 RGB binocular camera and 1 IR binocular camera. However, the type and quantity of the image acquisition devices are only examples. In actual scenarios, the image acquisition devices may also include other types and other quantities, which are not limited in the present disclosure.

[0165] In another possible implementation of the present disclosure, see Figure 7 As shown in the workflow diagram, the operation of determining gesture data according to the characteristic parameters may include the following steps:

[0166] Step 2035, when at least two image acquisition devices include a depth camera, determine the three-dimensional gesture data in the depth camera coordinate system through the incomplete three-dimensional point cloud of the target hand included in the feature parameters.

[0167] If at least two image acquisition devices include depth cameras, the captured images include depth images, and correspondingly, the feature parameters include an incomplete three-dimensional point cloud of the target hand obtained based on the depth image. Each point in the incomplete three-dimensional point cloud may correspond to a three-dimensional array [x, y, z], each of which represents the position coordinates of a certain position in the target hand corresponding to the point in three-dimensional space.

[0168] In this step, the incomplete three-dimensional point cloud of the target hand can be processed to determine the three-dimensional features of various gestures made by the target hand, and then combined with the timing information corresponding to each three-dimensional feature (the timing information can be determined based on the time when the depth camera takes the depth image, or based on the time when the electronic device collects the depth image), the three-dimensional gesture data in the depth camera coordinate system is obtained.

[0169] In addition, if at least two image acquisition devices include a high-precision depth camera and a general-precision depth camera, then in this step, the three-dimensional gesture data in the depth camera coordinate system can be determined based on the incomplete three-dimensional point cloud extracted from the depth image taken by the high-precision depth camera, so as to ensure that the three-dimensional gesture data in the depth camera coordinate system has a higher precision.

[0170] Step 2036, according to the intrinsic parameters and extrinsic parameters of the depth camera and other image acquisition devices, convert the three-dimensional gesture data in the coordinate system of the depth camera into three-dimensional gesture data in the coordinate system of other image acquisition devices.

[0171] Based on the intrinsic and extrinsic parameters of the depth camera and other image acquisition devices, coordinate conversion can be achieved, thereby converting the three-dimensional gesture data in the depth camera coordinate system into the three-dimensional gesture data in the coordinate systems of other image acquisition devices.

[0172] Through the operations of step 2035 to step 2036, the gesture data can be determined according to the characteristic parameters. Further, when the gesture data is determined by this solution, the three-dimensional gesture data in the depth camera coordinate system is determined based on the depth image captured by the depth camera, and then the three-dimensional gesture data in the depth camera coordinate system is converted into the three-dimensional gesture data in the coordinate system of other image acquisition devices by means of coordinate conversion. In this process, the amount of data processing is small and the implementation method is simple, so the efficiency of determining the gesture data is high.

[0173] In order to clarify the method of determining gesture data according to the feature parameters in steps 2035 to 2036, the present disclosure provides Figure 8 . Figure 8 In the corresponding example, the at least two image acquisition devices include: 1 high-precision depth camera, 1 ordinary depth camera, 1 RGB monocular camera, 1 IR monocular camera, 1 RGB binocular camera and 1 IR binocular camera.

[0174] See also Figure 8 In this example, the electronic device collects a high-precision depth image taken by a high-precision depth camera, then extracts the incomplete three-dimensional point cloud of the target hand from the high-precision depth image, and then determines the corresponding three-dimensional features based on the incomplete three-dimensional point cloud of the target hand, and then combines the time series information corresponding to each three-dimensional feature to obtain the three-dimensional gesture data in the coordinate system of the high-precision depth camera. Then, the electronic device performs coordinate conversion based on the internal and external parameters of the high-precision depth camera and other image acquisition devices, and converts the three-dimensional gesture data in the coordinate system of the high-precision depth camera to the three-dimensional gesture data in the coordinate system of other image acquisition devices.

[0175] This example first determines the three-dimensional gesture data in the coordinate system of the high-precision depth camera based on the image taken by the high-precision depth camera, and then determines the three-dimensional gesture data in the coordinate system of each other image acquisition device through coordinate transformation. The amount of data processing in this process is small, and accordingly, the efficiency of determining the gesture data is high.

[0176] in addition, Figure 8 The image acquisition devices included in the example shown are 1 high-precision depth camera, 1 ordinary depth camera, 1 RGB monocular camera, 1 IR monocular camera, 1 RGB binocular camera and 1 IR binocular camera. However, the type and quantity of the image acquisition devices are only examples. In actual scenarios, the image acquisition devices may also include other types and other quantities, which are not limited in the present disclosure.

[0177] In the present disclosure, in order to ensure the accuracy of gesture data, the electronic device will synchronously acquire images captured by at least two image acquisition devices. Different image acquisition devices may have different configurations. Some image acquisition devices may be configured with a synchronization interface. Based on the synchronization interface, the image acquisition device can receive an acquisition signal sent by the electronic device and capture images under the triggering of the acquisition signal. However, some image acquisition devices are not configured with a synchronization interface, resulting in the image acquisition device being unable to receive the acquisition signal, and correspondingly being unable to capture images under the triggering of the acquisition signal.

[0178] In order to achieve synchronous acquisition of images from at least two image acquisition devices, the present disclosure provides the following implementation method of synchronous acquisition according to the configuration of the image acquisition device.

[0179] In a feasible implementation of the present disclosure, at least two image acquisition devices are first devices, and the first device is used to capture images under the triggering of a capture signal, that is, the first device is an image acquisition device configured with a synchronization interface. In this case, synchronously acquiring images captured by at least two image acquisition devices includes:

[0180] A collection signal is synchronously sent to at least two image collection devices, and images captured by the at least two image collection devices under the triggering of the collection signal are received.

[0181] In this step, the electronic device synchronously sends an acquisition signal to at least two image acquisition devices. Since the at least two image acquisition devices are the first device, after receiving the acquisition signal, each image acquisition device will capture an image under the triggering of the acquisition signal, and the electronic device then receives the images captured by the at least two image acquisition devices.

[0182] In addition, in this implementation, the electronic device may periodically send a capture signal to the first device, so that each image capture device captures an image of the target person's hand each time it receives the capture signal, thereby achieving periodic capture. Alternatively, each image capture device may support setting the same capture cycle, and the electronic device may send a capture signal once, and each image capture device, after receiving the capture signal, periodically captures the image of the target person's hand according to the capture cycle set by itself.

[0183] In this implementation, each image acquisition device supports receiving acquisition signals and can capture images when triggered by the acquisition signals. Therefore, the electronic device triggers each image acquisition device to capture images by synchronously sending acquisition signals to each image acquisition device, thereby enabling each image acquisition device to capture images at the same time or at a relatively close moment, thereby helping to improve the accuracy of gesture data.

[0184] In addition, this implementation requires the electronic device to synchronously send acquisition signals to each image acquisition device, so this implementation can also be called synchronous trigger acquisition.

[0185] Alternatively, in another feasible implementation of the present disclosure, the at least two image acquisition devices include a first device and a second device, and the second device does not support receiving acquisition signals, that is, the second device is not configured with a synchronization interface. In this case, synchronously acquiring images taken by the at least two image acquisition devices includes:

[0186] First, a collection signal is sent to a first device, and a first image captured by the first device under the triggering of the collection signal is received, wherein when the first device includes at least two, the collection signal is synchronously sent to the at least two first devices.

[0187] Among them, synchronously sending the acquisition signal to at least two first devices refers to sending the acquisition signal to at least two first devices at the same or very close times to ensure that the shooting times of the at least two first devices are the same or very close. That is to say, in this implementation method, the synchronous trigger acquisition method is still used to trigger at least two first devices to capture images.

[0188] Then, after receiving the second image captured by the second device, an image whose shooting time is closest to that of the first image is searched from the second image, and the image whose shooting time is closest is the image acquired synchronously with the first device.

[0189] In the embodiment of the present disclosure, during the process of the first device taking images, the second device usually takes the second image at a higher frequency, that is, the frequency of the first device taking images is less than the frequency of the second device taking images. In this case, the electronic device searches for the image closest to the shooting time of the first image from the received second image, and the image closest to the shooting time refers to the image with the smallest time difference between the shooting times, and uses the image closest to the shooting time as the image acquired synchronously with the first device, so as to achieve that the shooting times of the images acquired synchronously from the first device and the second device are relatively close. The process of searching for the image closest to the shooting time of the first image from the second image can also be called timestamp matching.

[0190] This implementation requires the electronic device to use its own software to search the second image for an image whose shooting time is closest to the shooting time of the first image, so this implementation can also be called software synchronous acquisition.

[0191] Since this implementation method can simultaneously support the synchronous acquisition of the first device and the second device, even if some of the at least two image acquisition devices are not provided with a synchronization interface, the synchronous acquisition of images taken by the at least two image acquisition devices can be achieved through this implementation method. Therefore, this implementation method can effectively broaden the application scenarios, can be applicable to image acquisition devices with different configurations, and has wide applicability.

[0192] In order to clarify this implementation, the present disclosure also provides an example, which corresponds to Fig. 9 See also Fig. 9 In this example, at least two image acquisition devices include camera 1, camera 2, camera 3, camera 4 and camera 5. Among them, camera 1, camera 2 and camera 3 are first devices, that is, camera 1, camera 2 and camera 3 can receive acquisition signals and take images under the triggering of acquisition signals; in addition, camera 4 and camera 5 are second devices, that is, camera 4 and camera 5 do not support taking images under the triggering of acquisition signals.

[0193] In this example, for cameras 1, 2 and 3, a synchronous trigger acquisition method can be used to make them shoot, and for cameras 4 and 5, a software synchronous acquisition method can be used to make them shoot. That is, the electronic device synchronously sends acquisition signals to cameras 1, 2 and 3, so that cameras 1, 2 and 3 shoot the first image under the triggering of the acquisition signal, and at the same time, cameras 4 and 5 shoot the second image at a higher frequency. In addition, after the electronic device acquires the first image and the second image, it can search for the image with the smallest time difference between the shooting time and the shooting time of the first image from the second image taken by camera 4 and the second image taken by camera 5 respectively. The image with the smallest time difference is the image in the second image whose shooting time is closest to the shooting time of the first image, and the image with the closest shooting time is used as the image acquired synchronously with the first device.

[0194] In this example, even if camera 4 and camera 5 cannot support receiving acquisition signals, the electronic device can still synchronously acquire the images taken by each camera.

[0195] In the above-mentioned various embodiments of the present disclosure, an operation of determining gesture data according to characteristic parameters is provided. The gesture data determined by the operation can be periodically stored by the electronic device to a storage system so that the storage system stores the gesture data in preparation for subsequent application of the gesture data (e.g., using the gesture data for deep learning). Exemplarily, the storage system may include a cloud storage system.

[0196] In addition, in order to improve the accuracy of gesture data and facilitate subsequent application of the gesture data, see Fig.10The workflow diagram shown in the figure, in a feasible implementation of the present disclosure, also includes the following operations:

[0197] Step 204 , after determining the gesture data according to the characteristic parameters, verify the gesture data in response to the received target operation, where the target operation is used to indicate a verification rule.

[0198] In the present disclosure, the verification rule is a rule used to verify gesture data, and gesture data that meets the verification rule can be called verified gesture data. In addition, since the verification rule will clean up gesture data that does not meet the verification rule, the verification rule can also be called a cleaning rule.

[0199] The electronic device may pre-store one or at least two verification rules, and the target operation may be used to select a verification rule for verifying the gesture data this time from the verification rules stored in the electronic device. Alternatively, the target operation may be used to set a corresponding verification rule for the electronic device.

[0200] For example, referring to the schematic diagram of the setting parameter interface shown in FIG11(a), in this example, the setting parameter interface provided by the electronic device displays Rule 1 and Rule 2, Rule 1 and Rule 2 correspond to different verification rules, and selection boxes are displayed for Rule 1 and Rule 2, respectively. The target operation can be a selection operation on the selection boxes corresponding to one or both rules. After receiving the selection operation, the electronic device can determine that the corresponding rule is the verification rule for this verification.

[0201] For example, if the target operation is a selection operation for the selection box of Rule 1, the verification rule for this verification is Rule 1; if the target operation is a selection operation for the selection boxes of Rule 1 and Rule 2, the verification rules for this verification are Rule 1 and Rule 2.

[0202] The verification rule is used to verify whether the gesture data is accurate. For example, the verification rule may include whether the rotation angle of each skeletal key point of the human hand is reasonable. In this case, the three-dimensional features in the gesture data include three-dimensional skeletal key points. Based on the three-dimensional skeletal key points, the rotation angle of each skeletal key point of the human hand can be calculated, and the reasonable value range of each rotation angle is stored in the electronic device. The electronic device will compare the calculated rotation angle of each skeletal key point of the human hand with its corresponding reasonable value range. The gesture data corresponding to the three-dimensional skeletal key point that is not in the reasonable value range is considered to be dirty data that needs to be cleaned, and the verification fails.

[0203] Of course, the above verification rule is only an example of a rule, and the electronic device may also adopt other verification rules, which is not limited in the present disclosure.

[0204] Step 205: Transmit the verified gesture data to a storage system.

[0205] In this step, the electronic device may periodically transmit the verified gesture data to the storage system according to a set transmission period. Alternatively, the electronic device may transmit the verified gesture data to the storage system after the amount of the verified gesture data reaches a data amount threshold.

[0206] Since the gesture data received by the storage system has passed verification, the accuracy of the gesture data in the storage system is relatively high, which helps to improve the accuracy of subsequent applications of the gesture data.

[0207] Furthermore, after receiving the gesture data, the storage can also transmit the gesture data to a terminal device used by the annotator, so that the annotator can further verify the gesture data through the terminal device. The terminal device used by the annotator can be called a gesture data annotation terminal.

[0208] If the storage system transmits the gesture data to the gesture data annotation end, the target operation can also be used to indicate the sending of the tag information. In this case, see Fig.12 , the present disclosure also includes the following operations:

[0209] Step 206, if the target operation is also used to indicate the sending of label information, after verifying the gesture data, the sending of label information is transmitted to the storage system, so that the storage system transmits the verified gesture data to the gesture data annotation end according to the sending of label information, and the sending of label information includes at least one of the following information: annotation rule document, the amount of sending of label data and the sending frequency.

[0210] Among them, the labeling rule document includes other verification rules applicable to the gesture data labeling end. If the labeling information includes the labeling rule document, the storage system can transmit the labeling rule document to the gesture data labeling end so that the gesture data labeling end can verify the gesture data according to other verification rules indicated by the labeling rule document.

[0211] The amount of data sent is the maximum amount of gesture data that the storage system transmits at a single time. The amount of gesture data that the storage system transmits to the gesture data annotation end each time is not greater than the amount of data sent to avoid occupying too many network resources during each transmission.

[0212] The tag sending frequency is the frequency at which the storage system transmits gesture data. The storage system can transmit the gesture data to the gesture data annotation end according to the tag sending frequency.

[0213] exist Fig.12In the embodiment, after executing step 205, step 206 is executed. In actual scenarios, these two steps may not follow a strict chronological order. The tag information may be transmitted to the storage system first, and then the gesture data that has passed the verification may be transmitted to the storage system. Alternatively, the gesture data that has passed the verification and the tag information may be transmitted to the storage system at the same time.

[0214] In one example, if the target operation is also used to indicate the bid submission information, the interface diagram shown in FIG11(a) may also include an interface for setting the bid submission information. Referring to FIG11(a), the display interface also includes menu bars corresponding to the marking rule document, the bid submission data volume, and the bid submission frequency. The electronic device receives the target operation for the menu bar and determines the corresponding bid submission information according to the target operation.

[0215] The above-mentioned embodiment provides an operation in which an electronic device receives a target operation, verifies gesture data according to the target operation, determines tag information according to the target operation, and transmits the tag information to a storage system.

[0216] In addition, after determining the gesture data, the electronic device may not verify the gesture data, but directly transmit the gesture data to the storage system, and the storage system may verify the gesture data, so as to reduce the operations that the electronic device needs to perform and save the computing power of the electronic device. In addition, the storage system may also receive the target operation, determine the corresponding tag information according to the target operation, and transmit the verified gesture data to the gesture data annotation end according to the tag information.

[0217] If the electronic device does not verify the gesture data, but the storage system verifies the received gesture data, and the storage system receives the target operation and determines the verification rules and sending information based on the target operation, the storage system can also display the setting parameter interface shown in Figure 11(b).

[0218] In another feasible implementation, both the electronic device and the storage system can verify the gesture data. In this case, after determining the gesture data, the electronic device performs a primary verification on the gesture data according to the primary verification rule, and then transmits the gesture data that passes the primary verification to the storage system. Then, the storage system performs a secondary verification on the gesture data according to the secondary verification rule.

[0219] The first-level verification rule and the second-level verification rule are usually different verification rules to achieve multi-level verification of gesture data. Exemplarily, the first-level verification rule may include whether the rotation angle of each skeletal key point of the human hand is reasonable, and determine that the gesture data corresponding to the three-dimensional skeletal key point that is not within the reasonable value range has not passed the first-level verification.

[0220] In addition, the secondary verification rules may include whether there is a deviation between the outline of the gesture obtained according to the gesture data and the outline of the actual human hand. If there is a large deviation, it indicates that the gesture data has not passed the secondary verification; or the secondary verification rules may include whether the degree of finger bending in the gesture obtained according to the gesture data is reasonable. If it is unreasonable, it indicates that the secondary gesture data has not passed the verification; or the verification rules may include whether the thickness of each finger in the gesture obtained according to the gesture data is greatly different. If the difference is large, it may also indicate that the gesture data has not passed the secondary verification.

[0221] Of course, the above-mentioned first-level verification rules and second-level verification rules are only examples. In other examples, the content of the first-level verification rules may be the same as the content of the above-mentioned second-level verification rules, and the content of the second-level verification rules may be the same as the content of the above-mentioned first-level verification rules, or, the first-level verification rules and second-level verification rules may also include other rules, which is not limited in the present disclosure.

[0222] In addition, in this feasible implementation, the electronic device may pre-store one or at least two primary verification rules, and select the primary verification rule for verifying the gesture data this time from the verification rules stored in the electronic device according to the received operation. Correspondingly, the storage system may also store one or at least two secondary verification rules, and select the secondary verification rule for verifying the gesture data this time from the stored verification rules according to the received operation.

[0223] In this case, referring to the schematic diagram of the setting parameter interface shown in FIG11(c), in this example, the setting parameter interface of the electronic device displays Rule 1 and Rule 2, Rule 1 and Rule 2 correspond to different primary verification rules, and selection boxes are displayed for Rule 1 and Rule 2, respectively, and the electronic device can receive a selection operation for the selection boxes corresponding to one or both rules. After receiving the selection operation, the electronic device can determine that the rule selected by the operation is the primary verification rule for this verification.

[0224] In addition, in Figure 11(c), the setting parameter interface of the storage system displays Rule 3, Rule 4 and Rule 5, which correspond to different secondary verification rules respectively, and selection boxes are displayed for Rule 3, Rule 4 and Rule 5 respectively. The storage system can receive a selection operation performed on the selection boxes corresponding to one or two of the rules, and after receiving the selection operation, it can determine that the corresponding rule is the secondary verification rule for this verification.

[0225] Furthermore, in this feasible implementation, the electronic device may also determine the tag information according to the operation received by itself, and transmit the tag information to the storage system. Alternatively, the storage system may determine the tag information according to the operation received by itself, or receive the tag information transmitted by the electronic device, and transmit the gesture data after verification to the gesture data annotation end according to the tag information.

[0226] In addition, in this case, if the bid information includes a marking rule document, the other verification rules included in the marking rule document are different from the primary verification rule and the secondary verification rule, and the other verification rules can be called the tertiary verification rule. After determining the bid information, the storage system can transmit the gesture data that has passed the primary verification and the secondary verification to the gesture data annotation end according to the bid information, and transmit other verification rules indicated by the marking rule document, so that the gesture data annotation end can further verify the received gesture data through the tertiary verification rule, thereby realizing multi-level verification of the gesture data.

[0227] If the tag submission information includes the amount of data to be submitted, the maximum amount of gesture data that has passed the primary check and the secondary check and that the storage system transmits to the gesture data annotation terminal at one time will not exceed the indication of the amount of data to be submitted.

[0228] If the tag sending information includes a tag sending frequency, the frequency at which the storage system transmits the gesture data that has passed the primary check and the secondary check to the gesture data annotation terminal is the tag sending frequency.

[0229] After receiving the gesture data that has passed the primary check and the secondary check, the gesture data annotation end may further verify the received gesture data. In addition, if the gesture data annotation end receives other verification rules indicated by the annotation rule document, verification may be performed according to the other verification rules.

[0230] In the above-mentioned embodiments of the present disclosure, some steps require the application of the intrinsic parameters and extrinsic parameters of the image acquisition device. For example, after determining the three-dimensional gesture data in the target coordinate system, it is necessary to determine the corresponding three-dimensional gesture data in the coordinate systems of at least two image acquisition devices according to the intrinsic parameters and extrinsic parameters of the at least two image acquisition devices and the three-dimensional gesture data in the target coordinate system; or, after determining the three-dimensional gesture data in the depth camera coordinate system, the three-dimensional gesture data in the depth camera coordinate system is converted into three-dimensional gesture data in the coordinate systems of other image acquisition devices according to the intrinsic parameters and extrinsic parameters of other image acquisition devices.

[0231] In view of this situation, the gesture data determination method provided by the present disclosure further includes an operation of determining the internal and external parameters of the image acquisition device, which can be performed before determining the gesture data according to the feature parameters. Fig.13The workflow diagram shown in the figure includes the following steps:

[0232] Step 301, in response to a received first operation, trigger at least two third devices in the image acquisition devices to photograph a calibration object, the first operation being used to instruct to obtain an external parameter indicating a third device in the at least two image acquisition devices.

[0233] In this step, the electronic device may receive the first operation, and determine, according to the first operation, which image acquisition devices' external parameters need to be acquired.

[0234] In one example, the electronic device may display the interface diagram shown in Figure 14(a). In this example, the area around the target hand includes two high-precision depth cameras and three ordinary cameras. The ordinary cameras may include monocular cameras and / or binocular cameras. In this case, the interface displayed by the electronic device includes a selection bar for "Whether to activate camera external parameter acquisition" and a selection bar for "Whether to record directly", and may also display options for selecting numbers for each image acquisition device.

[0235] In this case, if it is desired to determine the external parameters of the image acquisition device, the first operation includes a selection operation on the selection column “whether to activate camera external parameter acquisition”. In addition, the first operation may also include a selection operation on the serial number of each image acquisition device.

[0236] If the numbers set for the two high-precision depth cameras are 1 and 3 respectively, and the numbers set for the three ordinary cameras are 2, 3 and 5 respectively, then after receiving the first operation, the interface displayed by the electronic device may be as shown in FIG14(b). In this case, the third device includes high-precision depth camera 1, high-precision depth camera 3, ordinary camera 2, ordinary camera 4 and ordinary camera 5.

[0237] Step 302: Decompose the video including the calibration object shot by the third device into an image sequence including a time stamp.

[0238] In a feasible implementation, the calibration object may include a chessboard with periodically changing angles and / or postures. Of course, the calibration object may also be other calibration objects, which is not limited in the present disclosure.

[0239] During the process of photographing the calibration object, each third device photographs a video including the calibration object. After the photographing is completed, N videos can be obtained, where N is the number of third devices. These N videos can then be parsed into image sequences containing timestamps.

[0240] Furthermore, after obtaining the image sequence, calibration object detection can be performed on each frame image included in the image sequence, and images that have not passed the calibration object detection are discarded, and images that have passed the calibration object detection are retained, so that subsequent operations can be performed using the images that have passed the calibration object detection, that is, the images included in the image sequence in the subsequent steps are images that have passed the calibration object detection. In this case, due to the calibration object detection, the subsequent processing amount can be reduced, the efficiency of determining the external parameters can be improved, and the image interference can be reduced, thereby improving the accuracy of determining the external parameters.

[0241] If the calibration object includes a checkerboard whose angle and / or posture changes periodically, the calibration object detection may include checkerboard detection.

[0242] Step 303: Determine the internal parameters of the third device according to the calibration algorithm and the image sequence.

[0243] In this step, if calibration object detection is performed on each frame image in the image sequence, each frame image in the image sequence in this step is an image that has passed the calibration object detection.

[0244] The calibration algorithm is an algorithm for determining the internal parameters of the image acquisition device. For example, the calibration algorithm may be the Zhang Zhengyou calibration method. Of course, the calibration algorithm may also be other forms of algorithms, which are not limited in the present disclosure.

[0245] Step 304: Determine other third devices that match each third device according to the image sequence containing the timestamp, and two third devices that match each other are a matching pair.

[0246] In a feasible implementation, this step can be implemented by the following operations:

[0247] First, according to an image sequence containing a timestamp, matching pairs formed by each third image frame in the image sequence taken by the target device and each fourth image taken by another third device are determined.

[0248] Among them, the target device is any third device, the timestamp difference between the third image and the fourth image is smaller than the timestamp difference between the third image and images taken by other third devices, and the timestamp difference between the third image and the fourth image is smaller than the timestamp threshold.

[0249] Then, it is determined that the other third device with the largest number of matching pairs matches the target device.

[0250] That is, in this step, the third devices are paired in pairs, and matching pairs of the third devices are determined according to the results of the pairing.

[0251] Taking camera A and camera B as an example, we can select a frame image N in the image sequence of camera A, calculate the difference between the timestamps of each frame image in the image sequence of camera B, and find the frame image M with the smallest difference in the image sequence of camera B. If the difference is less than the timestamp threshold X, we can determine that the corresponding frame of image N in the image sequence of camera B is image M. According to this method, we continue to determine the corresponding frame of each frame image in the image sequence of camera A in the image sequence of camera B, and then record the corresponding frames to form a matching pair number recorded as P_AB.

[0252] Then, according to the above steps, the number of matching pairs of corresponding frames of camera A and each other third device is calculated in turn, and it is determined that the other third device with the largest number of matching pairs of corresponding frames matches camera A, and the matched other third device and camera A together form a matching pair. For example, if the number of matching pairs between camera D and camera A is greater than the number of matching pairs between other third devices and camera A, then camera D matches camera A, and the two cameras form a matching pair.

[0253] Step 305: Determine the external parameter conversion relationship of the matching pair according to the internal parameter of the matching pair.

[0254] For a matching pair, the Zhang Zhengyou calibration method can be combined with the internal parameters of the third device determined in step 303 to perform external parameter calibration on the two image acquisition devices corresponding to the matching pair, thereby obtaining the external parameter conversion relationship between the two image acquisition devices.

[0255] Step 306: If the matching pairs include at least two, determine the external parameters of each third device relative to the target device according to the external parameter conversion relationship of each matching pair, and the target device is any third device.

[0256] If the matching pairs include at least two, the operation of step 305 is performed on each matching pair in turn, and the external parameter conversion relationship between the two third devices included in each matching pair can be obtained. In this case, the external parameter conversion relationship of each third device relative to a third device (i.e., the target device, such as camera A in the above example) can be obtained through the transitivity between each image acquisition device.

[0257] Through the above operations, the internal parameters and external parameters of each image acquisition device can be determined, so that in subsequent operations, gesture data can be determined based on the internal parameters and external parameters.

[0258] Of course, the present disclosure may also determine the internal parameters and external parameters of each image acquisition device in other ways, and the present disclosure is not limited to this.

[0259] The gesture data determination method provided in the present disclosure requires the target person's hand to make a gesture. In order to provide convenience for the target person's hand, another embodiment of the present disclosure further includes the following operations:

[0260] Before synchronously acquiring at least the image captured by the image acquisition device, a start signal is transmitted to a display arranged around the image acquisition device, and the start signal is used to trigger the display to start displaying an image or video of the hand shape change.

[0261] In this case, after receiving the start signal, the display starts to display the image or video of the hand shape changes. The person making the gesture can watch the image or video and can make corresponding gestures based on the image or video, thereby reducing the time for the person to think about how to make each gesture and improving the efficiency of determining gesture data.

[0262] Further, after synchronously acquiring the images captured by at least two image acquisition devices, the present disclosure may further include the following operations:

[0263] The images are transmitted to a display so that the display can display the images and the information of the image acquisition devices corresponding to the displayed images.

[0264] The information of the image acquisition device is used to distinguish different image acquisition devices. Exemplarily, the information may include the serial number of the image acquisition device. Of course, the information may also be other information that can distinguish different image acquisition devices, and the present disclosure does not limit this.

[0265] If the display shows the images taken by each image acquisition device and the information of the image acquisition device, the staff can determine whether the shooting angle of each image acquisition device is reasonable, whether each image acquisition device has a fault, etc. by checking the image displayed on the display, and take remedial measures in time to improve the accuracy of gesture data determination.

[0266] In one example, the at least two image acquisition devices may include two high-precision depth cameras and three ordinary cameras. In this example, the display interface of the display may be as follows: Fig.15 This example corresponds to the example corresponding to FIG. 14(a) and FIG. 14(b), the image acquisition device includes two high-precision depth cameras and three ordinary cameras, and the two high-precision depth cameras are numbered 1 and 3, and the three ordinary cameras are numbered 2, 4 and 5, respectively. The interface displays high-precision depth image preview 1 and high-precision depth image preview 3 taken by the two high-precision depth cameras, and displays image preview 2, image preview 4 and image preview 5 taken by the three ordinary cameras.

[0267] In this case, the staff can check the display to determine whether each image acquisition device is capturing the target hand and whether remedial measures need to be taken. For example, if the staff checks the display to determine that the image preview 2 displayed on the interface does not include the target hand, it means that the shooting angle of the ordinary camera numbered 2 is not appropriate, resulting in the ordinary camera being unable to capture the target hand, and the staff needs to adjust the shooting angle of the ordinary camera.

[0268] Exemplary Devices

[0269] Fig.16 is a structural diagram of a gesture data determination device provided by an exemplary embodiment of the present disclosure. The gesture data determination device can be set in an electronic device such as a terminal device, a server, etc., and executes the gesture data determination method of any of the above embodiments of the present disclosure. Fig.16 As shown, the gesture data determination device of this embodiment includes: an image acquisition module 201 , a parameter extraction module 202 and a data determination module 203 .

[0270] The image acquisition module 201 is used to synchronously acquire images taken by at least two image acquisition devices;

[0271] The parameter extraction module 202 is used to extract the characteristic parameters of the gesture from the image acquired by the image acquisition module 201, and the characteristic parameters are used to characterize the shape and posture of the target person's hand when making the gesture;

[0272] The data determination module 203 is used to determine gesture data according to the feature parameters extracted by the parameter extraction module 202 .

[0273] The gesture determination device provided by the present disclosure can realize the determination of gesture data. Moreover, the device determines gesture data by taking images of the target human hand by at least two image acquisition devices, and the at least two image acquisition devices have different shooting angles, so the angles of the human hand in the captured images are more diverse and comprehensive, so compared with the currently used method 1, the accuracy of determining gesture data can be improved. Moreover, since this solution does not need to use a contact sensing device, it can also improve the accuracy of determining gesture data compared with the currently used method 2.

[0274] Furthermore, since the apparatus does not need to use a contact sensing device, there is no need to incur the cost of configuring a contact sensing device, and there is no need to maintain the contact sensing device. Therefore, compared with method two, the apparatus provided by the embodiment of the present disclosure also has the advantages of lower cost and greater convenience in determining gesture data.

[0275] In the present disclosure, if the at least two image acquisition devices include a depth camera, the feature parameters include an incomplete three-dimensional point cloud of the target human hand, or the feature parameters include an incomplete three-dimensional point cloud of the target human hand and the human hand key points in the image; and / or, if the at least two image acquisition devices include a monocular camera and / or a binocular camera, the feature parameters include the human hand key points in the image.

[0276] For further information, see Fig.17 As shown in the structural schematic diagram, in a feasible example, the data determination module 203 includes: a function determination unit 2031, a function optimization unit 2032, a first determination unit 2033 and a second determination unit 2034.

[0277] The function determination unit 2031 is used to determine the energy function according to the initial parameters of the human hand template and the characteristic parameters, wherein the initial parameters include shape parameters and posture parameters, the shape parameters are used to characterize the shape of the human hand template, and the posture parameters are used to characterize the posture of the human hand template;

[0278] The function optimization unit 2032 is used to determine the optimized parameters of the human hand template that meet the optimization conditions by optimizing the energy function determined by the function determination unit 2031;

[0279] The first determination unit 2033 is used to determine the three-dimensional gesture data in the target coordinate system according to the optimized parameters determined by the function optimization unit 2032;

[0280] The second determining unit 2034 is used to determine the corresponding three-dimensional gesture data in the coordinate systems of the at least two image acquisition devices according to the three-dimensional gesture data in the target coordinate system determined by the first determining unit 2033 and the intrinsic parameters and extrinsic parameters of the at least two image acquisition devices.

[0281] In a feasible example, the energy function includes a first energy function, and the first energy function is used to measure the deviation between the initial parameter and the characteristic parameter;

[0282] Alternatively, the energy function includes the first energy function and a second energy function, and the second energy function is used to characterize the rationality of the initial parameters of the human hand template.

[0283] In another embodiment of the present disclosure, when the energy function includes a first energy function, if the feature parameter includes an incomplete three-dimensional point cloud of the target human hand, the first energy function includes a three-dimensional point energy function, and the three-dimensional point energy function is used to measure the deviation between the three-dimensional position of the human hand template and the three-dimensional position indicated by the incomplete three-dimensional point cloud;

[0284] Alternatively, if the feature parameters include human hand key points in the image, the first energy function includes a reprojection energy function, which is used to measure the deviation between the two-dimensional position of the human hand template after being projected into the two-dimensional space and the two-dimensional position indicated by the human hand key points.

[0285] For further information, see Fig.18 As shown in the structural schematic diagram, in another feasible example, the data determination module 203 includes: a gesture determination unit 2035 and a data conversion unit 2036.

[0286] Wherein, in the case where the at least two image acquisition devices include a depth camera, the gesture determination unit 2035 is used to determine the three-dimensional gesture data in the depth camera coordinate system through the incomplete three-dimensional point cloud of the target hand included in the feature parameters;

[0287] The data conversion unit 2036 is used to convert the three-dimensional gesture data in the depth camera coordinate system determined by the gesture determination unit 2035 into three-dimensional gesture data in the coordinate systems of other image acquisition devices according to the internal parameters and external parameters of the depth camera and the other image acquisition devices.

[0288] See also Fig.19 As shown in the structural schematic diagram, in a feasible example of the present disclosure, the at least two image acquisition devices are both first devices, and the first devices are used to capture images under the triggering of an acquisition signal. The image acquisition module 201 includes an image acquisition unit 2011.

[0289] The image acquisition unit 2011 is used to synchronously send the acquisition signal to the at least two image acquisition devices, and receive the images taken by the at least two image acquisition devices under the triggering of the acquisition signal.

[0290] Alternatively, in another feasible example of the present disclosure, the at least two image acquisition devices include the first device and the second device, the second device does not support receiving the acquisition signal, and the image acquisition module 201 includes: an image receiving unit 2012 and an image searching unit 2013.

[0291] The image receiving unit 2012 is used to send the acquisition signal to the first device and receive the first image captured by the first device under the triggering of the acquisition signal. When the first device includes at least two, the image receiving unit 2012 synchronously sends the acquisition signal to at least two of the first devices.

[0292] The image search unit 2013 is used to search for an image whose shooting time is closest to the shooting time of the first image from the second image after the image receiving unit 2012 receives the second image shot by the second device. The image whose shooting time is closest is the image acquired synchronously with the first device.

[0293] See also Fig. 20 As shown in the structural schematic diagram, in a feasible example of the present disclosure, the parameter extraction module 202 includes a region determination unit 2021 and a parameter determination unit 2022.

[0294] The region determination unit 2021 is used to determine the human hand region contained in the image according to the human hand detection algorithm;

[0295] If the at least two image acquisition devices include a depth camera, the parameter determination unit 2022 is used to convert the human hand region in the depth image taken by the depth camera determined by the region determination unit 2021 into an incomplete three-dimensional point cloud of the target human hand, and the feature parameters include the incomplete three-dimensional point cloud of the target human hand, or convert the human hand region in the depth image taken by the depth camera into the incomplete three-dimensional point cloud of the target human hand, and determine the human hand key points in the human hand region, and the feature parameters include the incomplete three-dimensional point cloud of the target human hand and the human hand key points;

[0296] And / or, if the at least two image acquisition devices include a monocular camera and / or a binocular camera, the parameter determination unit 2022 is used to determine the human hand key points in the human hand area of ​​the image taken by the monocular camera and / or the binocular camera according to a human hand posture estimation algorithm, and the feature parameters include the human hand key points in the image.

[0297] Furthermore, in another embodiment of the present disclosure, a verification module and a transmission module are further included. After the gesture data is determined according to the characteristic parameters, the verification module is used to verify the gesture data in response to the received target operation, and the target operation is used to indicate the verification rule; the transmission module is used to transmit the verified gesture data to the storage system. Exemplarily, the storage system may include a cloud storage system.

[0298] Wherein, if the target operation is also used to indicate the sending label information, after the gesture data is verified, the transmission module is further used to transmit the sending label information to the storage system, so that the storage system transmits the gesture data after verification to the gesture data annotation end according to the sending label information, and the sending label information includes at least one of the following information: annotation rule document, sending label data amount and sending label frequency;

[0299] Among them, the labeling rule document includes other verification rules applicable to the gesture data labeling end; the amount of data sent for labeling is the maximum amount of data that the storage system transmits the gesture data at a single time; and the frequency of sending labels is the frequency at which the storage system transmits the gesture data.

[0300] In another embodiment of the present disclosure, before synchronously acquiring the images taken by the at least two image acquisition devices, the transmission module is also used to transmit a start signal to a display arranged around the image acquisition device, and the start signal is used to trigger the display to start displaying an image or video of hand shape changes.

[0301] Furthermore, in another embodiment of the present disclosure, after the images captured by the at least two image acquisition devices are synchronously acquired, the transmission module is also used to transmit the images to the display so that the display can display the images and display information of the image acquisition devices corresponding to the images respectively.

[0302] The beneficial technical effects corresponding to the exemplary embodiment of the present device can be found in the corresponding beneficial technical effects of the above exemplary method section, which will not be repeated here.

[0303] Exemplary Electronic Devices

[0304] Fig.21 A structural diagram of an electronic device provided in an embodiment of the present disclosure includes at least one processor 111 and a memory 112.

[0305] The processor 111 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.

[0306] The memory 112 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 111 may execute one or more computer program instructions to implement the gesture data determination method and / or other desired functions of the various embodiments of the present disclosure described above.

[0307] In one example, the electronic device 11 may further include: an input device 113 and an output device 114 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0308] The input device 113 may also include, for example, a keyboard, a mouse, a touch screen, an image acquisition device, etc.

[0309] The output device 114 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and its connected remote output devices, etc.

[0310] Of course, to simplify, Fig. 20 Only some of the components related to the present disclosure in the electronic device 11 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 11 may also include any other appropriate components.

[0311] Exemplary Systems

[0312] The present disclosure provides a gesture data determination system. Figure 3 As shown in the schematic diagram, the gesture data determination system includes: the electronic device provided by the above-mentioned various exemplary embodiments of the present disclosure, at least two image acquisition devices, a storage system and a display.

[0313] The electronic device is used to execute the gesture data determination method provided by the above-mentioned various exemplary embodiments of the present disclosure to determine the gesture data.

[0314] The at least two image acquisition devices are used to photograph a target person's hand to obtain an image including the target person's hand.

[0315] The storage system is used to store the gesture data determined by the electronic device based on the image including the target person's hand. Furthermore, the storage system can also transmit the gesture data to the gesture data annotation end so that the gesture data annotation end annotates the label of the gesture data. Exemplarily, the storage system may include a cloud storage system.

[0316] The display is used to play an image or video showing the change of hand shape after receiving a start signal transmitted by the electronic device.

[0317] Furthermore, after synchronously acquiring the images taken by the at least two image acquisition devices, the electronic device may also transmit the images to the display. In this case, the display will display the images and information of the image acquisition devices corresponding to the images.

[0318] Exemplary computer program products and computer-readable storage media

[0319] In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the gesture data determination method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.

[0320] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0321] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps in the gesture data determination method of various embodiments of the present disclosure described in the above “Exemplary Method” section.

[0322] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0323] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.

[0324] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A method for determining gesture data, comprising: Synchronously acquiring images captured by at least two image acquisition devices; Extracting characteristic parameters of the gesture from the image, wherein the characteristic parameters are used to characterize the shape and posture of the target person's hand when making the gesture; The gesture data is determined according to the characteristic parameters.

2. The method according to claim 1, wherein: The at least two image acquisition devices include depth cameras, and the feature parameters include an incomplete three-dimensional point cloud of the target human hand, or the feature parameters include an incomplete three-dimensional point cloud of the target human hand and key points of the human hand in the image; and / or, The at least two image acquisition devices include a monocular camera and / or a binocular camera, and the feature parameters include key points of human hands in the images.

3. The method according to claim 1 or 2, wherein: The determining of gesture data according to the characteristic parameters comprises: Determine an energy function according to initial parameters of a human hand template and the characteristic parameters, the initial parameters include shape parameters and posture parameters, the shape parameters are used to characterize the shape of the human hand template, and the posture parameters are used to characterize the posture of the human hand template; Determining optimized parameters of the human hand template that meet optimization conditions by optimizing the energy function; Determining three-dimensional gesture data in a target coordinate system according to the optimized parameters; According to the three-dimensional gesture data in the target coordinate system and the internal and external parameters of the at least two image acquisition devices, the corresponding three-dimensional gesture data in the coordinate systems of the at least two image acquisition devices are determined respectively.

4. The method according to claim 3, wherein: The energy function includes a first energy function, and the first energy function is used to measure the deviation between the initial parameter and the characteristic parameter; Alternatively, the energy function includes the first energy function and a second energy function, and the second energy function is used to characterize the rationality of the initial parameters of the human hand template.

5. The method according to claim 4, wherein the energy function comprises a first energy function, If the feature parameter includes an incomplete three-dimensional point cloud of the target hand, the first energy function includes a three-dimensional point energy function, and the three-dimensional point energy function is used to measure the deviation between the three-dimensional position of the hand template and the three-dimensional position indicated by the incomplete three-dimensional point cloud; or If the feature parameters include human hand key points in the image, the first energy function includes a reprojection energy function, which is used to measure the deviation between the two-dimensional position of the human hand template after being projected into the two-dimensional space and the two-dimensional position indicated by the human hand key points.

6. The method according to claim 1 or 2, wherein: The determining of gesture data according to the characteristic parameters comprises: In the case where the at least two image acquisition devices include a depth camera, determining the three-dimensional gesture data in the depth camera coordinate system through the incomplete three-dimensional point cloud of the target human hand included in the feature parameters; According to the intrinsic parameters and extrinsic parameters of the depth camera and the other image acquisition devices, the three-dimensional gesture data in the coordinate system of the depth camera is converted into the three-dimensional gesture data in the coordinate systems of the other image acquisition devices.

7. The method according to claim 1, wherein: The at least two image acquisition devices are both first devices, and the first devices are used to capture images under the triggering of a capture signal. The synchronous acquisition of images captured by the at least two image acquisition devices includes: Synchronously sending the acquisition signal to the at least two image acquisition devices, and receiving the images captured by the at least two image acquisition devices under the triggering of the acquisition signal; or, The at least two image acquisition devices include the first device and the second device, the second device does not support receiving the acquisition signal, and the synchronous acquisition of images taken by the at least two image acquisition devices includes: sending the acquisition signal to the first device, and receiving a first image captured by the first device under the triggering of the acquisition signal, wherein when the first device includes at least two, synchronously sending the acquisition signal to at least two of the first devices; After receiving the second image captured by the second device, an image whose shooting time is closest to that of the first image is searched from the second image, and the image whose shooting time is closest is the image acquired synchronously with the first device.

8. The method according to claim 1 or 2, wherein: The step of extracting the characteristic parameter of the gesture from the image comprises: Determine a human hand region contained in the image according to a human hand detection algorithm; If the at least two image acquisition devices include a depth camera, the hand region in the depth image taken by the depth camera is converted into an incomplete three-dimensional point cloud of the target hand, and the feature parameters include the incomplete three-dimensional point cloud of the target hand, or the hand region in the depth image taken by the depth camera is converted into an incomplete three-dimensional point cloud of the target hand, and the hand key points in the hand region are determined, and the feature parameters include the incomplete three-dimensional point cloud of the target hand and the hand key points; And / or, if the at least two image acquisition devices include a monocular camera and / or a binocular camera, the human hand key points in the human hand area of ​​the image taken by the monocular camera and / or the binocular camera are determined according to a human hand posture estimation algorithm, and the feature parameters include the human hand key points in the image.

9. The method according to claim 1 or 2, wherein: After determining the gesture data according to the characteristic parameters, the method further includes: In response to a received target operation, verifying the gesture data, the target operation being used to indicate a verification rule; The gesture data that passes the verification is transmitted to a storage system.

10. The method according to claim 9, wherein: If the target operation is also used to indicate the sending of tag information, after verifying the gesture data, the method further includes: Transmitting the label submission information to the storage system, so that the storage system transmits the gesture data after verification to the gesture data annotation end according to the label submission information, wherein the label submission information includes at least one of the following information: an annotation rule document, a label submission data volume, and a label submission frequency; The annotation rule document includes other verification rules applicable to the gesture data annotation end; The amount of data sent is the maximum amount of data that the storage system can transmit in a single time. The tag transmission frequency is the frequency at which the storage system transmits the gesture data.

11. The method according to claim 1 or 2, wherein: Before synchronously acquiring the images captured by at least two image acquisition devices, the method further includes: A start signal is transmitted to a display arranged around the image acquisition device, and the start signal is used to trigger the display to start displaying an image or video of hand shape changes.

12. The method according to claim 11, wherein: After synchronously acquiring the images captured by at least two image acquisition devices, the method further includes: The image is transmitted to the display so that the display displays the image and displays the information of the image acquisition device corresponding to each of the images.

13. A gesture data determination device, comprising: An image acquisition module, used for synchronously acquiring images taken by at least two image acquisition devices; A parameter extraction module, used to extract characteristic parameters of a gesture from the image acquired by the image acquisition module, wherein the characteristic parameters are used to characterize the shape and posture of a target person's hand when making the gesture; The data determination module is used to determine the gesture data according to the characteristic parameters extracted by the parameter extraction module.

14. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the gesture data determination method according to any one of claims 1 to 12.

15. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the gesture data determination method described in any one of claims 1-12 above.

Citation Information

Cited By

  • Surface electromyogram signal recognition method and system

    CN119347796A