Sign language recognition model training method, dynamic sign language recognition method and dynamic sign language recognition device

By using decomposed convolution and lightweight attention structure in the sign language recognition model, the problems of complex models and high hardware requirements in the existing technology are solved, and efficient and fast dynamic sign language recognition is achieved, adapting to different environments.

CN118609208APending Publication Date: 2024-09-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Patent Information

Application Number
CN202410665119.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing sign language recognition models are complex, require high hardware, and take a long time to train, and real-time recognition and automatic conversion of dynamic sign language are difficult to achieve.

Method used

The decomposed convolution form of the convolution unit is used to reduce the model complexity, and combined with the lightweight attention structure and data enhancement technology, a sign language recognition model with strong generalization ability and fast recognition speed is trained. The decomposed convolution kernel is used to reduce the amount of parameters and Reduce the amount of calculation and improve model performance.

Benefits of technology

It achieves real-time recognition of dynamic sign language images, reduces hardware requirements, improves recognition accuracy and training efficiency, and adapts to different lighting and background environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609208A
    Figure CN118609208A
Patent Text Reader

Abstract

The invention provides a sign language recognition model training method and a dynamic sign language recognition method and device, and relates to the technical field of artificial intelligence. The method comprises the following steps: acquiring a sign language image set; preprocessing the sign language image set to obtain a sign language sample set; training an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model comprises a convolution unit, the convolution unit comprises a plurality of convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposition convolution form to reduce the complexity of the model. The device is used for executing the method. According to the sign language recognition model training method and the dynamic sign language recognition method and device provided by the embodiment of the invention, the training efficiency of the sign language recognition model can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a training method for a sign language recognition model, a dynamic sign language recognition method and a device. Background Art

[0002] The application of sign language recognition technology can help the deaf and mute people express and communicate more conveniently and quickly, and can also provide technical support for barrier-free construction in various industries of society.

[0003] At present, sign language recognition methods are mainly divided into two categories. One is the recognition method based on wearable devices. Although it has good real-time performance, the wearable devices are expensive and inconvenient to wear and use, so it is difficult to promote. The other is the sign language recognition method based on vision. This method is more in line with the daily communication between deaf and mute people. It is also a very natural human-computer interaction method. The cost of obtaining sign language data through the camera is low and more convenient. However, the models usually used for sign language recognition are relatively complex, have high hardware requirements, and take a long time to train. Summary of the invention

[0004] In view of the problems in the prior art, the embodiments of the present invention provide a training method for a sign language recognition model, a dynamic sign language recognition method and device, which can at least partially solve the problems in the prior art.

[0005] In a first aspect, the present invention provides a method for training a sign language recognition model, comprising:

[0006] Get a set of sign language images;

[0007] Preprocessing the sign language image set to obtain a sign language sample set;

[0008] The initial model is trained according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0009] In a second aspect, the present invention provides a dynamic sign language recognition method, which adopts the sign language recognition model described in any of the above embodiments, including:

[0010] Get dynamic sign language video stream;

[0011] Decomposing the dynamic sign language video stream to obtain dynamic sign language pictures of each frame;

[0012] According to each frame of dynamic sign language picture and the sign language recognition model, the recognition result corresponding to each frame of dynamic sign language picture is obtained.

[0013] In a third aspect, the present invention provides a training device for a sign language recognition model, comprising:

[0014] A first acquisition module is used to acquire a sign language image set;

[0015] A preprocessing module, used for preprocessing the sign language image set to obtain a sign language sample set;

[0016] A training module is used to train the initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0017] In a fourth aspect, the present invention provides a dynamic sign language recognition device, which adopts the sign language recognition model described in the above embodiment, and includes:

[0018] A second acquisition module is used to acquire a dynamic sign language video stream;

[0019] A decomposition module, used for decomposing the dynamic sign language video stream to obtain each frame of dynamic sign language picture;

[0020] The recognition module is used to obtain the recognition result corresponding to each frame of dynamic sign language picture according to each frame of dynamic sign language picture and the sign language recognition model.

[0021] In a fifth aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the program to implement the training method of the sign language recognition model described in any of the above embodiments.

[0022] In a sixth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program / instruction, and when the computer program / instruction is executed by a processor, the training method of the sign language recognition model described in any of the above embodiments is implemented.

[0023] In a seventh aspect, the present invention provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the method for training a sign language recognition model described in any of the above embodiments.

[0024] The training method of a sign language recognition model, a dynamic sign language recognition method and a device provided by the embodiments of the present invention obtain a sign language image set; pre-process the sign language image set to obtain a sign language sample set; train an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, a pooling unit and a fully connected unit connected in sequence, the convolution unit includes a plurality of convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model. Since the complexity of the model is reduced, the training efficiency of the sign language recognition model can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0026] Figure 1 It is a flowchart of a training method for a sign language recognition model provided in the first embodiment of the present invention.

[0027] Figure 2 It is a schematic diagram of the decomposed convolution structure of the convolution kernel provided in the second embodiment of the present invention.

[0028] Figure 3 4 is a flow chart of a dynamic sign language recognition method provided by the third embodiment of the present invention.

[0029] Figure 4 It is a schematic diagram of the structure of the initial model provided by the fourth embodiment of the present invention.

[0030] Figure 5 It is a structural diagram of a training device for a sign language recognition model provided in a fifth embodiment of the present invention.

[0031] Figure 6 4 is a schematic diagram of the structure of a dynamic sign language recognition device provided by the sixth embodiment of the present invention.

[0032] Figure 7 It is a schematic diagram of the physical structure of an electronic device provided by the seventh embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention are further described in detail with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily. The acquisition, storage, use, and processing of data in the technical scheme in this application comply with the relevant provisions of laws and regulations. The user information in the embodiments of the present application is obtained through legal and compliant channels, and the acquisition, storage, use, and processing of user information are authorized and agreed by the customer.

[0034] In order to facilitate understanding of the technical solution provided by this application, the relevant contents of the technical solution of this application are first explained below.

[0035] At present, many methods have been developed in the field of visual sign language digital recognition, which can be mainly divided into two categories: based on traditional machine learning and based on deep neural networks. However, real-time recognition and automatic conversion of dynamic sign language are still difficult to achieve. There are problems such as complex recognition models and low recognition efficiency.

[0036] The present application provides a method for training a sign language recognition model, which can train a sign language recognition model with good generalization ability and fast recognition speed. While reducing the hardware requirements, it can realize real-time recognition of dynamic sign language images with high recognition accuracy. The following takes the server as an example of the execution subject to illustrate the specific implementation process of the training method of the sign language recognition model provided by the embodiment of the present invention. It is understandable that the execution subject of the training method of the sign language recognition model provided by the embodiment of the present invention is not limited to the server.

[0037] Figure 1 FIG. 1 is a flow chart of a training method for a sign language recognition model provided by the first embodiment of the present invention. Figure 1 As shown, the training method of the sign language recognition model provided by the embodiment of the present invention includes:

[0038] S101, obtaining a sign language image set;

[0039] Specifically, images of various sign languages ​​are collected to form a sign language image set. The server may obtain the sign language image set.

[0040] S102, preprocessing the sign language image set to obtain a sign language sample set;

[0041] Specifically, after obtaining the sign language image set, the server may pre-process the sign language images in the sign language image set to obtain a sign language sample set. The sign language sample set is used to train a sign language recognition model, and each sign language image in the sign language sample set has a corresponding semantic label, which is used to indicate the semantics corresponding to the gesture in the sign language image. The pre-processing process is selected according to actual needs and is not limited in the embodiment of the present invention.

[0042] For example, the preprocessing of the sign language image set is to scale each sign language image in the sign language image set to a uniform size.

[0043] S103. Training an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and a convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0044] Specifically, the server trains the initial model according to the sign language sample set, and can train to obtain a sign language recognition model. The trained sign language recognition model can be used to recognize sign language. The initial model includes a convolution unit, and the convolution unit is used to extract features. The convolution unit includes a plurality of convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts the form of decomposed convolution. The decomposed convolution replaces the traditional convolution kernel for feature extraction, which can reduce the number of parameters of the model, thereby reducing the complexity of the model. In addition, the decomposed convolution replaces the traditional convolution for feature extraction, which can reduce the computing cost and improve the model performance. The initial model can be improved based on the AlexNet convolutional neural network model. A typical AlexNet convolutional neural network model may include five convolution layers, three pooling layers and three fully connected layers.

[0045] Among them, the choice of gradient optimization method is very important in the model training process. The gradient optimization method determines the update method of weight and bias parameters, which affects the convergence speed and final performance of the network. This application selects the Adam optimizer combined with the small batch gradient descent method for training.

[0046] During the model training process, you can also use network generalization improvement algorithms such as batch normalization, dropout, L2 regularization, and maximum normal form constraints to improve the generalization ability of the model and suppress overfitting. You can add a batch normalization layer after the convolution unit to improve the training efficiency and generalization ability of the model. The batch normalization layer normalizes each batch of training samples so that the input of each layer has a similar distribution, making the model more stable and the training process faster, while also helping to prevent overfitting.

[0047] A Dropout layer can be added after the fully connected layer to reduce the complexity of the model to a certain extent and enhance its generalization ability. Dropout is a technique that randomly discards some neurons during the training process to reduce the complexity of the model and prevent overfitting. By randomly shutting down some neurons during the training process, it can prevent individual neurons from being too sensitive to specific features, thereby improving the robustness of the entire network. It helps to reduce the risk of overfitting the model on the training data and improve its generalization performance on the test data.

[0048] To prevent overfitting, L2 regularization terms and maximum normal form constraints can be added to the convolutional layer and the fully connected layer. The output layer of the model can use the Softmax activation function for the probability distribution of various sign languages ​​corresponding to the sign language images. L2 regularization is a common technique used in deep learning to prevent model overfitting. The effect of L2 regularization is to make the model weights closer to 0, thereby reducing the complexity of the model. The maximum normal form constraint is used to limit the size of the model weights to prevent overfitting.

[0049] For example, the AlexNet convolutional neural network model includes several convolutional layers, pooling layers, and fully connected layers. The first convolutional layer of the AlexNet convolutional neural network model includes a 5x5 convolutional kernel and a 3x3 convolutional kernel. The above AlexNet convolutional neural network model is improved by using decomposed convolution for the 5x5 convolutional kernel of the first convolutional layer, such as using three 1x1 convolutional kernels and three groups of 1x7 and 7x1 convolutional kernels to perform decomposed convolution instead of the 5x5 convolutional kernel, which can reduce the number of parameters and the amount of calculation.

[0050] The training method of the sign language recognition model provided in the embodiment of the present invention obtains a sign language image set; pre-processes the sign language image set to obtain a sign language sample set; trains an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model. Since the complexity of the model is reduced, the training efficiency of the sign language recognition model can be improved. In addition, since the complexity of the model is reduced, the calculation amount of the sign language recognition model is reduced, thereby reducing the requirements for hardware and reducing the cost of model training and application.

[0051] On the basis of the above embodiments, further, the convolution kernel of the convolution layer adopts the form of decomposition convolution to include:

[0052] The convolution kernel uses multiple first decomposition convolution kernels and multiple groups of second decomposition convolution kernels to perform decomposition convolution.

[0053] Specifically, the convolution kernel can use multiple first decomposition convolution kernels and multiple groups of second decomposition convolution kernels to perform decomposition convolution, which can reduce the number of parameters and the amount of calculation, thereby effectively reducing the complexity of the model.

[0054] On the basis of the above embodiments, further, the first convolution kernel is a 1x1 convolution kernel, and a group of second convolution kernels includes a 1x7 convolution kernel and a 7x1 convolution kernel.

[0055] For example, Figure 2 As shown in the figure, for a 5x5 convolution kernel, three 1x1 convolution kernels and three groups including a 1x7 convolution kernel and a 7x1 convolution kernel can be used for convolution decomposition, which can reduce the number of parameters and calculations from 25 units to 21 units, thereby effectively reducing the complexity of the model. Figure 2 The convolution decomposition structure shown includes four branches, the first branch is a 1x1 convolution kernel, the second branch includes a 1x1 convolution kernel, a 1x7 convolution kernel and a 7x1 convolution kernel connected in sequence, the third branch includes a 1x1 convolution kernel, a 7x1 convolution kernel, a 1x7 convolution kernel, a 7x1 convolution kernel and a 1x7 convolution kernel connected in sequence, and the fourth branch includes a pooling subunit (Pool) and a 1x1 convolution kernel. The first branch is used to extract detail features, the second branch is used to extract features of medium depth, the third branch is used to extract features of greater depth than the second branch, and the fourth branch is used for pooling dimensionality reduction. Figure 2 Base represents the basic part, which can include 1x1 convolution layer and pooling layer. Filter Concat represents connecting convolution kernels, which concatenates the feature maps generated by all branches in the channel dimension, thereby enhancing the network's ability to capture features of different scales.

[0056] On the basis of the above embodiments, further, a global average pooling layer is set between the pooling unit and the fully connected unit, so that the average pooling layer and the fully connected unit constitute a lightweight attention structure.

[0057] Specifically, a global average pooling layer is set between the pooling unit and the fully connected unit, and the average pooling layer and the fully connected unit can form a lightweight attention structure. The introduction of the lightweight attention structure allows the model to assign different importance to different information in the input features, thereby improving the performance of the model. The lightweight attention structure is introduced in this application, so that the model can pay more attention to the hand area in the input image that helps to recognize gestures rather than the background environment, thereby accelerating model training and helping to improve the accuracy of sign language recognition.

[0058] For example, the fully connected unit includes three fully connected layers connected in sequence. A global average pooling layer is added before the first fully connected layer, and the activation function of the first fully connected layer is set to ReLU, and the activation function of the second fully connected layer is set to Sigmoid. The global average pooling layer, the first fully connected layer and the second fully connected layer form a lightweight attention structure.

[0059] The above lightweight attention structure first performs global average pooling on the input features to squeeze out the global information of each channel, and then stimulates the weight of each channel through two fully connected layers, that is, recalibrates the features. Through this adaptive recalibration operation, the model assigns different importance to different information in the input features, thereby improving the performance of the model. The introduction of the above lightweight attention structure brings a very small increase in computational cost, but can significantly improve the performance of the model.

[0060] On the basis of the above embodiments, further, preprocessing the sign language image set to obtain the sign language sample set includes:

[0061] The hand region of each sign language image in the sign language image set is extracted through skin color detection.

[0062] Specifically, the server can extract the hand area of ​​each sign language image in the sign language image set through skin color detection, and can distinguish the hand area from the background. Processing the sign language image through skin color detection can effectively identify the hand area, reduce a large amount of redundant information for the image to be input into the model for training, thereby reducing the computational burden and improving accuracy at the same time.

[0063] For example, skin color detection can be achieved by using the Cr component of the YCrCb color space combined with the OTSU threshold segmentation algorithm. First, the input sign language RGB image is converted to the YCrCb color space, and then the values ​​of the three channels Y, Cr, and Cb in the YCrCb space are separated. In order to eliminate Gaussian noise in the image and smooth the image, Gaussian blur is applied to the Cr channel. Then, the blurred Cr channel is binarized using the OTSU threshold processing method to generate a binary image representing the skin area. The OTSU threshold method can automatically select the optimal threshold so that the inter-class variance of the two categories after segmentation is maximized. Finally, the input image is merged with the skin area mask using the bitwise AND operation, retaining only the skin area, thereby realizing the detection and extraction of the skin color area of ​​the gesture image.

[0064] On the basis of the above embodiments, further, preprocessing the sign language image set to obtain the sign language sample set includes:

[0065] Each sign language image in the sign language image set is reduced to a preset size.

[0066] Specifically, the server may reduce each sign language image in the sign language image set to a preset size to reduce the amount of calculation in the model training process. The preset size is set according to actual needs and is not limited in the embodiment of the present invention.

[0067] For example, you can reduce the original 256x256 image to a 100x100 image.

[0068] On the basis of the above embodiments, further, obtaining the sign language image set includes:

[0069] The original sign language images are processed using data enhancement technology to expand the sign language image set.

[0070] Specifically, the server may process the original sign language image using data enhancement technology to obtain multiple sign language images corresponding to the original sign language image, thereby expanding the sign language image set.

[0071] Data augmentation techniques include, but are not limited to, random cropping, random rotation, random horizontal translation, random vertical translation, and random scaling, which can significantly increase the size and diversity of the sign language image set. Not only can it expand the training data, but also the image quality will decrease due to various image transformations, which can increase the robustness of the model to a certain extent and improve the generalization ability of the model.

[0072] Figure 3 FIG. 1 is a flow chart of a dynamic sign language recognition method provided by a third embodiment of the present invention. Figure 3 As shown, the dynamic sign language recognition method provided by the embodiment of the present invention adopts the sign language recognition model described in any of the above embodiments, including:

[0073] S301, obtaining a dynamic sign language video stream;

[0074] Specifically, the sign language of the target object during the communication process can be collected in real time by a camera, and the collected sign language can be sent to the server in the form of a video stream. The server receives the above video stream and obtains a dynamic sign language video stream. The target object refers to a person who can sign language.

[0075] S302, decomposing the dynamic sign language video stream to obtain dynamic sign language pictures of each frame;

[0076] Specifically, the server decomposes the dynamic sign language video stream to obtain each frame of dynamic sign language pictures, wherein each frame of dynamic sign language pictures is decomposed in sequence according to the time sequence of the received dynamic sign language video stream.

[0077] S303: Obtain a recognition result corresponding to each frame of the dynamic sign language picture according to each frame of the dynamic sign language picture and the sign language recognition model.

[0078] Specifically, the server inputs each frame of dynamic sign language picture into the sign language recognition model, and can obtain the recognition result corresponding to each frame of dynamic sign language picture.

[0079] Before inputting each frame of dynamic sign language image into the sign language recognition model, each frame of dynamic sign language image can be reduced to a preset size.

[0080] Since the confidence level of the sign language recognition model of the present application in correctly recognizing sign language is above 95%, the 95% confidence level can be used as a dividing point to discard intermediate sign language recognition results with a confidence level below 95%, thereby speeding up the recognition efficiency of dynamic sign language.

[0081] The dynamic sign language recognition method provided by the embodiment of the present invention can obtain a dynamic sign language video stream; decompose the dynamic sign language video stream to obtain each frame of dynamic sign language pictures; obtain the recognition result corresponding to each frame of dynamic sign language pictures according to each frame of dynamic sign language pictures and a sign language recognition model, thereby realizing the recognition of dynamic sign language and improving the recognition efficiency and accuracy of sign language.

[0082] The following is a specific example to illustrate the specific implementation process of the training method of the sign language recognition model provided by the embodiment of the present invention.

[0083] M sign language pictures are collected, and the M sign language pictures are randomly cropped, randomly rotated, randomly translated horizontally, randomly translated vertically, and randomly scaled to obtain a sign language image set. Each sign language picture in the sign language image set has a corresponding semantic label.

[0084] For each sign language picture in the sign language image set, the hand region is extracted by skin color detection to obtain the hand region image corresponding to each sign language picture, and the hand region image corresponding to each sign language picture is scaled to a size of 100x100. The hand region images corresponding to each sign language picture constitute the sign language sample set.

[0085] The AlexNet convolutional neural network model is improved to obtain the initial model. The structure of the initial model is as follows: Figure 4 The initial model includes three convolutional layers, three pooling layers, one global average pooling layer, and three fully connected layers. A pooling layer is set after each convolutional layer, and a global average pooling layer is set between the third pooling unit and the first fully connected layer. The first convolutional layer uses Figure 2 In the form of decomposed convolution shown in Figure 1, the pooling layer after the first convolution layer uses a 3x3 pooling window; the second convolution layer also uses Figure 2In the form of decomposed convolution shown in the figure, the pooling layer after the second convolution layer uses a 3x3 pooling window; the third convolution layer uses a 3x3 convolution kernel, and the pooling layer after the second convolution layer uses a 3x3 pooling window. The global average pooling layer, the first fully connected layer, and the second fully connected layer form a lightweight attention structure. The third fully connected layer is used as the output layer, and the Softmax activation function can be used to calculate the probability distribution of various sign languages ​​corresponding to the sign language image. Among them, L2 regularization terms and maximum norm constraints are added to the convolution layer and the fully connected layer to prevent overfitting. Dropout layers are added to the first fully connected layer and the second fully connected layer respectively to reduce the complexity of the model and enhance its generalization ability.

[0086] The initial model is trained according to the sign language sample set to obtain a sign language recognition model. The Adam optimizer is used in combination with a small batch gradient descent method for training.

[0087] The trained sign language recognition model can be deployed on the server of a bank branch.

[0088] When a special customer who communicates with sign language comes to a bank branch to handle business, the sign language typed by the special customer can be collected through the camera deployed at the bank branch and sent to the server of the bank branch in the form of a video stream. The server of the bank branch receives the dynamic sign language video stream, and then decomposes the dynamic sign language video stream to obtain each frame of dynamic sign language pictures in chronological order, and then recognizes the frame of dynamic sign language pictures in turn through the sign language recognition model to obtain the semantics corresponding to each frame of dynamic sign language pictures, and sends the semantics corresponding to each frame of dynamic sign language pictures to the handheld terminal of the bank staff, so as to facilitate the communication between the bank staff and the special customer. Among them, the handheld terminal includes but is not limited to a tablet computer.

[0089] The training method of the sign language recognition model provided by the embodiment of the present invention has a small number of layers and a simple structure, and introduces a lightweight attention structure by reducing the convolution kernel through careful design and adopting the form of convolution decomposition, thereby reducing the hardware requirements of the model training and improving the training speed. The sign language recognition model obtained by training has a fast recognition speed and high recognition accuracy for dynamic sign language. In addition, the sign language recognition model has good generalization ability and can adapt to sign language recognition under different lighting and background environments.

[0090] Figure 5 FIG. 5 is a schematic diagram of the structure of a training device for a sign language recognition model provided by a fifth embodiment of the present invention. Figure 5 As shown, the training device for the sign language recognition model provided by the embodiment of the present invention includes a first acquisition module 501, a preprocessing module 502 and a training module 503, wherein:

[0091] The first acquisition module 501 is used to acquire a sign language image set; the preprocessing module 502 is used to preprocess the sign language image set to obtain a sign language sample set; the training module 503 is used to train the initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0092] Specifically, images of various sign languages ​​are collected to form a sign language image set. The first acquisition module 501 can acquire the sign language image set.

[0093] After obtaining the sign language image set, the preprocessing module 502 can preprocess the sign language images in the sign language image set to obtain a sign language sample set. The sign language sample set is used to train a sign language recognition model. Each sign language image in the sign language sample set has a corresponding semantic label, and the semantic label is used to indicate the semantics corresponding to the gesture in the sign language image. The preprocessing process is selected according to actual needs and is not limited in the embodiment of the present invention.

[0094] The training module 503 trains the initial model according to the sign language sample set, and can train to obtain a sign language recognition model. The trained sign language recognition model can be used to recognize sign language. The initial model includes a convolution unit, and the convolution unit is used to extract features. The convolution unit includes a plurality of convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts the form of decomposed convolution. The decomposed convolution replaces the traditional convolution kernel for feature extraction, which can reduce the number of parameters of the model, thereby reducing the complexity of the model. In addition, the decomposed convolution replaces the traditional convolution for feature extraction, which can reduce the computational cost and improve the model performance. The initial model can be improved based on the AlexNet convolutional neural network model. A typical AlexNet convolutional neural network model can include five convolution layers, three pooling layers and three fully connected layers.

[0095] The training device of the sign language recognition model provided by the embodiment of the present invention obtains a sign language image set; pre-processes the sign language image set to obtain a sign language sample set; trains an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model. Since the complexity of the model is reduced, the training efficiency of the sign language recognition model can be improved. In addition, since the complexity of the model is reduced, the calculation amount of the sign language recognition model is reduced, thereby reducing the requirements for hardware and reducing the cost of model training and application.

[0096] On the basis of the above embodiments, further, the convolution kernel of the convolution layer adopts the form of decomposition convolution to include:

[0097] The convolution kernel uses multiple first decomposition convolution kernels and multiple groups of second decomposition convolution kernels to perform decomposition convolution.

[0098] The first decomposition convolution kernel is a 1x1 convolution kernel, and each group of second decomposition convolution kernels includes a 1x7 convolution kernel and a 7x1 convolution kernel.

[0099] On the basis of the above embodiments, further, a global average pooling layer is set before the fully connected unit of the initial model, so that the average pooling layer and the fully connected unit constitute a lightweight attention structure.

[0100] On the basis of the above embodiments, further, the preprocessing module 502 is specifically used for:

[0101] Skin color area detection and extraction are performed on each sign language image in the sign language image set through skin color detection.

[0102] On the basis of the above embodiments, further, the preprocessing module 502 is specifically used for:

[0103] Each sign language image in the sign language image set is reduced to a preset size.

[0104] On the basis of the above embodiments, further, the first acquisition module 501 is specifically used for:

[0105] The original sign language images are processed using data enhancement technology to expand the sign language image set.

[0106] Figure 6 is a schematic diagram of the structure of a dynamic sign language recognition device provided by a sixth embodiment of the present invention. Figure 6 As shown, the dynamic sign language recognition device provided by the embodiment of the present invention adopts the sign language recognition model described in any of the above embodiments, including a second acquisition module 601, a decomposition module 602 and a recognition module 603, wherein:

[0107] The second acquisition module 601 is used to acquire a dynamic sign language video stream; the decomposition module 602 is used to decompose the dynamic sign language video stream to obtain each frame of dynamic sign language pictures; the recognition module 603 is used to obtain the recognition result corresponding to each frame of dynamic sign language pictures according to each frame of dynamic sign language pictures and a sign language recognition model.

[0108] The embodiments of the apparatus provided in the embodiments of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments, and its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.

[0109] It should be noted that the training method of the sign language recognition model, the dynamic sign language recognition method and the device provided in the embodiments of the present invention can be used in the financial field, and can also be used in any technical field other than the financial field. The embodiments of the present invention do not limit the application fields of the training method of the sign language recognition model, the dynamic sign language recognition method and the device.

[0110] Figure 7 is a schematic diagram of the physical structure of an electronic device provided by the seventh embodiment of the present invention, such as Figure 7 As shown, the electronic device may include: a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702 and the memory 703 communicate with each other through the communication bus 704. The processor 701 may call the logic instructions in the memory 703 to execute the following method: obtaining a sign language image set; preprocessing the sign language image set to obtain a sign language sample set; training an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes a plurality of convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0111] In addition, the logic instructions in the above-mentioned memory 703 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0112] The present embodiment discloses a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: acquiring a sign language image set; preprocessing the sign language image set to obtain a sign language sample set; training an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0113] The present embodiment provides a computer-readable storage medium, which stores a computer program, and the computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: acquiring a sign language image set; preprocessing the sign language image set to obtain a sign language sample set; training an initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

[0114] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0115] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0118] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0119] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for training a sign language recognition model, characterized in that: include: Get a set of sign language images; Preprocessing the sign language image set to obtain a sign language sample set; The initial model is trained according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

2. The method according to claim 1, characterized in that The convolution kernel of the convolution layer adopts the form of decomposed convolution and includes: The convolution kernel uses multiple first decomposition convolution kernels and multiple groups of second decomposition convolution kernels to perform decomposition convolution.

3. The method according to claim 2, characterized in that The first decomposition convolution kernel is a 1x1 convolution kernel, and each group of second decomposition convolution kernels includes a 1x7 convolution kernel and a 7x1 convolution kernel.

4. The method according to claim 1, characterized in that: A global average pooling layer is set before the fully connected unit of the initial model, so that the average pooling layer and the fully connected unit constitute a lightweight attention structure.

5. The method according to claim 1, characterized in that The preprocessing of the sign language image set to obtain the sign language sample set comprises: Skin color area detection and extraction are performed on each sign language image in the sign language image set through skin color detection.

6. The method according to claim 1, characterized in that The preprocessing of the sign language image set to obtain the sign language sample set comprises: Each sign language image in the sign language image set is reduced to a preset size.

7. The method according to any one of claims 1 to 6, characterized in that: The acquiring of the sign language image set comprises: The original sign language images are processed using data enhancement technology to expand the sign language image set.

8. A dynamic sign language recognition method, characterized in that: The sign language recognition model according to any one of claims 1 to 7 is adopted, comprising: Get dynamic sign language video stream; Decomposing the dynamic sign language video stream to obtain dynamic sign language pictures of each frame; According to each frame of dynamic sign language picture and the sign language recognition model, the recognition result corresponding to each frame of dynamic sign language picture is obtained.

9. A training device for a sign language recognition model, characterized in that: include: A first acquisition module is used to acquire a sign language image set; A preprocessing module, used for preprocessing the sign language image set to obtain a sign language sample set; A training module is used to train the initial model according to the sign language sample set to obtain a sign language recognition model; wherein the initial model includes a convolution unit, the convolution unit includes multiple convolution layers, and the convolution kernel of at least one convolution layer of the convolution unit adopts a decomposed convolution form to reduce the complexity of the model.

10. A dynamic sign language recognition device, characterized in that: The sign language recognition model according to claim 9 comprises: A second acquisition module is used to acquire a dynamic sign language video stream; A decomposition module, used for decomposing the dynamic sign language video stream to obtain each frame of dynamic sign language picture; The recognition module is used to obtain the recognition result corresponding to each frame of dynamic sign language picture according to each frame of dynamic sign language picture and the sign language recognition model.

11. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 8.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program / instruction, which implements the steps of the method according to any one of claims 1 to 8 when executed by a processor.

13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Dynamic and static gesture recognition method and system

    CN109614922A

  • Sign language recognition model based on deep learning method

    CN114648812A

Cited By

  • Vehicle-mounted sign language recognition model training method and intelligent vehicle control method and device

    CN120564262A

  • Sign language recognition method and system fusing key frame and decomposition convolution

    CN121096018A