Gesture recognition method, device, system and vehicle

Through the combination of multi-angle image collection and machine learning models, the 3D features in the vehicle cockpit environment are reconstructed, achieving high-precision gesture recognition and human-computer interaction, solving the problem of inaccurate gesture recognition in the existing technology, and improving driving safety. sex.

CN113646736BActive Publication Date: 2024-10-15YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180002179.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-17
Publication Date
2024-10-15
Estimated Expiration
2041-07-17

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve high-precision gesture recognition and human-computer interaction in the vehicle cockpit environment, especially in the context of multi-functional central control screens, resulting in inconvenient operation for the driver and greater safety risks.

Method used

By acquiring multi-angle 2D images and depth images, combined with machine learning models, we can reconstruct refined 3D features, including the 3D contours of body parts and joint point positions, to accurately identify gesture information and achieve precise human-computer interaction.

Benefits of technology

It improves the accuracy and reliability of gesture control, reduces the driver's frequent operations on the central control screen, and enhances the safety of vehicle driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113646736B_ABST
    Figure CN113646736B_ABST
Patent Text Reader

Abstract

The present application relates to the field of intelligent automobile technology, and the embodiments of the present application propose a gesture recognition method, device, system and vehicle. The embodiments of the present application obtain a refined first 3D feature based on a first image and a second image combined with a first machine learning model. The first 3D feature includes a 3D contour feature of a body part corresponding to a gesture action. The fingertip-level gesture action information can be inferred through the first 3D feature. The fingertip-level gesture action information can be accurately mapped to a specific function or interactive object to complete gesture interaction, thereby making gesture control and gesture-based human-computer interaction more accurate, efficient, simple, flexible, safe and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of intelligent vehicle technology, and in particular to a gesture recognition method and apparatus, equipment, computer-readable storage medium, system, and vehicle. Background Art

[0002] During vehicle driving, drivers often need to operate various buttons or central control screens, which may lead to potential safety hazards. In particular, as the size of the central control screen increases and the number of integrated control functions increases, factors that distract the driver's attention are further increased. Although the head up display (HUD) system can solve the problem of distraction caused by the driver's need to lower or turn his head to obtain driving information to a certain extent, the HUD can only be used to display known information and is only projected information, and cannot interact with the driver. In the future, HUD will become more popular and is likely to be extended to the entire windshield to provide drivers with more driving information, which requires a way to interact with it. Gesture-based interaction is a common choice. In addition, with the development of smart cars, the types of on-board equipment are becoming more and more complex. Human-computer interaction based on gestures can accurately control these on-board equipment while ensuring safe driving.

[0003] Therefore, a high-precision gesture recognition method is needed to enable users in the cockpit environment to accurately interact with various in-vehicle devices through gestures. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application provide a gesture recognition method and apparatus, device, computer-readable storage medium, system, and vehicle to make gesture control and gesture-based human-computer interaction more accurate and reliable.

[0005] To achieve the above-mentioned object, the present application provides a gesture recognition method in a first aspect, comprising:

[0006] Acquire a first image and a second image, wherein the first image and the second image include body parts corresponding to the gesture action;

[0007] Obtain key point data of a body part according to the first image;

[0008] Obtaining human body point cloud data according to the second image;

[0009] Obtaining a first 3D feature according to the key point data, the human body point cloud data and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of a body part;

[0010] The user's gesture action information is determined according to the first 3D feature.

[0011] Therefore, a refined first 3D feature is obtained through the first image, the second image and the first machine learning model. Since the first machine learning model is added and the information of multiple images is combined, the data precision, data accuracy and feature integrity of the first 3D feature are effectively improved, so that the gesture action information obtained according to the first 3D feature is more accurate, thereby improving the accuracy and reliability of gesture control and gesture-based human-computer interaction, allowing users to perform precise control and human-computer interaction through gestures, which can be applicable to vehicle cabin environments and improves vehicle driving safety.

[0012] As a possible implementation of the first aspect, the first 3D feature further includes the 3D position of the joint point in the body part. Thus, the accuracy of the gesture action information can be further improved through the 3D position of the joint point in the first 3D feature.

[0013] As a possible implementation of the first aspect, the first image is acquired by the first camera at a first preset angle, and the second image is acquired by the second camera at a second preset angle. Thus, by acquiring the first image and the second image from different angles, the contents contained in the first image and the second image can be complementary, avoiding the loss of hand details in the first 3D feature due to local occlusion or other factors, and further improving the data accuracy and feature integrity of the first 3D feature.

[0014] As a possible implementation of the first aspect, the body part includes an upper limb part corresponding to the gesture action, and the first 3D feature includes a 3D contour feature of the upper limb part and a 3D position of a joint point in the upper limb part. Thus, more feature details related to the gesture action can be obtained through the upper limb part to further improve the data accuracy and feature integrity of the first 3D feature.

[0015] As a possible implementation of the first aspect, obtaining a first 3D feature according to key point data, human body point cloud data, and a first machine learning model specifically includes:

[0016] Obtain a second 3D feature according to the key point data and the human body point cloud data, wherein the second 3D feature includes a 3D contour feature of a body part;

[0017] Obtain a third 3D feature according to the key point data and the second 3D feature, the third 3D feature comprising a 3D contour feature of the body part and a first 3D position of a joint point in the body part;

[0018] A first 3D feature is obtained according to the third 3D feature and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of a body part and a second 3D position of a joint point in the body part.

[0019] Therefore, the point cloud data is first gridded to obtain the second 3D feature containing the contour feature, and then the third 3D feature containing the internal joint point position is obtained through the key point data and the second 3D feature. Finally, the first 3D feature is obtained by reconstructing with the first machine learning model, thereby correcting the 3D position of the joint point and the characteristics of the 3D contour surface, and eliminating obvious errors such as joint point misalignment as much as possible, thereby obtaining a high-precision first 3D feature.

[0020] As a possible implementation manner of the first aspect, obtaining the first 3D feature according to the third 3D feature and the first machine learning model specifically includes:

[0021] Determining reconstruction parameters based on key point data not used for the third 3D feature, the third 3D feature, and the first machine learning model;

[0022] The human body and the human hand are reconstructed based on the reconstruction parameters and the first machine learning model to obtain a first 3D feature.

[0023] Therefore, by reconstructing the human body and hand through the third 3D feature including the positions of internal joint points, the key point data that cannot be applied to the third 3D feature, and the first machine learning model, the key point data can be used to further supplement the possible missing details in the first 3D feature (for example, occluded hand details) or correct the possible erroneous details (for example, misaligned joint points), thereby further improving the completeness and accuracy of the first 3D feature.

[0024] As a possible implementation of the first aspect, the first machine learning model includes a parameterized human body model and a parameterized human hand model. Thus, the first 3D feature can be obtained under the common constraints of the parameterized human body model and the parameterized human hand model, avoiding situations such as the hand joint points being mislocated to the arm, the arm joint points being mislocated to the palm, etc., and further improving the accuracy and precision of the hand details in the first 3D feature.

[0025] As a possible implementation manner of the first aspect, the method further includes: before obtaining the first 3D feature, projecting the key point data and the human body point cloud data to a predetermined coordinate system to complete the registration.

[0026] As a possible implementation of the first aspect, the gesture action information includes one or more of the following: fingertip landing information, finger pointing information, fingertip movement trajectory information, gesture type information, and first indication information, where the first indication information is used to indicate whether the gesture action is valid or invalid. Thus, the accuracy and reliability of gesture control and gesture-based human-computer interaction can be improved through various gesture action information.

[0027] As a possible implementation manner of the first aspect, determining the gesture action information of the user according to the first 3D feature includes:

[0028] Obtaining one or more of user information of a gesture action, a posture of a body part, and a movement trajectory of the body part according to the 3D position of a joint point in the body part of the first 3D feature;

[0029] First indication information of the gesture action is obtained according to one or more of the user information, the posture of the body part, and the movement trajectory of the body part.

[0030] Thus, the first indication information can be accurately obtained through the first 3D feature, thereby eliminating situations such as "misidentifying the user's hand movements as gesture commands when the user has no intention" through the first indication information, thereby improving the accuracy of gesture recognition.

[0031] As a possible implementation of the first aspect, the gesture recognition method further includes: implementing interaction between the interactive object and the user in response to the gesture action information. Thus, accurate and reliable human-computer interaction can be achieved through gesture action information with high accuracy.

[0032] As a possible implementation of the first aspect, the gesture recognition method further includes: when the first indication information indicates that the gesture action is valid, implementing the interaction between the interactive object and the user according to the gesture action information. It can be understood that the interactive object includes a human-computer interaction interface, such as: HUD interface elements, labels and buttons of the control panel, etc. Thus, accurate and reliable human-computer interaction and object manipulation can be achieved through high-precision gesture action information and the first indication information therein.

[0033] A second aspect of the present application provides a gesture recognition device, comprising:

[0034] An acquisition unit, configured to acquire a first image and a second image, wherein the first image and the second image include body parts corresponding to the gesture action;

[0035] A key point unit, used for obtaining key point data of a body part according to the first image;

[0036] A point cloud unit, used for obtaining human body point cloud data according to the second image;

[0037] A feature extraction unit, configured to obtain a first 3D feature according to the key point data, the human body point cloud data and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of a body part;

[0038] The determining unit is used to determine the user's gesture action information according to the first 3D feature.

[0039] As a possible implementation manner of the second aspect, the first 3D feature further includes a 3D position of a joint point in the body part.

[0040] As a possible implementation manner of the second aspect, the acquisition unit is specifically used to acquire a first image at a first preset angle through a first camera; and / or is specifically used to acquire a second image at a second preset angle through a second camera.

[0041] As a possible implementation manner of the second aspect, the body part includes an upper limb part corresponding to the gesture action, and the first 3D feature includes a 3D contour feature of the upper limb part and a 3D position of a joint point in the upper limb part.

[0042] As a possible implementation manner of the second aspect, the feature extraction unit is specifically configured to:

[0043] Obtain a second 3D feature according to the key point data and the human body point cloud data, wherein the second 3D feature includes a 3D contour feature of a body part;

[0044] Obtain a third 3D feature according to the key point data and the second 3D feature, the third 3D feature comprising a 3D contour feature of the body part and a first 3D position of a joint point in the body part;

[0045] A first 3D feature is obtained according to the third 3D feature and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of a body part and a second 3D position of a joint point in the body part.

[0046] As a possible implementation manner of the second aspect, the feature extraction unit is specifically configured to:

[0047] Determining reconstruction parameters based on key point data not used for the third 3D feature, the third 3D feature, and the first machine learning model;

[0048] The human body and the human hand are reconstructed based on the reconstruction parameters and the first machine learning model to obtain a first 3D feature.

[0049] As a possible implementation manner of the second aspect, the first machine learning model includes a parameterized human body model and a parameterized human hand model.

[0050] As a possible implementation manner of the second aspect, the feature extraction unit is further used to project the key point data and the human body point cloud data to a predetermined coordinate system before obtaining the first 3D feature to complete the alignment.

[0051] As a possible implementation method of the second aspect, the gesture action information includes one or more of the following: fingertip landing information, finger pointing information, fingertip movement trajectory information, gesture type information, and first indication information, where the first indication information is used to indicate whether the gesture action is valid or invalid.

[0052] As a possible implementation manner of the second aspect, the determining unit is specifically configured to:

[0053] Obtaining one or more of user information of a gesture action, a posture of a body part, and a movement trajectory of the body part according to the 3D position of a joint point in the body part of the first 3D feature;

[0054] First indication information of the gesture action is obtained according to one or more of the user information, the posture of the body part, and the movement trajectory of the body part.

[0055] As a possible implementation manner of the second aspect, the gesture recognition device further includes: an interaction unit, configured to implement interaction between the interaction object and the user in response to gesture action information.

[0056] As a possible implementation manner of the second aspect, the interaction unit is specifically configured to: when the first indication information indicates that the gesture action is valid, implement the interaction between the interaction object and the user according to the gesture action information.

[0057] A third aspect of the present application provides an electronic device, including:

[0058] at least one processor; and

[0059] At least one memory stores a computer program, and when the computer program is executed by at least one processor, it implements any one of the gesture recognition methods in the first aspect and possible implementations thereof.

[0060] In a fourth aspect, the present application provides a computer-readable storage medium having program instructions stored thereon. When the program instructions are executed by a computer, the computer executes any one of the gesture recognition methods in the first aspect and its possible implementations.

[0061] A fifth aspect of the present application provides a gesture-based human-computer interaction system, comprising:

[0062] A first camera is used to capture a first image, wherein the first image contains a body part corresponding to the gesture action;

[0063] A second camera is used to capture a second image, where the second image contains a body part corresponding to the gesture action;

[0064] at least one processor; and

[0065] At least one memory stores a computer program, and when the computer program is executed by at least one processor, the at least one processor executes any one of the gesture recognition methods in the first aspect and possible implementations thereof.

[0066] As a possible implementation of the fifth aspect, a first camera is installed at a first position in the vehicle cabin, such as: a central control area, a steering column area, and an A-pillar area on the driver's side, specifically for capturing a first image at a first preset angle; and / or, a second camera is installed at a second position in the vehicle cabin, such as: a rearview mirror position in the cabin, an A-pillar area on the co-pilot side, and a center console area, specifically for capturing a second image at a second preset angle. Thus, information complementarity between the first image and the second image can be achieved to further improve the data accuracy and feature integrity of the first 3D feature. It can be understood that the first position and the second position may be the same or different, the first angle and the second angle may be the same or different, and the installation position and image acquisition angle of the first camera and the second camera may be adjusted according to the cabin layout design and the requirements for the first and second images captured, and the embodiments of the present application do not limit this.

[0067] The sixth aspect of the present application provides a vehicle, comprising any computing device in the third aspect and its possible implementations, any computer-readable storage medium in the fourth aspect and its possible implementations, or any gesture-based human-computer interaction system in the fifth aspect and its possible implementations.

[0068] In an embodiment of the present application, key point data is obtained through a first image, and human body point cloud data is obtained through a second image. The human body point cloud data implicitly contains the user's human body contour features, and the key point data implicitly contains the user's skeleton features. The key point data and the human body point cloud data complement each other, so that the first 3D feature can have both the external contour features and the internal skeleton features of the human body. At the same time, a first machine learning model is introduced to refine the first 3D feature to improve the accuracy. In this way, high-precision gesture action information can be obtained from the first 3D feature to achieve precise gesture control (for example, fingertip-level control) and gesture-based human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The following further illustrates the various features of the embodiments of the present application and the connections between the various features with reference to the accompanying drawings. The accompanying drawings are all exemplary, some features are not shown in actual proportion, and some drawings may omit the features that are customary in the field involved in the present application and are not necessary for the present application, or additional features that are not necessary for the present application may be shown. The combination of the various features shown in the accompanying drawings is not intended to limit the present application. In addition, throughout this specification, the same figure numerals refer to the same content. The specific description of the drawings is as follows:

[0070] Figure 1 It is a flowchart of the gesture recognition method according to an embodiment of the present application.

[0071] Figure 2It is a schematic diagram of an exemplary implementation process of obtaining the first 3D feature in an embodiment of the present application.

[0072] Figure 3 It is a schematic diagram of an exemplary specific implementation process for obtaining the third 3D feature in an embodiment of the present application.

[0073] Figure 4 It is a schematic diagram of an exemplary specific implementation process of obtaining a 3D mesh body in an embodiment of the present application.

[0074] Figure 5 It is a structural diagram of a gesture recognition device in an embodiment of the present application.

[0075] Figure 6 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application.

[0076] Figure 7 It is a structural diagram of a gesture-based human-computer interaction system in an embodiment of the present application.

[0077] Figure 8 This is an installation example diagram of the first camera in the embodiment of the present application.

[0078] Fig. 9 This is an installation example diagram of the second camera in the embodiment of the present application.

[0079] Fig.10 It is a schematic diagram of the gesture recognition and control flow of the gesture-based human-computer interaction system in an embodiment of the present application.

[0080] Figure 11a to Figure 11b It is a schematic diagram of an exemplary application scenario of the first embodiment of the present application.

[0081] Fig.12 It is a schematic diagram of an exemplary predetermined gesture in Example 1 of the present application.

[0082] Figure 13a to Figure 13b Schematic diagram of an exemplary two-finger drag gesture according to Embodiment 1 of the present application.

[0083] Figure 14a to Figure 14d This is a schematic diagram of an exemplary gesture of the thumb and index finger spreading out according to an embodiment of the present application.

[0084] Figure 15a to Figure 15d It is a schematic diagram of an exemplary index finger spreading gesture according to the first embodiment of the present application. DETAILED DESCRIPTION

[0085] The words "first", "second", "third", etc. or similar terms such as unit A, unit B, unit C, etc. in the specification and claims are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0086] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0087] The following is an explanation of the terms and meanings of some important nouns involved in this application.

[0088] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present application. In case of any inconsistency, the meaning described in this specification or the meaning derived from the contents recorded in this specification shall prevail. In addition, the terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0089] In order to accurately describe the technical content in this application and to accurately understand the technical solutions of the embodiments of this application, the following explanations or definitions are given for the terms used in this specification before describing the specific implementation methods.

[0090] HUD, also known as head-up display, can project important driving information such as speed, engine speed, battery power, navigation, etc. onto the windshield in front of the driver, so that the driver can see vehicle parameters and driving information such as speed, engine speed, battery power, navigation, etc. without lowering or turning his head.

[0091] A Time of Flight (TOF) camera emits light pulses to a target object and records the reflection or round-trip time of the light pulses. It calculates the distance between the light pulse emitter and the target object and generates a 3D image of the target object. The 3D image includes the depth information of the target object and the intensity of the reflected light.

[0092] A two-dimensional (2D) image is an image containing only planar information, and may be, but is not limited to, an RGB image, an IR image, or others.

[0093] Depth image, any type of image containing depth information, may be but is not limited to a TOF image or other types of images containing depth information.

[0094] Infrared (IR) cameras, also known as thermal imaging cameras, are photographic equipment developed based on the principle of infrared radiation of objects above the absolute temperature of space. They generate thermal images by detecting infrared radiation.

[0095] Color (Red Green Blue, RGB) cameras capture color images of objects by sensing natural light or near-infrared light reflected from objects.

[0096] The camera coordinate system is a three-dimensional rectangular coordinate system with the optical center of the camera as the coordinate origin, the Z axis as the camera optical axis, and the X axis and Y axis parallel to the X axis and Y axis in the image coordinate system respectively. Its coordinate value is usually expressed by Pc(Xc,Yc,Zc).

[0097] The calibration information of the camera includes the external parameters and internal parameters of the camera. The internal parameters and external parameters of the camera can be obtained through Zhang Zhengyou calibration. In the embodiment of the present application, the internal parameters and external parameters of the first camera and the internal parameters and external parameters of the second camera are calibrated in the same world coordinate system.

[0098] The camera's external parameters determine the relative position between the camera coordinate system and the world coordinate system, and the parameters for converting from the world coordinate system to the camera coordinate system, including the rotation matrix R and the translation vector T. Taking pinhole imaging as an example, the camera's external parameters, world coordinates, and camera coordinates satisfy the relationship (1):

[0099] Pc=RPw+T (1)

[0100] Among them, Pw is the world coordinate, Pc is the camera coordinate, T = (Tx, Ty, Tz) is the translation vector, R = R (α, β, γ) is the rotation matrix, which is γ around the Z axis of the camera coordinate system, β around the Y axis, and α around the X axis. These six parameters, α, β, γ, Tx, Ty, and Tz, constitute the external parameters of the camera.

[0101] The intrinsic parameters of the camera determine the projection relationship from the three-dimensional space to the two-dimensional image and are only related to the camera. Taking the pinhole imaging model as an example, without considering image distortion, the intrinsic parameters may include the scale factor of the camera in the two coordinate axes u and v directions of the image coordinate system, the coordinates of the principal point (x0, y0) relative to the imaging plane coordinate system, and the coordinate axis tilt parameter s. The scale factor of the u axis is the ratio of the physical length of each pixel in the x direction in the image coordinate system to the camera focal length f, and the v axis scale factor is the ratio of the physical length of the pixel in the y direction in the image coordinate system to the camera focal length. If image distortion is considered, the intrinsic parameters may include the scale factor of the camera in the two coordinate axes u and v directions of the image coordinate system, the coordinates of the principal point relative to the imaging plane coordinate system, the coordinate axis tilt parameter and the distortion parameter. The distortion parameters may include the three radial distortion parameters and two tangential distortion parameters of the camera.

[0102] The world coordinate system, also known as the measurement coordinate system or the objective coordinate system, is a three-dimensional rectangular coordinate system. It is used as a reference to describe the three-dimensional position of the camera and the object to be measured. It is an absolute coordinate system of the objective three-dimensional world, and its coordinate values ​​are usually expressed as Pw (Xw, Yw, Zw). In the embodiment of the present application, the cockpit coordinate system can be used as the world coordinate system.

[0103] The imaging plane coordinate system, also known as the image coordinate system, takes the center of the image plane as the coordinate origin. The X-axis and Y-axis are parallel to the two vertical sides of the image plane, respectively. Its coordinate value is usually represented by P(x, y). The image coordinate system uses physical units (for example, millimeters) to represent the position of pixels in the image.

[0104] The pixel coordinate system, that is, the image coordinate system in pixels, takes the upper left corner of the image plane as the origin, and the X-axis and Y-axis are parallel to the X-axis and Y-axis of the image coordinate system respectively. Its coordinate value is usually represented by p(u,v). The pixel coordinate system represents the position of pixels in the image in units of pixels.

[0105] Taking the pinhole camera model as an example, the coordinate values ​​of the pixel coordinate system and the coordinate values ​​of the camera coordinate system satisfy the relationship (2).

[0106]

[0107] Among them, (u, v) represents the coordinates of the image coordinate system in pixels, (Xc, Yc, Zc) represents the coordinates in the camera coordinate system, and K is the matrix representation of the camera intrinsic parameters.

[0108] The digital model of the cockpit environment includes the positions of all objects in the vehicle cockpit (e.g., HUD, physical buttons, steering wheel, seats, etc.) in a pre-selected reference coordinate system, the layout of the cockpit environment, etc. It is a known model, which is equivalent to a cockpit environment map in the reference coordinate system. In the embodiment of the present application, the pre-selected reference coordinate system is the cockpit coordinate system. In specific applications, the reference coordinate system can be customized or flexibly selected as needed.

[0109] Key points can be used to characterize joints and / or feature points of human body movements or postures, and can be customized. For example, the key points of the hand may include the bone nodes of the fingers, the fingertips, the connection points between the fingers and the palm, the wrist joints where the hand and the arm are connected, etc. The key points of the arm may include the connection points between the arm and the trunk (also called the upper arm joints), the elbow joints, the wrist joints where the arm and the hand are connected (also called the forearm joints), etc.

[0110] The joint point can be used to form a skeleton joint point or a custom body node of a skeleton line. In the embodiment of the present application, the 3D position of the joint point can be characterized by the 3D position of its center point (hereinafter referred to as the joint center point).

[0111] The upper limb joints, i.e. the joints included in the upper limbs, can be freely selected as needed. For example, the upper limb joints may include: the connection points between the upper limbs and the head, the bone nodes at the base of the upper arm, the bone nodes at the elbow, the bone nodes at the wrist, and the hand joints. In specific applications, the upper limb joints can be identified by pre-set joint numbering or other similar methods, and the 3D position of the upper limb joints can be represented by the three-dimensional coordinates of the upper limb joints in the cockpit coordinate system.

[0112] The hand joints, i.e. the joints included in the hand, can be freely selected as needed. In the embodiment of the present application, the hand starts from the wrist and ends at the fingertips. For example, the hand joints may include 16, namely: wrist bone nodes, three bone nodes from the root of the little finger to its fingertips, three bone nodes from the root of the middle finger to its fingertips, three bone nodes from the root of the ring finger to its fingertips, three bone nodes from the root of the index finger to its fingertips, and three bone nodes from the root of the thumb to its fingertips. In specific applications, the hand joints can be identified by methods such as bone node numbers, finger numbers + bone node numbers, etc.

[0113] The fingertip position is the 3D position of the finger tip. In the embodiment of the present application, the fingertip position can be represented by the 3D position of a selected point at the fingertip in the finger outer contour indicated by the 3D mesh of the hand (for example, the center point of the fingertip curve) or the 3D position of the fingertip joint point.

[0114] The 3D position can be represented by coordinates in a pre-selected three-dimensional space coordinate system. In the embodiment of the present application, the 3D position can be represented by three-dimensional coordinates of a cockpit coordinate system.

[0115] Point cloud is a data set of points in a pre-selected spatial coordinate system. The data of each point includes the three-dimensional coordinates, color, intensity value, time and other information of the point. In the embodiment of the present application, the spatial coordinate system corresponding to the point cloud data is the cockpit coordinate system, and the data format of the point cloud can be (x, y, z).

[0116] A three-dimensional (3D) grid uses a three-dimensional grid to represent a three-dimensional space, and the information stored in each mesh includes the distance from the mesh to the surface of the object. In the embodiment of the present application, the information stored in each mesh in the 3D grid is the distance from the mesh to the origin of a pre-selected reference coordinate system, which can be but is not limited to the cockpit coordinate system of the vehicle. The mesh shape in the 3D grid can be customized, for example, it can be a triangle, polygon or other shape.

[0117] Mesh data may include point information (e.g., three-dimensional coordinates of a point), line information (e.g., which two points are connected), and surface information (e.g., which points and lines are composed of or which vertices are there). Mesh data can be used to restore the contour of an object and its surface. In an embodiment of the present application, mesh data can be obtained based on key point data extracted from the first image through a model such as a neural network, or can be obtained by meshing point cloud data through a surface reconstruction algorithm.

[0118] 3D mesh, a 3D object model represented by a 3D mesh. For example, a 3D mesh of a human body part is a 3D body part model represented by a 3D mesh. Exemplarily, in an embodiment of the present application, the 3D mesh may include the 3D contour features of the body part, or may include both the 3D contour features of the body part and the 3D positions of the joints.

[0119] The first 3D mesh is a 3D mesh obtained by meshing the point cloud data, which can restore the surface of the object. Exemplarily, in the embodiment of the present application, the first 3D mesh data can be obtained by a surface reconstruction algorithm.

[0120] The second 3D mesh, which may also be referred to as a 3D mesh with related nodes, is a 3D mesh obtained by using the key point data extracted from the 2D image and the first 3D mesh data, and the second 3D mesh can restore the surface of the object and the internal nodes of the object. In the embodiment of the present application, the object refers to a specific body part of a person, and the second 3D mesh can restore the 3D contour and internal joint points of the specific body part.

[0121] The parametric human body model is a human body model defined by constraint parameters, based on which the 3D structure of the human body can be reconstructed through data. Exemplarily, in the embodiment of the present application, the 3D structure of the human body can be represented by a 3D grid.

[0122] The parameterized human hand model is a human hand model defined by constraint parameters, and the 3D structure of the human hand can be reconstructed through data based on the model. Exemplarily, in the embodiment of the present application, the 3D structure of the human hand can be represented by a 3D grid.

[0123] Skinned Multi-Person Linear (SMPL) model, a parametric 3D model of the human body, can accurately represent different shapes and poses of the human body. SMPL is a learnable model that can better fit the shape of the human body and its deformation under different poses through training. The input data of SMPL includes shape parameters and pose parameters, and the output data includes the positions of 6980 vertices and 23 joints. Shape parameters are used to describe the shape of a person. The value of each dimension represents an indicator of the human body shape, such as height, fatness, etc. Usually, shape parameters have 10 dimensional values, and the value of each dimension represents an indicator of the human body shape. Pose parameters are used to describe the action posture of the human body at a certain moment. They usually have 24*3 dimensional values. "24" represents 24 pre-defined human joints, and "3" represents the axis-angle expression of the rotation angle of a human joint relative to its parent node. For the 24 human joints, a set of joint trees are pre-defined. The process of synthesizing digital human models using the SMPL model can be divided into three stages: shape-based hybrid forming, posture-based hybrid forming, and skinning. SMPL can simulate the bulges and depressions of human muscles during limb movement, thus avoiding surface distortion during human movement and accurately depicting the morphology of human muscle stretching and contraction.

[0124] The Sparse Trained Articulated Human Body Regressor (STAR) model is an improvement on the SMPL model. Each joint point only affects the vertices around the joint point. Compared with the SMPL model, the parameter scale of the STAR model is reduced and the generalization performance is better.

[0125] Hand Model with Articulated and Non-rigiddeformations (MANO), a priori parametric hand model, can be used as part of the SMPL model or independently. It can simulate the bulges and depressions of the muscles of the human hand during limb movement, avoid surface distortion of the human hand during movement, and accurately depict the morphology of muscle stretching and contraction of the human hand. MANO decomposes the hand mesh into two parts: shape and posture. The shape part mainly models the properties of the hand, such as the slenderness of the fingers and the thickness of the palm, and the posture part determines how the three-dimensional surface deforms through the joints.

[0126] Kalman filtering is an algorithm that uses the linear system state equation to optimally estimate the system state through the system input and output observation data. Since the observation data includes the influence of noise and interference in the system, the optimal estimate can also be regarded as a filtering process. A typical example of Kalman filtering is to predict the coordinate position and velocity of an object from a finite set of observation sequences of the object's position that contain noise.

[0127] The Hungarian algorithm is a combinatorial optimization algorithm for solving task allocation problems in polynomial time.

[0128] Surface reconstruction algorithm is a method that generates the target surface by using surface fitting based on discrete sampling points or polygonal mesh data.

[0129] The Crust algorithm is an algorithm for 3D reconstruction of discrete points based on the Voronoi diagram and Delaunay triangulation method. The core idea is to input a set of point cloud data, obtain the central axis of the object by calculating the Voronoi diagram of the point cloud, and finally obtain the surface of the object through the central axis transformation to complete the reconstruction of the point cloud model. The Crust algorithm has low requirements on the quality and morphology of the point cloud, including point cloud density (point spacing), divergence (uniformity), surface integrity, etc. The degree of automation is relatively high, and there is no need for excessive manual intervention, which avoids the later operations of filling holes or processing intersecting patches in many similar algorithms or related software.

[0130] The Voronoi diagram, also called Thiessen polygon or Dirichlet diagram, consists of a set of continuous polygons composed of perpendicular bisectors connecting two adjacent points. Let P = {p1, p2, p3, ..., ps} be a set of s discrete points in n-dimensional space. A complete Voronoi diagram should consist of multiple Voronoi polygons. The mathematical expression of the i-th Voronoi polygon is shown in formula (3).

[0131] V i = {x∈R n :||xp i ||≤||xp j ||, j=1,2,…,n,i≠j} (3)

[0132] In formula (3): ||xp i || represents point x and node p on the plane domain i The Euclidean distance between them. And there is V(P) is called the Voronoi diagram of the point set P.

[0133] Delaunay triangulation, let P = {p1, p2, p3, ..., ps} be a set of s discrete points in n-dimensional space, e is a set of two points p i and p j The line segments connected are E, which is the set of e. If there is a circle passing through p i and p j If the circle does not contain any point in the point set P, then e is a Delaunay edge. If the triangulation of the point set P contains only Delaunay edges, then the triangulation is called a Delaunay triangulation. Delaunay triangulation has two important properties, namely, the maximization of the minimum angle and the empty circle property.

[0134] Geodesic distance, the length of the shortest path between two points in three-dimensional space.

[0135] An isosurface is a surface in space where the value of the function F(x, y, z) is equal to a given value V, i.e., a surface composed of S = {(x, y, z): F(x, y, z) = V}. Isosurface technology is widely used in visualization. Many visualization problems of scalar fields can be summarized as the extraction and drawing of isosurfaces, such as various equipotential surfaces, equipotential surfaces, isobaric surfaces, isothermal surfaces, etc.

[0136] Morse function is an important function in differential topology. Let M be a smooth three-dimensional manifold, f:M->R be a smooth function, and calculate the gradient of f at point p: If the three components in the above formula are all 0, then p is called a critical point of f, otherwise it is a regular point. According to the Hessian matrix of f at the critical point p, if the matrix H(p) is reversible (that is, the determinant value is not equal to 0), then p is a non-degenerate critical point, otherwise it is a degenerate critical point. If all critical points of f are non-degenerate critical points and the function values ​​at all critical points are not equal, then f is called a Morse function.

[0137] Level set, also known as isovalue set, is a mathematical abstraction of contour lines and contour surfaces. Let function f: A→R, For a constant c, the set {x∈A|f(x)=c} is called the c-equivalued set of f, or simply the equivalued set. When n=2 or 3, the equivalued set is often a curve or surface, called an isoline (also called an isoheight line) or an isosurface (also called an isoheight surface).

[0138] RingNet, an end-to-end neural network model, is capable of 3D reconstruction based on a single image. For example, 3D face reconstruction can be performed given a single facial image. Another example is that 3D data including the neck and the entire head can be reconstructed based on a single image.

[0139] Driver monitoring system, a system that monitors the driver's status in the car based on image processing technology and / or voice processing technology, is mainly used to ensure driving safety and improve driving experience.

[0140] The cabin monitoring system improves passenger safety and comfort by detecting the entire cabin environment in real time. It can provide functions such as passenger number reporting, passenger identification, posture analysis and object detection in the cockpit, allowing the vehicle system to understand the cabin situation.

[0141] The panoramic imaging system is an auxiliary system that can view real-time image information of the panoramic view around the vehicle through the on-board display screen.

[0142] The principle of gesture recognition based on TOF camera is to use the depth information and background information of TOF camera to filter to extract the hand contour, and then classify, identify the gesture type and trajectory according to the hand contour. This technology is widely used in vehicles, and can control the lights, seats, air conditioning, etc. in the car through gestures. The defects of this technology are that the resolution of TOF camera is limited, the driver's hand is far away from the TOF lens, and the hand making the gesture is not facing the TOF camera lens. These factors make it difficult for this technology to accurately recognize gestures, and it can only recognize the type of gesture. It is difficult to achieve high-precision control of gestures, recognition of fingertip-level position and pointing angle.

[0143] Gesture recognition based on binocular cameras, also known as binocular gesture recognition technology, is based on the principle of matching each point at the same position of the hand through the difference in viewing angle to obtain the 3D depth information of the image using the triangulation principle, and then finely modeling the 3D contour of the hand based on the 3D depth information combined with the high-definition resolution of the 2D image, thereby realizing gesture recognition. Compared with gesture recognition technology based on TOF cameras, this method can integrate information from different positions and achieve higher accuracy in a well-lit environment. The defects of this technology include: it is likely to lose accuracy due to fill light problems or local details being too dark under strong or dark light conditions, and even using IR cameras may be difficult to avoid this problem. In the case of local occlusion, gesture misrecognition may also occur due to inconsistent left and right imaging. In addition, when using this technology to obtain high-precision recognition results, a point-by-point alignment and matching algorithm must be used, which will bring a large computing power overhead, and the storage performance and computing performance of the hardware are both high, and some hardware devices may not be able to support it.

[0144] In view of this, the embodiments of the present application propose an improved gesture recognition method, device, equipment, system, computer-readable storage medium and vehicle, the principle of which is to perform comprehensive reasoning based on the key points in the first image and the 3D point cloud in the second image in combination with a first machine learning model (i.e., a parameterized model) to obtain a refined first 3D feature (for example, a 3D mesh). Through the first 3D feature, fingertip-level gesture action information can be obtained. Thus, the fingertip-level gesture action information is mapped to a specific function or interactive object, so that high-precision control at the fingertip level can be achieved, thereby making gesture control and gesture-based human-computer interaction more accurate, efficient, concise, flexible, safe and reliable, and can be applied to vehicle cockpit environments that have high requirements for the accuracy and safety of gesture control.

[0145] The embodiments of the present application can be applied to various scenarios that require human-computer interaction. In particular, the embodiments of the present application are particularly suitable for cockpit environments of vehicles such as vehicles and aircraft. For example, human-computer interaction between a driver and on-board equipment during vehicle driving. Of course, the embodiments of the present application can also be applied to scenarios such as meetings and smart homes that require frequent human-computer interaction and have high requirements for the accuracy, safety, and reliability of human-computer interaction operations.

[0146] The "vehicle" in the embodiments of the present application includes any means of transportation applicable to the embodiments of the present application. For example, the "vehicle" here includes but is not limited to private cars, buses, passenger cars, high-speed railways, subways, etc., and the power type of the "vehicle" can be fuel-driven, pure electric, hydrogen fuel cell-driven, hybrid power, etc. In addition, the "vehicle" here can be a human-driven vehicle, an automatic driving vehicle, or any other type of vehicle. Those skilled in the art will understand that any means of transportation with a cabin can be regarded as a "vehicle" in the embodiments of the present application.

[0147] It should be noted that the user in the embodiment of the present application refers to the sender of the gesture action.

[0148] The following is an exemplary description of the specific implementation of the gesture recognition method according to the embodiment of the present application.

[0149] Figure 1 The exemplary process of the gesture recognition method of the embodiment of the present application is shown. Figure 1 As shown, the exemplary process of the gesture recognition method of the embodiment of the present application may include the following steps:

[0150] Step S110, acquiring a first image and a second image, wherein the first image and the second image contain body parts related to the gesture action.

[0151] In the embodiment of the present application, the first image and the second image are synchronized. In other words, the first image and the second image correspond to the same scene at the same time. Alternatively, the time difference between the shooting time of the first image and the second image is less than or equal to a predetermined threshold, and it can be approximately considered that the first image and the second image correspond to the same scene at the same time. Here, the scene can be but is not limited to the interior scene of the vehicle cabin.

[0152] To avoid missing hand details in the first 3D feature, the first image may be, but is not limited to, a high-resolution RGB image or an IR image. The second image may be, but is not limited to, a TOF image or other similar images.

[0153] The scene contents included in the first image and the second image may be the same or different. In order to allow the first image and the second image to include as many details of the user's body in the scene as possible, the first image and the second image may be captured from different angles. In practical applications, the first image may be captured by the first camera described below, and the second image may be captured by the second camera described below. The contents of the first image and the second image may be flexibly controlled by adjusting the installation positions and installation angles of the first camera and the second camera.

[0154] In some embodiments, the first image can be acquired by the first camera at a first preset angle, and the second image can be acquired by the second camera at a second preset angle. In some examples, when performing a gesture action, the hand is located in the gesture effective area of ​​the vehicle cabin. At this time, the first image can be acquired by the first camera at a first preset angle toward the gesture effective area, and the second image can be acquired by the second camera at a second preset angle toward the gesture effective area.

[0155] The first preset angle and the second preset angle may be the same or different. In some embodiments, the first preset angle may be 0, and the second preset angle may be a top-down angle less than 90 degrees, that is, the optical axis of the first camera is parallel to or coincides with the axis of the gesture effective area, and the optical axis of the second camera is at an acute angle less than 90 degrees with the axis of the gesture effective area. In other words, the first camera is facing the gesture effective area, and the second camera looks down at the gesture effective area at a preset angle. In this way, the first image will contain more body details of the user and these body details are relatively clear. For example, in addition to the hand that performs the gesture action (the hand includes the palm, wrist, and all fingers), it may also include other parts of the upper limbs, such as shoulders, upper arms, elbows, forearms, wrists, etc. At the same time, when the field of view (FOV) of the second camera is relatively small, the second camera can also collect as many hand details and possible other details as comprehensively as possible. Therefore, by including the upper limb parts in the first image, the human body details of the first 3D feature will also be more complete, and the accuracy of the hand details in the first 3D feature can be further improved by the mutual constraints between the parts of the upper limb parts. This is conducive to obtaining high-precision gesture action information (for example, fingertip-level gesture action information), and is convenient for quickly and accurately inferring the user's intention through the upper limb posture of the first 3D feature, and then obtaining precise first indication information, which is used to indicate whether the gesture action is valid or invalid.

[0156] Here, the gesture valid area is pre-selected. In specific applications, gesture recognition can be started by detecting whether the user's hand is in the gesture valid area. In some embodiments, gesture recognition is started after detecting that the user's hand is in the gesture valid area and performing a predetermined starting gesture action.

[0157] For example, after step S110, it may also include: detecting whether the hand in the first image and / or the second image is located in the preset gesture valid area and whether the predetermined starting gesture action is performed, so as to determine whether to start gesture recognition. Specifically, if a hand in the first image and / or the second image is located in the gesture valid area and performs the predetermined starting gesture action, gesture recognition is started; if the first image and the second image do not contain the hand, or the hand does not belong to the gesture valid area, or the hand does not perform the predetermined starting gesture action, gesture recognition is not started, and step S110 is repeated until the above conditions are met. In this way, false triggering of gesture recognition can be effectively avoided, computing resources can be saved, and processing efficiency can be improved.

[0158] In some embodiments, the first image and / or the second image may include upper limb parts related to the gesture action. In one embodiment, the upper limb parts may include the arms and hands that perform the gesture action, so that the first 3D feature may include the features of the arms and hands that perform the gesture action at the same time, so as to obtain the user's intention through the posture of the arms and hands, and then obtain high-precision gesture action information containing the first indication information. In another embodiment, the upper limb parts included in the first image and / or the second image may include another arm and hand in addition to the arms and hands that perform the gesture action. In this way, the first 3D feature may include the features of two arms and two hands at the same time, because the mutual constraints between these arms and hands also make the detailed features of the arms and hands that perform the gesture action (for example, the 3D position of the joint point) more accurate, so as to more accurately and comprehensively know the user's posture, so as to more accurately infer the user's intention, and obtain the gesture action information containing the first indication information and with higher accuracy. In addition, the first image and / or the second image may also include details of other more body parts, such as the head, neck, etc., which are not limited herein.

[0159] Step S120, obtaining key point data of body parts according to the first image.

[0160] Various key point extraction algorithms applicable to the embodiments of the present application may be used to implement the key point data acquisition of step S120. For example, the first image may be processed by an existing machine learning model capable of extracting key point data from the first image to obtain key point data of the body part corresponding to the gesture action.

[0161] In some embodiments, step S120 may include: first inferring key point data within the entire image range of the first image, the key point data including key point data of body parts, locating the hand area of ​​the first image by the wrist position in the key point data, and if the hand area belongs to a pre-set gesture valid area, inferring the user's hand key point data from the hand area of ​​the first image. In this embodiment, the user's key points are first inferred from the first image, and then the user's hand key points are inferred within a small range, so that the user's key point data can be extracted comprehensively and efficiently, and high-precision hand key point data can be extracted at the same time, without losing the key details of the hand, especially the relevant details of the hand performing the gesture action, which provides strong data support for obtaining the high-precision first 3D feature in step S140.

[0162] In some examples, if multiple sets of key point data are inferred within the entire image range of the first image, only one set of key point data in which the wrist position is in the valid gesture area can be retained. This set of key point data is the key point data of the user, and the wrist position in this set of key point data is used to locate the hand area of ​​the first image. Other key point data except this set of key point data are invalid data and can be discarded.

[0163] Here, the key point data may indicate the 2D position of the joint point of the body part. When the first image is collected by the first camera, the 2D position of the joint point can be represented by the two-dimensional coordinates of the pixel coordinate system of the first camera. In some embodiments, the data of each key point may include node ID, two-dimensional coordinates, occlusion information, confidence and the like. Among them, the occlusion information is used to indicate whether the corresponding key point is occluded, and the node ID may be but is not limited to a pre-set bone node number or other identifier, which may indicate the human bone node corresponding to the key point. The two-dimensional coordinates are the two-dimensional coordinates in the pixel coordinate system of the first camera. The confidence is used to indicate the credibility of the key point data.

[0164] In some embodiments, key point data can be represented by a tree structure, in which each node represents a key point, and the association between nodes represents the connection relationship between the key points. The tree structure can simultaneously record the information of each key point and the relationship between the key points, thereby more accurately and comprehensively describing the situation of the internal joints of the body parts.

[0165] Step S130, obtaining human body point cloud data according to the second image.

[0166] The human body point cloud data can be extracted from the second image by various applicable algorithms. In some embodiments, the human body point cloud data can be directly extracted from the second image using an existing machine learning model or algorithm. In some embodiments, step S130 may include: first filtering the second image to remove the noise therein, and then classifying the point cloud data in the second image into people and background by clustering to remove the point cloud data of the background, and finally obtaining the human body point cloud data. In this way, after filtering and distinguishing between people and background, the point cloud data of the background such as seat interior can be removed and the noise interference can be eliminated, and the point cloud data of all people (e.g., drivers and / or passengers) in the corresponding scene (e.g., the cabin scene of the vehicle) can be obtained. The human body point cloud data obtained thereby has less noise and higher accuracy.

[0167] In some embodiments, the human body point cloud data may represent the contour features and surface features of the human body and its attached clothing, providing data support for obtaining the first 3D features in the subsequent step S140.

[0168] Step S140, obtaining a first 3D feature according to the key point data, the human body point cloud data and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of a body part.

[0169] Here, the first machine learning model is a priori parameterized model, which may include but is not limited to a parameterized human body model and a parameterized human hand model. For example, the parameterized human body model may be but is not limited to SMPL, STAR and other models, and the parameterized human hand model may be but is not limited to MANO model.

[0170] Here, the first 3D feature is data for indicating features such as the external contour of a body part. In some embodiments, the first 3D feature may also include the 3D position of a joint point in the body part. In some examples, the 3D position of a joint point in the first 3D feature may be as follows: Figure 2 The second 3D position obtained by the method shown in the figure or by dividing Figure 2 The 3D positions of the joints obtained by other methods other than the above methods (for example, the 3D positions of the joints obtained by importing the mesh data of the second 3D feature and the key point data into the first machine learning model to reconstruct the human body and the hand). For example, the first 3D feature may be, but is not limited to, a 3D mesh body, which may include 3D contour features of a body part and the 3D positions of the joints in the body part.

[0171] In some embodiments, Figure 2 An exemplary specific implementation process of step S140 is shown. Figure 2 As shown, the exemplary specific implementation process of step S140 may include the following steps:

[0172] Step S210, obtaining a second 3D feature according to the key point data and the human body point cloud data.

[0173] In some embodiments, a second 3D feature can be obtained based on the human body point cloud data matched to the key point data, that is, the human body point cloud data of the user, and the second 3D feature includes a 3D contour feature of the body part. For example, the second 3D feature can be but is not limited to the first 3D grid below.

[0174] In some embodiments, if the second image contains human body point cloud data of two or more persons, the key point data obtained in step S120 can be used to extract the user's human body point cloud data, and the second 3D feature can be obtained by gridding the user's human body point cloud data.

[0175] Step S220, obtaining a third 3D feature according to the key point data and the second 3D feature, wherein the third 3D feature includes a 3D contour feature of the body part and a first 3D position of a joint point in the body part.

[0176] In some embodiments, the key point data can be fused with the second 3D feature in step S220 to obtain a third 3D feature. Before fusion, the 2D joint points represented by the key point data and the body part contours represented by the human body point cloud data are independent of each other. Through the fusion of this step, the 2D joint points have depth information and become 3D joint points. With the wrapping of the 3D contour, the third 3D feature containing the 3D joint points can be obtained. The third 3D feature also contains the 3D contour features of the body part and the first 3D position of the joint point in the body part.

[0177] In some examples, the third 3D feature may be, but is not limited to, the second 3D mesh described below.

[0178] Step S230, obtaining a first 3D feature according to the third 3D feature and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part and a second 3D position of a joint point in the body part.

[0179] In some embodiments, human body reconstruction and hand reconstruction are performed based on the third 3D feature and the first machine learning model to obtain the first 3D feature, so that the first 3D feature can simultaneously include the refined 3D contour features of the body parts and the second 3D positions of the joints. Among them, after being processed by the first machine learning model, the second 3D position is more accurate than the first 3D position. Moreover, the 3D contour features of the body parts in the first 3D feature include not only the shape of the 3D contour, but also the surface features of the 3D contour (for example, skin morphology, etc.). It can be seen that the first 3D feature obtained through steps S210 to S230 has high feature accuracy and complete details for the body parts.

[0180] In step S210 to step S230, the first machine learning model is introduced. Since the first machine learning model can include various human parameters such as constraints of joints in multiple body parts of the human body and approximate size ranges of their external contours (for example, the width of the upper arm, the length of the arm, the width of the forearm, the width of the wrist, the width of the palm, etc.), 3D reconstruction is performed in combination with various human information such as constraints of joints in multiple body parts in the first machine learning model, approximate size ranges of body parts, etc., and is not limited to the information or parameters of one or some body parts (for example, the hand). The arms and hands can be fitted with more curved surface meshes, which can improve the refinement and data accuracy of the first 3D feature, and can make the 3D position of the joint point in the first 3D feature more consistent with the actual situation of the human body, so as to avoid situations that do not conform to the actual state of the human body, such as the center point of the wrist joint is outside the wrist contour, the center point of the wrist joint is located in the middle of the forearm, and the thumb joint point is located between the thumb and the index finger. Therefore, the overall posture of the body part, the hand posture, the finger posture, the fingertip position and other information can be quickly and accurately inferred through the first 3D feature.

[0181] It should be noted that Figure 2 The exemplary implementation process shown is only an example. In practical applications, there are many ways to obtain the first 3D feature. For example, the second 3D feature of the user can be obtained by meshing the human body point cloud data, and the mesh data of the key point data can be obtained by a neural network model, and then the second 3D feature and the mesh data of the key point data are imported into the first machine learning model (for example, a parameterized human body model and a parameterized human hand model) to reconstruct the human body and the human hand, and finally obtain the first 3D feature.

[0182] In some embodiments, step S230 may specifically include: step a1, determining reconstruction parameters (for example, model parameters used for human body reconstruction and hand reconstruction below) based on key point data not used for the third 3D feature, the third 3D feature and the first machine learning model; step a2, reconstructing the human body and the hand based on the reconstruction parameters and the first machine learning model to obtain the first 3D feature. Thus, in the case where the second image may lack some details of the body part, the details of the body part (especially the hand) can still be restored, and the gesture recognition failure, recognition error or misrecognition caused by the hand moving out of the field of view (FOV) of the second camera during the execution of the continuous gesture can be avoided. In addition, in the case where the hand performing the gesture is blocked (including self-blocking and other blocking) (for example, the user's arm or other body parts block the hand performing the gesture, or the steering wheel or other passengers in the cabin block the hand performing the gesture, etc.), the key point data in the first image can be further used to make up for the blocked part, and the details of the blocked part of the hand and / or other parts of the upper limb can be restored, so as to achieve the purpose of accurately restoring the hand details.

[0183] Here, the key point data not used in the third 3D feature may include, but are not limited to, key point data outside the field of view of the second camera, key point data with errors in step S220, etc. Specifically, because the shooting angles and fields of view of the first camera and the second camera are different, in step S220, some key point data of the first image will not be projected into the second 3D feature constructed based on the second image, and the key point data with errors in step S220 are the key point data that cannot be projected into the second 3D feature.

[0184] In step S230, by applying the key point data to human body reconstruction and hand reconstruction, it can not only be used to complete the missing parts of the first 3D feature, but also restore the relevant parts of the human body (especially the hands) from multiple angles and directions, thereby further improving the integrity and data accuracy of the first 3D feature.

[0185] Before step S140, it may include: according to the relative position and calibration information of the first camera and the second camera, projecting the key point data from the first image and the human body point cloud data from the second image into a predetermined coordinate system to achieve registration of the key point data and the human body point cloud data, so as to be directly used in step S140. In this way, the key point data and the human body point cloud data can be included in the same space, thereby improving the processing efficiency and accuracy of step S140. Taking the vehicle cockpit as an example, the predetermined coordinate system is a pre-selected world coordinate system, which can be the vehicle cockpit coordinate system or other vehicle coordinate systems. Taking the vehicle cockpit environment as an example, the key point data and the human body point cloud data can be projected into the vehicle cockpit coordinate system to complete the registration. In some embodiments, the projection can be achieved by the above formulas (1) and (2).

[0186] Step S150: determining the user's gesture action information according to the first 3D feature (eg, the 3D mesh volume mentioned above).

[0187] In an embodiment of the present application, gesture action information may include fingertip-related gesture action information. Specifically, gesture action information may include, but is not limited to, one of the following or any combination thereof: first indication information, fingertip landing point information, finger pointing information, fingertip movement trajectory information, gesture type information, and hand movement trajectory information. For example, based on the first 3D feature of a single-frame image or the relationship between the first 3D features of multiple frames of images, refined fingertip-level gesture action information such as fingertip trajectory and finger pointing information can be accurately calculated.

[0188] A more difficult problem to solve in gesture recognition is the problem of gesture misrecognition. Hand gestures that do not have user intentions but are very similar are often recognized as user gesture commands, resulting in false triggering and poor user experience. In one embodiment of the present application, the user intention can be determined based on the first 3D feature, and then the first indication information that can indicate whether the user has the real intention to perform the gesture action can be obtained. Therefore, through the first indication information, the situation of "misrecognizing the user's hand movements as gesture commands when the user has no user intention" can be eliminated, thereby improving the accuracy of gesture recognition.

[0189] In an embodiment of the present application, the first indication information may be used to indicate whether a gesture action is valid or invalid. In some embodiments, the first indication information may be used to indicate the user intention of a gesture action, that is, to indicate whether the user has the intention to perform a gesture action. In some examples, the first indication information may be represented by an indicative numerical information. For example, the first indication information may be represented by setting a default value such as "0" or "1". When the value of the first indication information is "0", it indicates that the user is not making a gesture, or that the gesture action made is not for the purpose of gesture control or human-computer interaction, that is, the gesture action is invalid. When the value of the first indication information is "1", it indicates that the user is making a gesture and the gesture made is for the purpose of gesture control or human-computer interaction, that is, the gesture action is valid. Therefore, by adding the first indication information with a small amount of data to the gesture action information, it is possible to effectively avoid misrecognition, improve the accuracy of gesture recognition, and thus effectively improve the user experience.

[0190] In some embodiments, user information (e.g., user position, user identity), posture of body parts, and one or more of the movement trajectory of the body parts of the gesture action can be obtained based on the 3D position of the joint point in the first 3D feature, and then the first indication information of the gesture action can be obtained based on one or more of the user information, posture of body parts, and movement trajectory of the body parts. In this way, the first indication information and other gesture action information can be accurately obtained at the same time through the first 3D feature.

[0191] In some examples, the posture of the body part is represented by a joint point connection line (i.e., a skeleton line of the body part) obtained based on the 3D position of the joint point. Through the posture of the user's body part, it can be accurately determined whether the user is making a gesture, thereby obtaining accurate first indication information.

[0192] In some examples, the movement trajectory of a body part can be obtained by tracking the change of the 3D position of a joint point. Taking the arm as an example, the arm posture can be characterized by the connection line of the joint points such as the upper arm, elbow, forearm, and wrist. The arm posture is the posture presented by the connection line. By tracking the change of the connection line and the direction of its endpoints, the direction and movement trajectory of the arm can be known. The user's intention can be determined by the arm direction and movement trajectory, and then the first indication information can be accurately obtained. For example, if the driver raises his hand and places it in the effective area of ​​gesture recognition and maintains it, it can be considered that the driver's true intention is to perform a gesture, and the first indication information indicating that the gesture action is valid is obtained. The human behavior recognition model is used to determine whether the arm action belongs to a gesture action. If it is not a gesture action, for example, drinking water, making a phone call, etc., it is regarded as an unintentional behavior. If it is a gesture action, it is regarded as an intended behavior. Under the intended behavior, the user does not do other behaviors (such as smoking, drinking water, making a phone call, etc.), and it can be determined that the user is making a gesture, and the first indication information indicating that the gesture action is valid is obtained. Under the unintentional behavior, it is determined that the user is not making a gesture, and the first indication information indicating that the gesture action is invalid is obtained.

[0193] Taking the vehicle cockpit scene as an example, the user's upper limb posture indicates that the user is controlling the steering wheel, indicating that the user is the driver. For another example, if the user's upper limb position is in the driver's area of ​​the cockpit, it can be determined that the user is the driver. If the user is the driver, and by tracking the movement trajectory of his upper limbs, it is found that his movements conform to the pre-set driver gestures, it can be determined that the user is making gestures, and the first indication information indicating that the gesture is valid is obtained. If the user is not the driver, the user's position in the cockpit is not the driving position, or the action is not a gesture, it can be determined that the user is not making gestures, and the first indication information indicating that the gesture is invalid is obtained.

[0194] In order to meet the needs of specific application scenarios, personalized customization needs, and driving safety needs, gesture responses can be performed in a targeted manner. In some embodiments, step S150 may also include: determining whether to respond to gesture actions based on one or any combination of the following: the user's cabin position, the user's preset information, the user's upper limb posture, and the user's upper limb movement trajectory. Among them, the cabin position, identity information (i.e., whether it belongs to the driver), upper limb posture, and upper limb movement trajectory can be obtained through the first 3D feature. Thus, gesture responses can be performed in a targeted manner based on the information obtained from the first 3D feature to meet actual application needs.

[0195] Taking the scenario of the vehicle cockpit as an example, the following settings can be made: when the user is determined to be a driver, the user's gestures are responded to; when the user is determined to be a non-driver, the gestures made by the user may not be responded to, or the gestures of other passengers may be responded to based on the driver's choice. In this way, the main driver's gestures can be responded to first in the gesture interaction in the vehicle cockpit, and the gestures of others can be blocked. When the user's cockpit position belongs to the driving position, the user's gestures are determined to be responded to, and when the user's cockpit position does not belong to the driving position, it can be selectively determined whether to respond to gestures.

[0196] For example, we can first confirm whether the user is in the driver's seat or the co-driver's seat based on the posture of the body part obtained by the first 3D feature, and determine whether the user intends to perform a gesture based on the direction and movement trajectory of his or her arm. In addition, we can determine the interaction object of the gesture by combining information such as the finger pointing in the gesture action information.

[0197] The fingertip landing point information may be the spatial position of the fingertip of the target finger in the cockpit, which may be represented by the three-dimensional coordinates of the cockpit coordinate system. In one implementation, based on the first 3D feature, the intersection of the extension line of the line connecting the first joint point of the straightened finger (such as the index finger) and the fingertip and the digital model of the cockpit environment is determined, and the position of the intersection is used as the fingertip landing point information.

[0198] The finger pointing information may be the extension line direction of the line connecting the first joint point and the fingertip of the target finger, which may be represented by a vector including the three-dimensional coordinates of the first joint point and the three-dimensional coordinates of the fingertip in the cockpit coordinate system. In one implementation, based on the first 3D feature, the extension line direction of the line connecting the first joint point and the fingertip of the straightened finger (such as the index finger) is determined, and the extension line direction is used as the finger pointing. The finger pointing information may be represented by a spatial vector, which may be represented by a three-dimensional array, and the three-dimensional value includes the three-dimensional coordinates of the first joint point and the three-dimensional coordinates of the fingertip.

[0199] The fingertip movement trajectory information may be the movement trajectory of the target fingertip within a predetermined time length. In one implementation, the spatial position of the fingertip in the extended state in the first 3D feature within the predetermined time length may be used to form a user's fingertip 3D trajectory point sequence, and the user's fingertip trajectory information may be extracted through the user's fingertip 3D trajectory point sequence. The fingertip trajectory information includes the direction, shape, speed, etc. of the fingertip trajectory. Here, the trajectory direction may be directly calculated based on the vector direction of adjacent trajectory points. The 3D trajectory point sequence may be represented by an array. For example, the fingertip movement trajectory may represent gestures such as circling, sliding, and dragging.

[0200] The gesture type information can be determined by combining the hand posture indicated by the first 3D feature with a pre-built gesture library. In one implementation, the hand posture is compared with the preset gestures in the gesture library, and the information of the preset gesture that matches the posture is the gesture type information of the hand posture. For example, some shortcut functions can be triggered with a separate gesture, and these gestures will be defined in the gesture library. In actual applications, many kinds of preset gestures can be distinguished based on the finger key points combined with the fingertip trajectory, thereby triggering various preset functions.

[0201] Gesture types may include but are not limited to directional gestures, trajectory gestures, etc. For example, in order to determine the finger landing point, the index finger can be used as the basis for determining the finger pointing (i.e., the target finger). Therefore, the design of directional gestures can be based on the index finger, including dragging in all directions, clicking in the depth direction, and confirming with other finger movements (for example, bending the thumb, putting the ring finger and index finger together) to achieve functions such as selection, dragging, and clicking. The actions of trajectory gestures may include but are not limited to moving up, down, left, right, and depth, bending and straightening fingers, drawing circles, etc.

[0202] The target finger can be a pre-specified finger (e.g., the index finger or other finger that the driver considers convenient), or a finger that is currently in an extended state. Similarly, the in-vehicle device or its physical button, or the controllable item of the in-vehicle display screen at the intersection of the extended direction pointed by the finger and the digital model of the cockpit environment is the interactive object pointed by the finger.

[0203] According to the gesture action information, refined interactive control such as dragging, clicking, sliding, zooming, etc. can be performed. In some embodiments, the gesture recognition method of the embodiment of the present application may also include: step S160, in response to the gesture action information, to achieve interaction between the interactive object and the user. In specific applications, the interactive object may be, but is not limited to, the interface elements (e.g., menus, graphics, maps, virtual buttons, options, scroll bars, progress bars, dialog boxes, etc.) of the vehicle-mounted device or its physically controllable components (e.g., physical buttons, switches or other controllable components), the vehicle-mounted display screen (e.g., HUD, central control display screen). It can be understood that the vehicle-mounted device may also include a terminal device connected to the vehicle by wire or wireless means, such as a mobile phone, a tablet computer, a smart wearable device, a navigation device, etc. The connection method may be USB, Bluetooth, WiFi, Near Field Communication (NFC), and the embodiment of the present application does not limit the types of terminal devices and connection methods.

[0204] In some embodiments, in step S160, when the first indication information indicates that the gesture action is valid, the interaction between the interactive object and the user is implemented according to the gesture action information. In specific applications, the interaction between the interactive object and the user may include performing one or more of the following operations on the interactive object: dragging, clicking, zooming, selecting, sliding, and moving. Thus, a control signal can be provided to the vehicle-mounted central control system to implement gesture control of the central control display screen or HUD interface elements.

[0205] For example, you can point your finger at any controllable component in the car to display the information on the HUD and adjust it in combination with the mouse function of the gesture.

[0206] For another example, after the finger is pointed, the digital model of the cockpit environment can be used to determine which device the finger is pointing at, or even the specific part of the device. For example, if the finger is pointing at the HUD, after the point of the finger is accurately calculated on the HUD user interface, the HUD interface elements can be accurately controlled.

[0207] For another example, a gesture control signal may be directly generated through single gesture action information, and a preset function may be triggered through a gesture type.

[0208] The embodiments of the present application can achieve high-precision fingertip-level control. For example, gestures can be used to control map zooming, surround angles, and various application (APP) adjustment knob progress bars in vehicle-mounted scenarios. For another example, the point where the finger extension line falls on the HUD or central control display can be inferred through gesture action information such as fingertip pointing, and then the interface elements on it can be more finely controlled (for example, click, drag, select, move, etc.).

[0209] An exemplary specific implementation of step S140 is described in detail below.

[0210] The specific implementation process of step S210 may include: extracting the user's human body point cloud data from the human body point cloud data; meshing the user's human body point cloud data based on the surface reconstruction algorithm to obtain the user's first 3D grid (i.e., the second 3D feature), the first 3D grid containing the 3D contour features of the body parts; using the key point data and the first 3D grid to determine the first 3D position of the joint point in the body part to form the user's second 3D grid (i.e., the third 3D feature). Thus, the joint point features represented by the key point data and the 3D contour features implied by the human body point cloud data can be fused to provide data support for subsequent human body reconstruction and hand reconstruction.

[0211] Figure 3 An exemplary implementation process of obtaining the second 3D grid is shown. Figure 3 As shown, the process may include the following steps:

[0212] Step S310, associating the key point data of the user with the key point data of his hand.

[0213] In one implementation, in order to prevent the situation where the human hand and the human body belong to different users due to occlusion, the hand key points and key points can be associated. Here, only the pre-selected key points can be associated. For example, because gestures are mainly related to the upper limbs, the key points (the key points include joint points and feature points) of the upper part of the human body (such as the head, neck, torso, arms, and hands) can be pre-selected for association, and other key points or other parts of the human body can be ignored or not considered to reduce the complexity of the calculation. Taking the vehicle cockpit scene as an example, the 16 skeleton points of the upper body can be selected for association, and the parts outside the 16 skeleton points can be ignored.

[0214] In one implementation, Kalman filtering and Hungarian matching algorithm can be combined to achieve the association between key point data and hand key point data.

[0215] Step S320, extracting human body point cloud data containing hand information (ie, the user's human body point cloud data), meshing it to construct a topological contour of the human body, and obtaining a first 3D mesh.

[0216] The embodiments of the present application may use various applicable surface reconstruction algorithms to achieve the meshing of human body point cloud data. Here, the surface reconstruction algorithm may be but is not limited to the Poisson algorithm, the Crust algorithm, etc. In one implementation, the human body point cloud data may be used to perform surface reconstruction based on the Crust algorithm of the Voronoi diagram and generate individual grids for forming the first 3D grid, so as to finally obtain the first 3D grid. In this way, the degree of automation is relatively high, without excessive manual intervention, avoiding many similar algorithms or related software operations such as filling holes or processing intersecting patches in the later stage, and is more suitable for vehicle cockpit scenes.

[0217] Step S330, mapping the key point data to the first 3D grid to obtain xy plane mapping point data of each key point in the first 3D grid.

[0218] The xy plane represents an imaging plane of the first camera, and the xy direction hereinafter represents the xy direction of the imaging plane of the first camera.

[0219] Step S340, combining the xy plane mapping point data of each key point in the first 3D grid and the first 3D grid, calculating the contour lines, correcting the xy directions of each key point and determining the depth information of each key point, and obtaining the 3D joint points, i.e., the joint points in the first 3D grid and their first 3D positions.

[0220] In one possible implementation, the circularity judgment standard of the cross section can be used to determine the geodesic distance isosurface where the joint center point is located. Here, the upper limbs and fingers can be calculated based on the circular cylinder, and the torso can be calculated based on the ellipse. The center of gravity of the level set curve is obtained to obtain the first 3D position of the joint center point of the first 3D grid, and the first 3D position includes the depth information of the joint center point.

[0221] Step S350, extracting the skeleton center line of the human body and calculating the end feature points of the human body according to the joint points and their first 3D positions in the first 3D mesh, and obtaining the second 3D mesh from the skeleton center line of the human body, the end feature points of the human body and the first 3D mesh.

[0222] In a possible implementation, the terminal feature point calculation process may be: calculating the terminal feature point information using a Morse function based on geodesic distance, and obtaining the terminal feature points of the first 3D grid, namely, the terminal feature points of the upper limbs and the terminal feature points of the hand.

[0223] In a possible implementation, the process of calculating the skeleton centerline may be: starting from the end feature point of the first 3D mesh, fitting the centroid of the adjacent level set curve to form a centerline to obtain the skeleton of the first 3D mesh. Specifically, starting from the end feature point of the arm, fitting the centroid of the adjacent level set curve to form a centerline to obtain the skeleton of the arm, and starting from the end feature point of the hand, fitting the centroid of the adjacent level set curve to form a centerline to obtain the skeleton of the hand.

[0224] Here, the human body includes at least the hands that perform gestures, and may also include upper limbs related to the gestures (for example, arms). The skeletal centerline of the human body includes the skeletal centerline of the hands and the skeletal centerline of the upper limbs. The terminal feature points of the human body include the terminal feature points of the hands (for example, fingertips) and the terminal feature points of the upper limbs (for example, wrist joints).

[0225] Figure 3 In the exemplary process, the 2D key points are first projected onto the surface of the first 3D mesh, and then the actual depth of the joint point is inferred based on the surface and contour width of the first 3D mesh, thereby obtaining a second 3D mesh, that is, a 3D mesh with 3D joint points. The first 3D position of the joint point is a relatively accurate three-dimensional coordinate, which can be further corrected in step S230.

[0226] After the second 3D mesh is obtained, key point data that has not been successfully fused into the second 3D mesh may be saved to be directly used in step S230 .

[0227] Figure 4 FIG. 2 shows an exemplary specific implementation process of step S230. Figure 4 As shown, the exemplary process may include the following steps:

[0228] Step S410: importing a parameterized model, where the parameterized model includes a parameterized human body model and a parameterized human hand model.

[0229] Step S420: Fit the second 3D mesh and the parameterized model to obtain a fitted parameterized model.

[0230] Step S430, for the fitted parameterized model, model parameter determination and contour fitting are performed to obtain model parameters for human body reconstruction and hand reconstruction (i.e., the reconstruction parameters mentioned above), wherein the model parameters include model parameters of the parameterized human body model and model parameters of the parameterized hand model.

[0231] In one implementation, the fitted parameterized model can be used in combination with parameter optimization approximation and a neural network model such as RingNet to perform parameter determination and 3D contour fitting. For example, model parameters for human body reconstruction and hand reconstruction may include but are not limited to arm length, upper arm width, forearm width, palm width, finger width, etc.

[0232] Step S440, determine whether all the body parts in the first image are within the field of view of the second camera: if so, proceed to step S450, if not, proceed to step S460.

[0233] In one implementation, it is possible to determine whether the user's body movements are all within the field of view of the second camera by determining whether all body parts included in the first image are included in the second image. For example, when it is determined by extracting key point data that the first image contains arms and hands that perform gestures, this step can determine whether the body point cloud data of the second image contains the point cloud data of the arms and hands that perform gestures. If so, it can be considered that the arms and hands that perform gestures are all included in the second image, that is, they are all within the field of view of the second camera. Otherwise, it can be considered that not all body parts included in the first image are included in the second image, that is, not all are within the field of view of the second camera.

[0234] Step S450, reconstructing the human body and the human hand according to the fitted parameterized model and model parameters, obtaining a 3D mesh (ie, the first 3D feature mentioned above), and proceeding to step S470.

[0235] Step S460, obtain the mesh data of the key point data that failed to complete the fusion, first fuse the mesh data with the fitted parameterized model to re-determine the model parameters and re-fit the contour, then reconstruct the human body and the hand according to the fitted parameterized model and the re-determined model parameters to obtain a 3D mesh body, and continue with step S470.

[0236] Here, the grid data of the key point data can be obtained by a grid construction model. The grid construction model can be any model that can construct a grid from data, for example, a neural network or other machine learning models.

[0237] Step S470, correcting the 3D positions of the joint points in the 3D mesh.

[0238] In this step, the 3D mesh obtained in step S450 or step 460 adjusts the first 3D position of the joint point in the second 3D mesh by constraint parameters (e.g., constraints of each joint of multiple parts of the human body and approximate size ranges, etc.) to obtain the second 3D position of the joint point. Thus, the 3D position of the joint point is corrected by the 3D mesh and its constraint parameters, so that the 3D position of the joint point in the 3D mesh is more accurate and more in line with the actual situation of the human body.

[0239] In one implementation, this step may include: correcting the 3D positions of the joint points of the upper limbs in the 3D mesh, and correcting the 3D positions of the joint points of the hand in the 3D mesh. Here, if the hardware performance allows, the correction of the joint points of the upper limbs and the correction of the joint points of the hand can be performed simultaneously to improve efficiency.

[0240] In one implementation, the 3D positions of the joints in the 3D mesh can be adjusted according to the parameters of the 3D mesh, such as arm length, upper arm width, forearm width, palm width, finger width, etc., so that the 3D positions of these joints meet the pre-set joint constraints. For example, the spatial position of the elbow joint in the 3D mesh can be adjusted according to the arm length so that the position of the elbow joint in the arm meets its constraints. For another example, the spatial position of the finger joint in the 3D mesh can be adjusted according to the finger width so that the position of the finger joint in the finger meets its constraints.

[0241] Figure 4 An exemplary process is shown in FIG. 4 . A refined 3D mesh can be obtained through a priori parameterized model, so that subsequent predictions of finger trajectories and landing points can be more accurate. Figure 4In the example, if the body part is outside the field of view of the second camera, it means that part of the depth information of the body part is missing in the second image. At this time, the mesh data of the key point data can be introduced into the reconstruction of the 3D mesh body. In this way, the relevant human details, especially the hand details, can still be restored, thereby avoiding the failure of gesture recognition caused by the occasional movement of the body part (for example, the hand) out of the field of view of the second camera during the continuous gesture execution, thereby improving the continuity and accuracy of gesture recognition. If all the body parts are in the field of view of the second camera, it means that the second image contains most or even all of the depth information of the body parts. At this time, there is no need to fuse the mesh data of the key point data with the 3D mesh body obtained by 3D reconstruction. The 3D mesh body obtained by 3D reconstruction can be directly used to restore the relevant human details. In this way, the amount of calculation and the complexity of calculation can be reduced, thereby reducing the occupation and loss of hardware resources and reducing hardware costs.

[0242] Figure 5 FIG. 5 shows an exemplary structure of a gesture recognition device 510 provided in an embodiment of the present application. Figure 5 As shown, the gesture recognition device 510 may include:

[0243] An acquisition unit 511 is used to acquire a first image and a second image, wherein the first image and the second image contain body parts corresponding to the gesture action;

[0244] A key point unit 512, configured to obtain key point data of the body part according to the first image;

[0245] A point cloud unit 513, used for obtaining human body point cloud data according to the second image;

[0246] A feature extraction unit 514 is used to obtain a first 3D feature according to the key point data, the human body point cloud data and a first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part;

[0247] The determination unit 515 is configured to determine the user's gesture action information according to the first 3D feature.

[0248] In some embodiments, the first 3D feature further includes the 3D position of a joint point in the body part.

[0249] In some embodiments, the acquisition unit 511 is specifically configured to acquire the first image at a first preset angle using a first camera; and / or is specifically configured to acquire the second image at a second preset angle using a second camera.

[0250] In some embodiments, the body part includes an upper limb part corresponding to the gesture action, and the first 3D feature includes a 3D contour feature of the upper limb part and a 3D position of a joint point in the upper limb part.

[0251] In some embodiments, the feature extraction unit 514 is specifically used to: obtain a second 3D feature based on the key point data and the human body point cloud data, the second 3D feature including a 3D contour feature of the body part; obtain a third 3D feature based on the key point data and the second 3D feature, the third 3D feature including the 3D contour feature of the body part and a first 3D position of a joint point in the body part; obtain the first 3D feature based on the third 3D feature and the first machine learning model, the first 3D feature including the 3D contour feature of the body part and a second 3D position of a joint point in the body part.

[0252] In some embodiments, the feature extraction unit 514 is specifically used to: determine reconstruction parameters based on key point data not used for the third 3D feature, the third 3D feature and the first machine learning model; and reconstruct the human body and the hand based on the reconstruction parameters and the first machine learning model to obtain the first 3D feature.

[0253] In some embodiments, the first machine learning model includes a parameterized human body model and a parameterized human hand model.

[0254] In some embodiments, the feature extraction unit 514 is further configured to project the key point data and the human body point cloud data to a predetermined coordinate system before obtaining the first 3D feature, so as to complete the registration.

[0255] In some embodiments, the gesture action information includes one or more of the following: fingertip landing point information, finger pointing information, fingertip movement trajectory information, gesture type information, and first indication information, wherein the first indication information is used to indicate whether the gesture action is valid or invalid.

[0256] In some embodiments, the determining unit 515 is specifically configured to:

[0257] Obtaining one or more of user information of the gesture, a posture of the body part, and a movement trajectory of the body part according to the 3D position of a joint point in the body part of the first 3D feature;

[0258] The first indication information of the gesture action is obtained according to one or more of the user information, the posture of the body part, and the movement trajectory of the body part.

[0259] In some embodiments, the gesture recognition device 510 may further include: an interaction unit 516, which is used to implement interaction between the interactive object and the user in response to gesture action information.

[0260] In some embodiments, the interaction unit 516 is specifically configured to: when the first indication information indicates that the gesture action is valid, implement interaction between the interaction object and the user according to the gesture action information.

[0261] Figure 6 6 is a schematic structural diagram of an electronic device 610 provided in an embodiment of the present application. The electronic device 610 includes: one or more processors 611 and one or more memories 612.

[0262] The processor 611 may be connected to a memory 612. The memory 612 may be used to store the program code and data. Therefore, the memory 612 may be a storage unit inside the processor 611, or an external storage unit independent of the processor 611, or a component including a storage unit inside the processor 611 and an external storage unit independent of the processor 611.

[0263] Optionally, the electronic device 610 may further include a communication interface 613. It should be understood that Figure 6 The communication interface 613 in the electronic device 610 shown may be used to communicate with other devices.

[0264] Optionally, the electronic device 610 may further include a bus 614. The memory 612 and the communication interface 613 may be connected to the processor 611 via the bus 614. The bus 614 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 614 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.

[0265] It should be understood that in the embodiment of the present application, the processor 611 can adopt a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Or the processor 611 adopts one or more integrated circuits to execute related programs to implement the technical solutions provided in the embodiment of the present application.

[0266] The memory 612 may include a read-only memory and a random access memory, and provides instructions and data to the processor 611. A portion of the processor 611 may also include a non-volatile random access memory. For example, the processor 611 may also store information on the device type.

[0267] When the electronic device 610 is running, the processor 611 executes the computer-executable instructions in the memory 612 to perform the operation steps of the above-mentioned gesture recognition method.

[0268] It should be understood that the electronic device 610 according to the embodiment of the present application can correspond to the corresponding subject in the method according to each embodiment of the present application, and the above-mentioned and other operations and / or functions of each module in the electronic device 610 are respectively for realizing the corresponding processes of each method of the present embodiment. For the sake of brevity, they will not be repeated here.

[0269] The system architecture and application environment of the embodiments of the present application are exemplarily described below.

[0270] Figure 7 FIG. 7 shows an exemplary architecture of a gesture-based human-computer interaction system 710 provided in an embodiment of the present application. Figure 7 As shown, the system 710 may include: a first camera 711, a second camera 712 and an electronic device 610, wherein the first camera 711 is used to acquire a first image, and the second camera 712 is used to acquire a second image, and both the first camera 711 and the second camera 712 can communicate with the electronic device 610.

[0271] The electronic device 610 may have an image processing module (also referred to as an image processing system), which can be used to implement the gesture recognition method described above. In addition, the electronic device 610 can communicate with the vehicle's onboard central control system. After obtaining the user's intention and gesture data, the electronic device 610 generates a corresponding gesture control signal and transmits it to the onboard central control system. The onboard central control system controls the relevant onboard devices to respond to the user's gesture based on the gesture control signal, thereby enabling the user to gesture control the onboard device by capturing the first image and the second image of the scene in the vehicle cabin. Optionally, the electronic device 610 may be part of the onboard central control system. For example, the electronic device 610 may be a functional unit / module in a vehicle computer, a cockpit domain controller (CDC), or a mobile data center / multi-domain controller (MDC). The embodiment of the present application does not limit the form and deployment method of the electronic device. Here, the detailed structure of the electronic device 610 can be found above. Figure 6 In practical applications, the electronic device 610 can be configured in a vehicle-mounted terminal and / or in the cloud.

[0272] The first camera 711 and / or the second camera 712 can communicate with the electronic device 610 in various ways such as wired connection or wireless communication. For example, each camera can be coupled to the electronic device 610 through a cable, an adapted adapter, etc. For another example, the first camera 711 and / or the second camera 712 can communicate with the electronic device 610 in various applicable ways such as wireless or wired.

[0273] The first camera 711 is configured to capture a first image, which includes a body part corresponding to a gesture action. The first camera 711 can be any sensor capable of acquiring an image. In one example, to improve the accuracy of gesture recognition, the first camera 711 is preferably an IR camera, an RGB camera, or other similar camera with a higher resolution to capture more details of the user's body parts (e.g., arms, hands). The second camera 712 is configured to capture a second image, which includes a body part corresponding to a gesture action. The second camera 712 can be any sensor capable of acquiring an image. In one example, to improve the accuracy of gesture recognition, the second camera 712 can be a depth camera, such as a TOF camera, a structured light camera, a binocular camera, or other similar cameras or camera modules, to capture more details of the user's body parts (e.g., arms, hands). It can be understood that the camera of the embodiment of the present application includes any sensor such as a camera, a lens group, a camera (module), and a laser radar, a millimeter wave radar, etc. that can directly or indirectly obtain 2D or 3D images.

[0274] In some embodiments, the first camera can be installed at a first position in the vehicle cabin (for example, the central control area, the steering column area, the A-pillar area on the driver's side, etc.), specifically for capturing a first image at a first preset angle; and / or, the second camera can be installed at a second position in the vehicle cabin (for example, the rearview mirror position in the cabin, the A-pillar area on the co-pilot side, the center console area, etc.), specifically for capturing the second image at a second preset angle.

[0275] The field of view of the first camera 711 and the field of view of the second camera 712 cover a pre-selected gesture effective area, which is an area (for example, a rectangular area) where a pre-defined gesture can be activated. In some embodiments, the first camera 711 can be installed in the vehicle cabin and face the preset gesture effective area. And / or, the second camera 712 can be installed in the vehicle cabin and overlook the gesture effective area at a predetermined overlooking angle. In this way, the high-resolution, 2D information of the first camera 711 and the low-resolution, 3D information of the second camera 712 complement each other. The combination of the two can reconstruct a 3D mesh containing internal joints and external contours of body parts, and the 3D mesh can obtain gesture data with high accuracy. In some examples, a user in the vehicle cabin makes a starting gesture in the gesture effective area, which can be considered a valid gesture, thereby triggering the user's gesture recognition.

[0276] Take the driver in the vehicle cockpit as an example. When performing gestures, the driver usually points his index finger forward at the vehicle's central control screen or HUD, and his arm joints also move accordingly. Figure 8 FIG. 7 shows an example of installing the first camera 711 in the vehicle cabin. Fig. 9 The figure shows an example of the installation of the second camera 712 in the vehicle cabin to achieve driver gesture recognition by capturing 2D images and depth images containing the driver's arms and hands.

[0277] See also Figure 8As shown, the first camera 711 can be installed in the central control position of the vehicle cockpit and face the driver's hand area (for example, the gesture effective area). It can collect the first image in a way of facing the driver's gesture to incorporate as many details of the driver's gesture and arm movement as possible into the first image, and obtain more posture details of the driver's arm and gesture. Thus, the key point information of the driver's arm and gesture can be accurately captured and identified through the first image, and then the movement, posture and movement trajectory of the upper limbs and hands can be restored in combination with the contour point cloud from the depth image, and finally the user intention and clear trajectory gesture action information that meets the actual expectations of the driver can be obtained. In the embodiment of the present application, the installation position of the first camera 711 is not limited to the above position. For example, the first camera 711 can also be installed above the steering column, the A-pillar and the center console position near it. The position can be adjusted according to the layout design needs of the vehicle cockpit.

[0278] In order to obtain directional gesture information such as fingertip landing point and fingertip pointing as accurately as possible, the second camera 712 can be installed in a top-down position so as to estimate the finger pointing more accurately based on the depth information. Fig. 9 As shown, the second camera 712 can be installed at the rearview mirror position in front of the vehicle cabin, and look down at the driver's hand area (for example, the gesture effective area) at a predetermined overlooking angle. The overlooking angle (i.e., the second preset angle mentioned above) can be freely adjusted according to the actual layout of the vehicle cabin, the position of the driver, etc. For example, the center console position near the A-pillar on the passenger side and its vicinity can also be arranged. The specific value of the overlooking angle is not limited in this article. In this way, a second image containing the hand performing the gesture action can be obtained, so that the second image can be used to accurately capture and identify the driver's hand point cloud data, and then combined with the first image to restore the fine first 3D features, and finally obtain clear and directional gesture action information.

[0279] In some embodiments, the installation positions of the first camera 711 and the second camera 712 can be adjusted to form parallax, so as to avoid the user's finger from losing too many details in the case of self-occlusion, achieve the complementarity of high and low resolution, 2D information and 3D information, and thus obtain a 3D mesh with higher precision. In some examples, the field of view of the first camera 711 can be slightly larger than the effective area of ​​the gesture, so as to include as many details of the relevant body parts of the user as possible in the first image, so as to avoid the finger from losing the key details of the gesture in the case of self-occlusion, restore the more refined first 3D features, and thus obtain clear and directional gesture action information.

[0280] The gesture-based human-computer interaction system of the embodiment of the present application may be, but is not limited to, a driver monitoring system, a cockpit monitoring system, a panoramic imaging system, an in-vehicle entertainment information system, etc.

[0281] The gesture-based human-computer interaction system of the embodiment of the present application uses a multi-angle, multi-modal camera to realize the combination of 2D images and depth images, and performs refined 3D mesh reconstruction through the first image and the second image in combination with a parameterized human body model, and further judges the user's intention based on the first 3D feature to obtain gesture action information containing the first indication information, thereby realizing a high-precision cockpit gesture interaction function. The system of the embodiment of the present application can be completed based on a high-precision RGB / IR camera and a TOF camera, and has the advantages of high precision, low cost, and small resource occupation.

[0282] The embodiment of the present application also provides a vehicle, which may include the computing device 610 described above, the computer-readable storage medium described below, or the gesture-based human-computer interaction system 710 described above.

[0283] The following describes in detail an exemplary implementation of the gesture recognition method in the embodiment of the present application in combination with the above system.

[0284] Fig.10 An exemplary process of gesture recognition in an embodiment of the present application is shown. Fig.10 As shown, the exemplary process may include:

[0285] Step S101, a first camera captures a 2D image of a vehicle cabin scene (i.e., the first image described above), the 2D image including the driver's hands and arms and other upper limbs in a gesture effective area;

[0286] In step S102 , the second camera captures a depth image of the vehicle cabin scene (ie, the second image mentioned above), where there is parallax between the depth image and the 2D image, and the depth image includes the driver's hand in a gesture effective area.

[0287] In step S103, the electronic device obtains the driver's 3D mesh body (ie, the first 3D feature described above) using the 2D image and the 3D image, from which the driver's user intention can be determined, and gesture action information including the first indication information can be obtained.

[0288] Step S104, when the first indication information indicates that the driver is performing a gesture action, that is, when the gesture action is valid, the electronic device uses the gesture action information to determine the interaction object, obtains a gesture control signal for the interaction object, and provides the gesture control signal to the vehicle-mounted central control system.

[0289] In step S104, the vehicle-mounted central control system converts the gesture action information in the gesture control signal into a control command and sends it to the vehicle-mounted device of the corresponding interaction object.

[0290] Step S105, the vehicle-mounted device performs processing corresponding to the driver's gesture action according to the control instruction (for example, map zooming, surround angle, and various APP adjustment knob progress bars in the vehicle scene, etc.)

[0291] Figure 11a to Figure 11b Schematic diagram of the application scenario of the embodiment of the present application in a vehicle cabin environment. Fig.11a As shown, deploying the above-mentioned gesture-based human-computer interaction system 710 in the vehicle cockpit can facilitate the driver or other passengers to perform gesture control or human-computer interaction on the display screens in the vehicle cockpit, such as the central control display screen 103. Fig.11b As shown, deploying the above-mentioned gesture-based human-computer interaction system 710 in a vehicle cabin can facilitate the driver or other passengers to perform gesture control or human-computer interaction on the equipment in the vehicle cabin such as the HUD projection device 104.

[0292] Similarly, through the above-mentioned gesture-based human-computer interaction system 710, users can also perform gesture control on physical buttons in the vehicle cabin, such as windows, doors, lights, multimedia, air conditioning, steering wheels, seat belts, seats, headrests, rearview mirrors, wipers, tire pressure, assisted reverse, assisted parking, electronic handbrake, and other related physical buttons.

[0293] Similarly, other onboard devices (or peripherals) of the vehicle can also be gesture-controlled through the human-computer interaction system 710. For example, electronic devices such as mobile phones and tablet computers in the vehicle cabin can be gesture-controlled through the human-computer interaction system 710.

[0294] Fig.12 An example of a predetermined gesture is shown, which can achieve human-computer interaction through an "OK" hand gesture, such as triggering associated functions (e.g., gesture operation to turn on, etc.), switches of predetermined equipment in the vehicle cabin (e.g., air conditioning, audio, seat back), etc.

[0295] Figure 13a to Figure 13b Examples of two-finger drag gestures are shown, which can achieve human-computer interaction through hand postures with the thumb slightly bent and stretched, the index finger and middle finger stretched together, and the other fingers clenched, combined with the movements of the index finger tip and the middle finger tip. Fig.13a By combining the action of moving the index finger tip and the middle finger tip to the right in parallel, operations such as dragging or sliding to the right can be performed. Fig.13a By combining the movement of the index finger tip and the middle finger tip moving downward in parallel, operations such as dragging or sliding downward can be achieved.

[0296] Figure 14a to Figure 14dExamples of thumb-extended gestures are shown, which can achieve human-computer interaction by combining hand gestures of thumb-extended, index finger-extended, and other fingers clenched with movements of the index finger tip and / or thumb tip. Fig.14a Combining the movement of the thumb tip and index finger tip moving closer or further apart, operations such as zooming can be achieved. Fig.14b Combined with the left and right movement of the index finger tip, operations such as turning pages and moving (eg, icons) can be achieved. Fig.14c Combined with the rightward movement of the index finger, operations such as turning pages, adjusting scroll bars, adjusting progress bars, and adjusting volume can be performed. Fig.14d Combined with the leftward movement of the index finger, operations such as turning pages, adjusting scroll bars, adjusting progress bars, and adjusting volume can be achieved.

[0297] Figure 15a to Figure 15d Examples of gestures with thumb extension are shown, which can achieve human-computer interaction through the combination of hand postures with index finger extension and other fingers clenched and index fingertip movements. Fig.15a By combining the circular motion of the index finger tip with the swinging motion of the hand, operations such as zooming, physical button switching, and associated function switching can be achieved. Fig.15b Combined with the pressing action of the index finger tip, operations such as selection and clicking can be achieved. Fig.15c Combined with the upward movement of the index finger, operations such as turning pages, adjusting scroll bars, adjusting progress bars, and adjusting volume can be performed. Fig.15d Combined with the downward movement of the index finger, operations such as turning pages, adjusting scroll bars, adjusting progress bars, and adjusting volume can be performed.

[0298] Figure 12 to Figure 15d In the figure, the black dots represent the hand joints, and the lines between the black dots represent the hand skeleton.

[0299] At the algorithm level, the embodiment of the present application combines the key points of the human body / hand obtained by the 2D camera with the 3D point cloud to perform joint reasoning and unified modeling, and finally regresses the precise position of the joint points from the human arm to the fingertips in the cockpit coordinate system, and then calculates the gesture type, fingertip trajectory, fingertip pointing and other information, and finally combines it with vehicle-mounted equipment such as the central control screen or HUD to achieve refined gesture control.

[0300] At the hardware level, the embodiment of the present application combines a second camera that captures depth images with a first camera that captures 2D images to include gestures and the human body in the field of view as much as possible, and obtain more details of the human body and hand postures. The two cameras can form parallax to avoid losing too many details of the fingers in the case of self-occlusion. The finger contours and finger key points can be accurately captured and identified through the complementarity of high and low resolutions, 2D information and 3D information. After 3D reconstruction, the relative position in the cockpit coordinate system can be known, and the fine hand movements can be restored, which can ultimately be used to control things such as HUD and the central control screen.

[0301] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it is used to perform a gesture recognition method, which includes the solutions described in the above embodiments.

[0302] Here, the computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0303] Note that the above are only some embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present application, all of which belong to the protection scope of the present application.

Claims

1. A gesture recognition method, characterized in that: include: Acquire a first image and a second image, wherein the first image and the second image include body parts corresponding to the gesture action; Obtain key point data of the body part according to the first image; Obtaining human body point cloud data according to the second image; Obtaining a first 3D feature according to the key point data, the human body point cloud data and a first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part; determining gesture information of the user according to the first 3D feature; Obtaining a first 3D feature according to the key point data, the human body point cloud data and the first machine learning model specifically includes: Obtaining a second 3D feature according to the key point data and the human body point cloud data, wherein the second 3D feature includes a 3D contour feature of the body part; Obtaining a third 3D feature according to the key point data and the second 3D feature, wherein the third 3D feature includes a 3D contour feature of the body part and a first 3D position of a joint point in the body part; Obtaining the first 3D feature according to the third 3D feature and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part and a second 3D position of a joint point in the body part; The obtaining the first 3D feature according to the third 3D feature and the first machine learning model specifically includes: Determining reconstruction parameters based on key point data not used for the third 3D feature, the third 3D feature, and the first machine learning model; The human body and the human hand are reconstructed based on the reconstruction parameters and the first machine learning model to obtain the first 3D feature.

2. The method according to claim 1, characterized in that The first 3D feature also includes the 3D position of the joint point in the body part.

3. The method according to claim 1 or 2, characterized in that: The first image is acquired by a first camera at a first preset angle, and the second image is acquired by a second camera at a second preset angle.

4. The method according to claim 1, characterized in that: The body part includes an upper limb part corresponding to the gesture action, and the first 3D feature includes a 3D contour feature of the upper limb part and a 3D position of a joint point in the upper limb part.

5. The method according to claim 1, characterized in that The first machine learning model includes a parameterized human body model and a parameterized human hand model.

6. The method according to claim 1, characterized in that Also includes: Before obtaining the first 3D feature, the key point data and the human body point cloud data are projected to a predetermined coordinate system to complete registration.

7. The method according to claim 1, characterized in that The gesture action information includes one or more of fingertip landing point information, finger pointing information, fingertip movement trajectory information, gesture type information, and first indication information, where the first indication information is used to indicate whether the gesture action is valid or invalid.

8. The method according to claim 7, characterized in that The determining the user's gesture action information according to the first 3D feature includes: Obtaining one or more of user information of the gesture, a posture of the body part, and a movement trajectory of the body part according to the 3D position of a joint point in the body part of the first 3D feature; The first indication information of the gesture action is obtained according to one or more of the user information, the posture of the body part, and the movement trajectory of the body part.

9. The method according to claim 8, characterized in that Also includes: In response to the gesture action information, interaction between the interactive object and the user is implemented.

10. The method according to claim 9, characterized in that Also includes: When the first indication information indicates that the gesture action is valid, the interaction between the interactive object and the user is implemented according to the gesture action information.

11. A gesture recognition device, characterized in that: include: An acquisition unit, configured to acquire a first image and a second image, wherein the first image and the second image include body parts corresponding to the gesture action; A key point unit, configured to obtain key point data of the body part according to the first image; A point cloud unit, used for obtaining human body point cloud data according to the second image; A feature extraction unit, configured to obtain a first 3D feature according to the key point data, the human body point cloud data and a first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part; a determining unit, configured to determine gesture action information of the user according to the first 3D feature; The feature extraction unit is specifically used for: Obtaining a second 3D feature according to the key point data and the human body point cloud data, wherein the second 3D feature includes a 3D contour feature of the body part; Obtaining a third 3D feature according to the key point data and the second 3D feature, wherein the third 3D feature includes a 3D contour feature of the body part and a first 3D position of a joint point in the body part; Obtaining the first 3D feature according to the third 3D feature and the first machine learning model, wherein the first 3D feature includes a 3D contour feature of the body part and a second 3D position of a joint point in the body part; The feature extraction unit is specifically used for: Determining reconstruction parameters based on key point data not used for the third 3D feature, the third 3D feature, and the first machine learning model; The human body and the human hand are reconstructed based on the reconstruction parameters and the first machine learning model to obtain the first 3D feature.

12. The device according to claim 11, characterized in that The first 3D feature also includes the 3D position of the joint point in the body part.

13. The device according to claim 11 or 12, characterized in that The acquisition unit is specifically used to acquire the first image at a first preset angle through a first camera; and / or is specifically used to acquire the second image at a second preset angle through a second camera.

14. The device according to claim 11, characterized in that The body part includes an upper limb part corresponding to the gesture action, and the first 3D feature includes a 3D contour feature of the upper limb part and a 3D position of a joint point in the upper limb part.

15. The device according to claim 14, characterized in that The first machine learning model includes a parameterized human body model and a parameterized human hand model.

16. The device according to claim 11, characterized in that The feature extraction unit is further used to project the key point data and the human body point cloud data to a predetermined coordinate system before obtaining the first 3D feature to complete alignment.

17. The device according to claim 11, characterized in that The gesture action information includes one or more of fingertip landing point information, finger pointing information, fingertip movement trajectory information, gesture type information, and first indication information, where the first indication information is used to indicate whether the gesture action is valid or invalid.

18. The device according to claim 17, characterized in that The determining unit is specifically configured to: Obtaining one or more of user information of the gesture, a posture of the body part, and a movement trajectory of the body part according to the 3D position of a joint point in the body part of the first 3D feature; The first indication information of the gesture action is obtained according to one or more of the user information, the posture of the body part, and the movement trajectory of the body part.

19. The device according to claim 18, characterized in that Also includes: The interaction unit is used to implement the interaction between the interaction object and the user in response to the gesture action information.

20. The device according to claim 19, characterized in that The interaction unit is specifically configured to: when the first indication information indicates that the gesture action is valid, implement interaction between the interaction object and the user according to the gesture action information.

21. An electronic device, characterized in that: include: at least one processor; as well as At least one memory storing a computer program, wherein the computer program, when executed by the at least one processor, implements the method according to any one of claims 1 to 10.

22. A computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 10.

23. A gesture-based human-computer interaction system, characterized in that: include: A first camera is used to capture a first image, wherein the first image contains a body part corresponding to the gesture action; A second camera is used to capture a second image, wherein the second image contains a body part corresponding to the gesture action; at least one processor; as well as At least one memory storing a computer program, wherein the computer program, when executed by the at least one processor, implements the method according to any one of claims 1 to 10.

24. The system according to claim 23, characterized in that The first camera is installed at a first position in the vehicle cabin, specifically for capturing the first image at a first preset angle; and / or, the second camera is installed at a second position in the vehicle cabin, specifically for capturing the second image at a second preset angle.

25. A vehicle, characterized in that: It includes the electronic device described in claim 21, the computer-readable storage medium described in claim 22, or the gesture-based human-computer interaction system described in claim 23 or 24.