A GPGPU-based gesture recognition method, system and storage medium

By processing gesture action features in parallel on GPGPU, the real-time and accuracy problems of existing gesture recognition methods are solved, efficient recognition and linkage of multiple application scenarios are achieved, and the practicality of the system is improved.

CN118351598BActive Publication Date: 2024-08-30YUANQIXIN (SHANDONG) SEMICONDUCTOR TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410748736.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-30
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Existing gesture recognition methods rely on a single sensor or computationally intensive algorithms, resulting in poor real-time performance, low accuracy, and high consumption of computing resources, making it difficult to balance recognition accuracy and response speed.

Method used

A GPGPU-based gesture action recognition method is adopted. Through the gesture tracking module, spatiotemporal feature extraction module, feature extraction module, action recognition module, inference module, post-processing module, result mapping module and real-time performance optimization module, GPGPU is used for parallel processing and extraction. and identify gesture action characteristics.

Benefits of technology

It realizes real-time and efficient gesture action recognition, improves the accuracy and robustness of recognition, and supports the linkage of multiple application scenarios, such as barrier-free communication and human-computer interaction, and provides the function of seamless switching of models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351598B
    Figure CN118351598B
Patent Text Reader

Abstract

The present invention discloses a GPGPU-based gesture recognition method, system and storage medium, and relates to the technical field of computer vision; the method comprises: building a GPGPU-based gesture recognition system, collecting a video stream of gestures, preprocessing a video frame image of the video stream, obtaining gesture motion trajectory data, extracting spatiotemporal features and static features by an extraction module, identifying gestures according to the spatiotemporal features, forming a gesture data set, obtaining an inference result of gestures in a video frame image to be tested, processing the inference result into an effective result, mapping the corresponding relationship between gestures and application scenarios, storing data, monitoring system performance, and performing dynamic resource allocation; the present invention utilizes a general-purpose graphics processor GPGPU for gesture recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a method, a system and a storage medium, and relates to the technical field of computer vision, in particular to a GPGPU-based gesture action recognition method, a system and a storage medium. Background Art

[0002] With the popularization of smart devices and the development of human-computer interaction technology, people's demand for efficient and intuitive interaction methods is growing. Existing gesture recognition methods mostly rely on single sensors or computationally intensive algorithms, which often have problems such as poor real-time performance, low accuracy or high cost. In addition, due to the need to process complex spatiotemporal features and large amounts of image data extracted from video streams, implementing these systems on the CPU usually faces problems such as high consumption of computing resources, lack of parallelism, and lack of real-time performance, which often makes it difficult to balance recognition accuracy and system response speed. Summary of the invention

[0003] In view of the problems in the prior art, the present invention provides a GPGPU-based gesture recognition method, system and storage medium, which utilize a general purpose graphics processing unit (GPGPU) to perform gesture recognition.

[0004] The specific scheme proposed by the present invention is:

[0005] The present invention provides a GPGPU-based gesture recognition method, comprising:

[0006] Step 1: Building a GPGPU-based gesture action recognition system, the GPGPU-based gesture action recognition system includes a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module and a real-time performance optimization module;

[0007] Step 2: The gesture in the video frame image is locked and the gesture motion trajectory is tracked by the gesture tracking module to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU;

[0008] Step 3: Using the spatiotemporal feature extraction module in conjunction with the gesture tracking module, the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory are extracted according to the gesture motion trajectory data;

[0009] Step 4: The feature extraction module uses the GPGPU parallel processing deep learning algorithm to extract static features based on the preprocessed video frame images;

[0010] Step 5: The action recognition module uses GPGPU parallel processing to match the continuous gestures in the video frame images according to the spatiotemporal features and recognize the gestures;

[0011] Step 6: The static features and gestures recognized by the action recognition module are aggregated through the inference module to form a gesture action dataset, in which the gesture action categories are annotated.

[0012] Obtain static features of the video frame image to be tested and identify gestures in the video frame image to be tested, and use the GPGPU parallel processing deep learning model through the inference module to match the gestures in the video frame image to be tested with the gestures in the gesture action dataset to obtain the inference results of the gestures in the video frame image to be tested;

[0013] Step 7: Set the probability threshold T through the post-processing module. After normalization, the inference results that are greater than or equal to T are valid results.

[0014] Step 8: Map the gesture actions in the gesture action data set to the functional model through the result mapping module, define mapping rules for each application scenario through the functional model, specify the corresponding relationship between the gesture actions and the application scenario according to the mapping rules, and use the mapping rules to convert the gesture actions in the valid results into a format or command that the application layer understands;

[0015] Step 9: The data generated by the result mapping module is stored in the result storage module. When the functional model of the result mapping module changes, the data stored in the result storage module is called and the stored data is directly remapped;

[0016] Step 10: During the operation of the GPGPU-based gesture recognition system, the real-time performance optimization module continuously monitors the system performance and performs dynamic resource allocation.

[0017] Furthermore, the GPGPU-based gesture recognition system constructed in step 1 of the GPGPU-based gesture recognition method further includes an image acquisition module and a data preprocessing module.

[0018] The video stream of gesture actions is collected in real time through the image acquisition module, the video frame images of the video stream are preprocessed through the data preprocessing module, and the preprocessed video frame images are sent to the feature extraction module and the gesture tracking module.

[0019] Furthermore, in step 4 of the GPGPU-based gesture action recognition method, the gesture tracking module uses the optical flow method to lock the gesture in the video frame image and track the gesture motion trajectory, wherein the gesture tracking module uses the optical flow method to detect Harris corner points in the video frame image, and predicts the motion trajectory of the corner points based on the translation or affine of the corner points, obtains the motion vector of the corner points between consecutive video frame images, and obtains the motion trajectory of the corner points.

[0020] Furthermore, in step 5 of the GPGPU-based gesture recognition method, a spatiotemporal feature extraction module uses a 3D convolutional neural network to extract the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory according to the gesture motion trajectory data.

[0021] Furthermore, in the GPGPU-based gesture action recognition method, step 7 recognizes gesture actions through the action recognition module, including: obtaining prediction probabilities through the action recognition module using a deep learning classifier, and selecting the gesture action with the highest probability as the recognition result output, wherein the action recognition module uses labeled gesture action data to train the deep learning classifier, and adjusts parameters in conjunction with the back propagation algorithm, calculates the derivatives of each neuron, back-propagates the derivatives of each neuron to optimize weights, and corrects the classification results of the deep learning classifier.

[0022] Furthermore, in the method for gesture recognition based on GPGPU, the process of using the inference module to parallelly process the deep learning model to match and predict the gesture in the video frame image to be tested and the gesture in the gesture dataset in step 8 includes:

[0023] The static features of the test video frame image and the recognized gesture actions are input into the deep learning model in batches through the inference module, wherein each neuron of the deep learning model predicts the gesture action category, obtains the probability value of the gesture action category given by each neuron, puts the probability value into the Softmax function for normalization, and selects the gesture action category with the highest probability as the inference result of the gesture action in the video frame image to be tested.

[0024] Furthermore, the GPGPU-based gesture action recognition system constructed in the GPGPU-based gesture action recognition method also includes a user UI module, which provides a user interface through the user UI module, starts the GPGPU-based gesture action recognition system, configures parameters of each module according to requirements, and selects the corresponding deep learning model.

[0025] The present invention also provides a GPGPU-based gesture action recognition system, comprising a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module and a real-time performance optimization module;

[0026] The gesture tracking module locks the gesture in the video frame image and tracks the gesture motion trajectory to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU;

[0027] The spatiotemporal feature extraction module cooperates with the gesture tracking module to extract the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory according to the gesture motion trajectory data;

[0028] The feature extraction module uses GPGPU parallel processing deep learning algorithm to extract static features based on the preprocessed video frame images. The static features include shape features and texture features.

[0029] The action recognition module uses GPGPU parallel processing to match continuous gestures in video frame images based on temporal and spatial features and recognize gestures;

[0030] The inference module aggregates the static features and gestures recognized by the action recognition module to form a gesture action dataset, in which the gesture action categories are annotated.

[0031] Obtain static features of the video frame image to be tested and identify gestures in the video frame image to be tested, and use the GPGPU parallel processing deep learning model through the inference module to match the gestures in the video frame image to be tested with the gestures in the gesture action dataset to obtain the inference results of the gestures in the video frame image to be tested;

[0032] The post-processing module sets a probability threshold T, and the inference results that are greater than or equal to T after normalization are valid results;

[0033] The result mapping module maps the gestures in the gesture action data set to the functional model, defines mapping rules for each application scenario through the functional model, specifies the correspondence between gestures and application scenarios according to the mapping rules, and uses the mapping rules to convert gestures in the valid results into a format or command that the application layer understands;

[0034] The result storage module stores the data generated by the result mapping module. When the functional model of the result mapping module changes, the data stored in the result storage module is called and the stored data is directly remapped;

[0035] The real-time performance optimization module continuously monitors the system performance during the operation of the GPGPU-based gesture action recognition system and performs dynamic resource allocation.

[0036] The present invention also provides a storage medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the gesture action recognition method based on GPGPU.

[0037] The benefits of the present invention are:

[0038] The present invention relies on the powerful parallel computing capability of GPGPU to greatly improve the data processing time of each module, and cooperates with the high data throughput of GPGPU itself to realize real-time gesture action recognition and result output; the present invention strengthens the robustness of recognition through the method of joint acquisition and analysis of static and dynamic features in conjunction with the trained model; the loaded result mapping module can simultaneously realize the linkage between multiple applications and gestures, such as barrier-free communication (sign language interpretation), human-computer interaction, VR recognition, action assistance and other configurable functions, which strengthens the applicability of the present invention; and the result storage module provides the system with the function of seamless model switching by storing and re-calling the processed data, thereby improving the practicality of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic flow chart of the method of the present invention.

[0040] Figure 2 It is a schematic diagram of the execution flow of each module of the system of the present invention. DETAILED DESCRIPTION

[0041] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0042] Embodiment 1: The present invention provides a GPGPU-based gesture recognition method, comprising:

[0043] Step 1: Build a GPGPU-based gesture action recognition system, where GPGPU is a general-purpose graphics processor. The GPGPU-based gesture action recognition system includes an image acquisition module, a data preprocessing module, a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module, and a real-time performance optimization module.

[0044] The video stream of the gesture action is collected in real time through the image acquisition module. The image acquisition module can cooperate with an external video input device to collect the video stream of the gesture action in real time at a preset frame rate to provide raw data for subsequent processing.

[0045] The video frame images of the video stream are preprocessed by the data preprocessing module, and the preprocessed video frame images are sent to the feature extraction module and the gesture tracking module. The data preprocessing module preprocesses the collected video frame images, including but not limited to denoising, graying, normalization, cropping, rotation correction and other processing methods to improve the image quality and adapt to the subsequent processing flow. The parallel computing capability of GPGPU can significantly speed up these preprocessing processes. The data preprocessing module can also ensure that the data format and quality input to the subsequent modules are consistent. The preprocessing of image data can also reduce unnecessary influences caused by human or environmental factors.

[0046] Step 2: The gesture in the video frame image is locked and the gesture motion trajectory is tracked by the gesture tracking module to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU.

[0047] Step 3: By using the spatiotemporal feature extraction module in conjunction with the gesture tracking module, the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory are extracted according to the gesture motion trajectory data.

[0048] Step 4: The feature extraction module uses the GPGPU parallel processing deep learning algorithm to extract static features from the preprocessed video frame images. Static features include shape features and texture features. The feature extraction module uses a 2D convolutional neural network to extract static key features from the preprocessed images in parallel, providing strong feature support for the subsequent recognition process. Since the convolution operation is assigned to multiple cores of the GPGPU, each core processes a portion of the data at the same time, and based on efficient memory management and data transmission strategies, it ensures fast data transmission.

[0049] Step 5: The action recognition module uses GPGPU parallel processing to match continuous gestures in video frame images based on spatiotemporal features and recognize gestures.

[0050] Step 6: The static features and gestures recognized by the action recognition module are aggregated through the inference module to form a gesture action dataset, in which the gesture action categories are annotated.

[0051] For the video frame image to be tested, the static features of the video frame image to be tested are obtained and the gesture actions of the video frame image to be tested are identified through the data preprocessing module, gesture tracking module, spatiotemporal feature extraction module, feature extraction module and action recognition module. The inference module uses GPGPU parallel processing to match the deep learning model to predict the gesture actions in the video frame image to be tested and the gesture actions in the gesture action dataset to obtain the inference result of the gesture actions in the video frame image to be tested.

[0052] Step 7: Set the probability threshold T through the post-processing module. The inference results that are greater than or equal to T after normalization are valid results. If the probabilities of all inference results are lower than T, you can choose to use additional models for re-recognition, or directly output feedback results such as recognition failure and unrecognized action to improve the recognition accuracy. For models with result sequences such as sign language translation, the post-processing module can re-detect the time series of the input data. At the same time, combined with preset rules or context information, the sequences that do not conform to the rules and have confusing result logic can be re-sorted to ensure the readability and accuracy of the output results.

[0053] Step 8: Map the gestures in the gesture action data set to the functional model through the result mapping module, define mapping rules for each application scenario through the functional model, specify the correspondence between gestures and application scenarios according to the mapping rules, and use the mapping rules to convert the gestures identified in the effective results into a format or command understood by the application layer. For example, for barrier-free communication, it may be necessary to match the standard translation of sign language; while for human-computer interaction, it may be necessary to convert it into a control instruction. The mapping examples of this system for different applications are: in barrier-free communication (sign language translation), it is mapped to the written or oral translation of sign language, such as "raise your hand forward" is mapped to "stop"; in human-computer interaction, it maps out the specific commands for controlling the device, such as "grasp" is mapped to "grasp the object"; in VR recognition, it is directly mapped to the same virtual hand movement; in sports training or medical rehabilitation, it plays a role in motion assistance, such as "slightly raise your arm" is mapped to "raise your arm swing movement", etc.

[0054] Step 9: The data generated by the result mapping module is stored in the result storage module. When the functional model of the result mapping module changes, the data stored in the result storage module is called and the stored data is directly remapped.

[0055] Step 10: During the operation of the GPGPU-based gesture recognition system, the real-time performance optimization module continuously monitors the system performance and performs dynamic resource allocation.

[0056] The method of the present invention improves the speed and accuracy of gesture action recognition through the efficient parallel computing capability of GPGPU. The module related to action recognition in the method of the present invention is responsible for the whole process from capturing images to tracking and recognition. Through the parallel computing capability of GPGPU, continuous gesture fragments can be collected relatively quickly and accurately, and accurate static and dynamic features can be extracted to provide data processing for the subsequent processing part, so that the recognition result has real-time, accuracy and robustness; the method of the present invention involves a data processing function block, which includes preprocessing of data and recognition reasoning of the extracted static and dynamic features. Through preprocessing, the format and quality of the data are kept consistent to ensure the robustness of the result; at the same time, environmental factors are removed to avoid unnecessary interference; the extracted static and dynamic features are combined with auxiliary recognition to obtain a result with higher accuracy. The result mapping module determines the configurability of the present invention, and the recognized action is mapped according to different applications. It can further assist in completing configurable functions such as barrier-free communication sign language translation, human-computer interaction, VR recognition, and action assistance.

[0057] Example 2: Based on Example 1, the GPGPU-based gesture action recognition system in the method of the present invention also includes a user UI module, which provides a user interface through the user UI module, starts the GPGPU-based gesture action recognition system, configures the parameters of each module according to requirements, and selects the corresponding deep learning model.

[0058] Step 2 can further use the optical flow method to lock the gesture in the video frame image and track the gesture movement trajectory through the gesture tracking module, wherein the gesture tracking module uses the optical flow method to detect the Harris corner points in the video frame image, and predicts the movement trajectory of the corner points based on the translation or affine of the corner points, obtains the motion vector of the corner points between consecutive video frame images, and obtains the movement trajectory of the corner points. The optical flow method Kanade-Lucas-Tomasi (KLT) tracking algorithm refers to the instantaneous motion of a moving object in space on the observation imaging plane. Under the premise of assuming constant brightness, the optical flow equation can be written as:

[0059]

[0060] in I (x,y,t) It refers to the light intensity of the pixel (x, y) at time t. The KLT tracking algorithm solves the two unknown quantities u and v in the optical flow equation. u is the displacement in the x direction, v is the displacement in the y direction, that is u and v They are x and y The optical flow velocity component in the direction,

[0061] The KLT optical flow equation can be obtained as:

[0062]

[0063] The KLT algorithm observes the instantaneous motion of pixels in consecutive images to find correlations between adjacent frames.

[0064] In step 3, the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory can be further extracted through the spatiotemporal feature extraction module using a 3D convolutional neural network based on the gesture motion trajectory data. The spatiotemporal feature extraction module uses a 3D convolutional neural network to extract spatiotemporal features from the preprocessed input image. The spatiotemporal feature extraction module applies a convolution operation in the time dimension through a 3D convolutional neural network, that is, the convolution kernel passes through a 3D space in the time and space dimensions, and obtains a 3D data output. Through multiple convolution operations, the dynamic characteristics of the gesture action can be obtained.

[0065] In step 5, gesture actions can be further identified through the action recognition module, including: obtaining the prediction probability by using the deep learning classifier through the action recognition module, and selecting the gesture action with the highest probability as the recognition result output, wherein the deep learning classifier is trained by the action recognition module using the labeled gesture action data, and the parameters are adjusted in conjunction with the back propagation algorithm, the derivative of each neuron is calculated, the derivative of each neuron is back-propagated to optimize the weight, and the classification result of the deep learning classifier is corrected.

[0066] In step 6, the process of matching and predicting the gesture actions in the video frame image to be tested and the gesture actions in the gesture action dataset can be further performed by using the GPGPU parallel processing deep learning model through the inference module, including:

[0067] The static features of the video frame image to be tested and the recognized gestures are input into the deep learning model in batches through the inference module. The gesture category is predicted by each neuron of the deep learning model, and the probability value of the gesture category given by each neuron is obtained. The probability value is put into the Softmax function for normalization, and the gesture category with the highest probability is selected as the inference result of the gesture in the video frame image to be tested. These probability values ​​are put into the Softmax function for normalization, and the function expression of Softmax is:

[0068]

[0069] in z iis the output value of the ith node, C is the number of output nodes, that is, the number of categories, and a probability group with a total probability of 1 is obtained. The gesture with the highest probability is selected as the inference result. Large-scale matrix operations, based on the powerful parallelism of GPGPU, can run multiple models at the same time to achieve multi-functional output effects.

[0070] Embodiment 3: The present invention also provides a GPGPU-based gesture action recognition system, comprising an image acquisition module, a data preprocessing module, a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module and a real-time performance optimization module;

[0071] The image acquisition module collects the video stream of gesture actions in real time;

[0072] The data preprocessing module preprocesses the video frame images of the video stream, and sends the preprocessed video frame images to the feature extraction module and the gesture tracking module;

[0073] The gesture tracking module locks the gesture in the video frame image and tracks the gesture motion trajectory to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU;

[0074] The spatiotemporal feature extraction module cooperates with the gesture tracking module to extract the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory according to the gesture motion trajectory data;

[0075] The feature extraction module uses GPGPU parallel processing deep learning algorithm to extract static features based on the preprocessed video frame images. The static features include shape features and texture features.

[0076] The action recognition module uses GPGPU parallel processing to match continuous gestures in video frame images based on temporal and spatial features and recognize gestures;

[0077] The inference module aggregates the static features and gestures recognized by the action recognition module to form a gesture action dataset, in which the gesture action categories are annotated.

[0078] For the video frame image to be tested, the static features of the video frame image to be tested are obtained and the gesture actions of the video frame image to be tested are identified through the data preprocessing module, the gesture tracking module, the spatiotemporal feature extraction module, the feature extraction module and the action recognition module. The inference module uses the GPGPU parallel processing deep learning model to match and predict the gesture actions in the video frame image to be tested and the gesture actions in the gesture action data set to obtain the inference result of the gesture action in the video frame image to be tested.

[0079] The post-processing module sets a probability threshold T, and the inference results that are greater than or equal to T after normalization are valid results;

[0080] The result mapping module maps the gestures identified by the action recognition module to the functional model, defines mapping rules for each application scenario through the functional model, specifies the correspondence between gestures and application scenarios according to the mapping rules, and uses the mapping rules to convert the identified gestures into a format or command that the application layer understands;

[0081] The result storage module stores the data generated by the result mapping module. When the functional model of the result mapping module changes, the data stored in the result storage module is called and the stored data is directly remapped;

[0082] The real-time performance optimization module continuously monitors the system performance during the operation of the GPGPU-based gesture action recognition system and performs dynamic resource allocation.

[0083] The information interaction, execution process and other contents between the modules in the above-mentioned system are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0084] Similarly, the system of the present invention relies on the powerful parallel computing ability of GPGPU to greatly improve the data processing time of each module, and cooperates with the high data throughput of GPGPU itself to realize real-time gesture action recognition and result output; the present invention strengthens the robustness of recognition through the method of joint collection and analysis of static and dynamic features, in conjunction with the trained model; the loaded result mapping module can simultaneously realize the linkage between multiple applications and gestures, such as barrier-free communication (sign language translation), human-computer interaction, VR recognition, action assistance and other configurable functions, which strengthens the applicability of the present invention; and the result storage module provides the system with the function of seamless model switching by storing and re-calling the processed data, thereby improving the practicality of the system.

[0085] Embodiment 4: The present invention also provides a storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the processor executes the GPGPU-based gesture action recognition method. Specifically, a system or device equipped with a storage medium can be provided, on which software program codes for implementing the functions of any of the above embodiments are stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0086] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0087] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0088] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0089] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0090] It should be noted that not all steps and modules in the above-mentioned processes and system structures are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or some components in multiple independent devices may be implemented together.

[0091] The above-described embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A gesture recognition method based on GPGPU, Its characteristics are include: Step 1: Building a GPGPU-based gesture action recognition system, the GPGPU-based gesture action recognition system includes a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module and a real-time performance optimization module; Step 2: The gesture in the video frame image is locked and the gesture motion trajectory is tracked by the gesture tracking module to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU; Step 3: Use the spatiotemporal feature extraction module in conjunction with the gesture tracking module to extract the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory based on the gesture motion trajectory data using a 3D convolutional neural network; Step 4: The feature extraction module uses the GPGPU parallel processing deep learning algorithm to extract static features based on the preprocessed video frame images; Step 5: The action recognition module uses GPGPU parallel processing to match the continuous gestures in the video frame images according to the spatiotemporal features and recognize the gestures; Step 6: The static features and gestures recognized by the action recognition module are aggregated through the inference module to form a gesture action dataset, in which the gesture action categories are annotated. Obtain static features of the video frame image to be tested and identify gestures in the video frame image to be tested, and use the GPGPU parallel processing deep learning model through the inference module to match the gestures in the video frame image to be tested with the gestures in the gesture action dataset to obtain the inference results of the gestures in the video frame image to be tested; Step 7: Set the probability threshold T through the post-processing module. After normalization, the inference results that are greater than or equal to T are valid results. Step 8: Map the gesture actions in the gesture action data set to the functional model through the result mapping module, define mapping rules for each application scenario through the functional model, specify the corresponding relationship between the gesture actions and the application scenario according to the mapping rules, and use the mapping rules to convert the gesture actions in the valid results into a format or command that the application layer understands; Step 9: The data generated by the result mapping module is stored in the result storage module. When the functional model of the result mapping module is changed, the data stored in the result storage module is called and the stored data is directly remapped; Step 10: During the operation of the GPGPU-based gesture recognition system, the real-time performance optimization module continuously monitors the system performance and performs dynamic resource allocation.

2. According to the GPGPU-based gesture recognition method of claim 1, Its characteristics are The GPGPU-based gesture recognition system built in step 1 also includes an image acquisition module and a data preprocessing module. The video stream of gesture actions is collected in real time through the image acquisition module, the video frame images of the video stream are preprocessed through the data preprocessing module, and the preprocessed video frame images are sent to the feature extraction module and the gesture tracking module.

3. According to the GPGPU-based gesture recognition method of claim 1, Its characteristics are In step 2, the gesture tracking module uses the optical flow method to lock the gesture in the video frame image and track the gesture motion trajectory, wherein the gesture tracking module uses the optical flow method to detect the Harris corner points in the video frame image, and predicts the motion trajectory of the corner points based on the translation or affine of the corner points, obtains the motion vector of the corner points between consecutive video frame images, and obtains the motion trajectory of the corner points.

4. The method for hand gesture recognition based on GPGPU according to claim 1, Its characteristics are In step 3, the spatiotemporal features of a series of gesture actions in the video frame image of the gesture motion trajectory are extracted by using a 3D convolutional neural network through the spatiotemporal feature extraction module according to the gesture motion trajectory data.

5. The method for hand gesture recognition based on GPGPU according to claim 1, Its characteristics are In step 5, the gesture action is recognized through the action recognition module, including: obtaining the prediction probability by using the deep learning classifier through the action recognition module, and selecting the gesture action with the highest probability as the recognition result output, wherein the deep learning classifier is trained by the action recognition module using the labeled gesture action data, and the parameters are adjusted in conjunction with the back propagation algorithm, the derivative of each neuron is calculated, the derivative of each neuron is back-propagated to optimize the weight, and the classification result of the deep learning classifier is corrected.

6. The method for hand gesture recognition based on GPGPU according to claim 1, Its characteristics are In step 6, the process of matching and predicting the gesture actions in the video frame image to be tested and the gesture actions in the gesture action dataset by using the GPGPU parallel processing deep learning model through the inference module includes: The static features of the test video frame image and the recognized gesture actions are input into the deep learning model in batches through the inference module, wherein each neuron of the deep learning model predicts the gesture action category, obtains the probability value of the gesture action category given by each neuron, puts the probability value into the Softmax function for normalization, and selects the gesture action category with the highest probability as the inference result of the gesture action in the video frame image to be tested.

7. The method for hand gesture recognition based on GPGPU according to claim 1, Its characteristics are The GPGPU-based gesture action recognition system built in step 1 also includes a user UI module, which provides a user interface through the user UI module, starts the GPGPU-based gesture action recognition system, configures the parameters of each module according to requirements, and selects the corresponding deep learning model.

8. A GPGPU-based gesture recognition system. Its characteristics are It includes a gesture tracking module, a spatiotemporal feature extraction module, a feature extraction module, an action recognition module, an inference module, a post-processing module, a result mapping module, a result storage module and a real-time performance optimization module; The gesture tracking module locks the gesture in the video frame image and tracks the gesture motion trajectory to obtain gesture motion trajectory data, wherein the gesture tracking module processes multiple parts of the video frame image in parallel based on GPGPU; The spatiotemporal feature extraction module cooperates with the gesture tracking module to use a 3D convolutional neural network to extract the spatiotemporal features of a series of gesture actions in the video frame images of the gesture motion trajectory based on the gesture motion trajectory data; The feature extraction module uses GPGPU parallel processing deep learning algorithm to extract static features based on the preprocessed video frame images. The static features include shape features and texture features. The action recognition module uses GPGPU parallel processing to match continuous gestures in video frame images based on temporal and spatial features and recognize gestures; The inference module aggregates the static features and gestures recognized by the action recognition module to form a gesture action dataset, in which the gesture action categories are annotated. Obtain static features of the video frame image to be tested and identify gestures in the video frame image to be tested, and use the GPGPU parallel processing deep learning model through the inference module to match the gestures in the video frame image to be tested with the gestures in the gesture action dataset to obtain the inference results of the gestures in the video frame image to be tested; The post-processing module sets a probability threshold T, and the inference results that are greater than or equal to T after normalization are valid results; The result mapping module maps the gestures in the gesture action data set to the functional model, defines mapping rules for each application scenario through the functional model, specifies the correspondence between gestures and application scenarios according to the mapping rules, and uses the mapping rules to convert gestures in the valid results into a format or command that the application layer understands; The result storage module stores the data generated by the result mapping module. When the functional model of the result mapping module changes, the data stored in the result storage module is called and the stored data is directly remapped; The real-time performance optimization module continuously monitors the system performance during the operation of the GPGPU-based gesture action recognition system and performs dynamic resource allocation.

9. A computer-readable storage medium, Its characteristics are The storage medium stores computer instructions, and when the computer instructions are executed by the processor, the processor executes the gesture action recognition method based on GPGPU as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Gesture recognition method for edge end based on gesture estimation

    CN111753764A

  • Gesture recognition method and device, medium and system

    CN113918004A