Image processing method and device, equipment and storage medium
By using the fusion recognition module combined with multiple image recognition models to process gesture operation images in the video call scenario, the accuracy problem of gesture recognition in complex environments is solved, and the recognition accuracy and video call experience are improved.
Patent Information
- Application Number
- CN202311465436.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2024-10-18
AI Technical Summary
In complex background environments, the collection quality of gesture operation images is poor, making it difficult to achieve accuracy in gesture recognition, especially in video call scenarios.
The fusion recognition module is used to process gesture operation images by combining at least two image recognition models. The recognition accuracy is improved by fusing the recognition results of different models, and virtual and real fusion is performed based on the recognition results to enhance the video call experience.
It improves the recognition accuracy of gesture operation images and the video call experience, can better cope with the problem of poor gesture operation image quality caused by factors such as light and background, and provides more accurate and reliable recognition results and an enhanced user experience.
Smart Images

Figure CN118799951A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an image processing method, apparatus, device, and storage medium. Background Art
[0002] As users' demand for human-computer interaction grows, gesture operation is used as a common means of interaction in various interaction scenarios. In order to realize human-computer interaction using gesture operation, accurate gesture recognition is required. However, due to the complex and diverse background environment of gesture recognition, for example, light differences and poor shooting conditions may seriously affect the acquisition quality of gesture operation images, increasing the difficulty of accurate gesture recognition. Therefore, how to accurately recognize gesture operation images is a problem worth studying. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application provide an image processing method and apparatus, device, and storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application embodiment provides an image processing method, which is applied to a first device, and the method includes:
[0006] Acquire a gesture operation image of the user on the video call interface of the first device;
[0007] The gesture operation image is processed by using a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; and the recognition result includes label information of the gesture category in the gesture operation image.
[0008] In the above solution, the fusion recognition module includes a first classification model and a second classification model, and the fusion recognition module is used to process the gesture operation image to obtain a recognition result of the gesture operation image, including:
[0009] Using the first classification model and the second classification model to process the gesture operation image respectively, to obtain a first classification result and a second classification result of the gesture category in the gesture operation image;
[0010] The first classification result and the second classification result are fused to obtain a recognition result of the gesture operation image.
[0011] In the above scheme, the first classification model and the second classification model are used to process the gesture operation image respectively to obtain the first classification result and the second classification result of the gesture category in the gesture operation image, including:
[0012] Using the first classification model to classify the gesture operation image, to obtain a first evidence function;
[0013] The gesture operation image is classified using the second classification model to obtain a second evidence function.
[0014] In the above solution, the first classification result and the second classification result are merged to obtain the recognition result of the gesture operation image, including:
[0015] fusing the first evidence function and the second evidence function to obtain a third evidence function;
[0016] Probability conversion is performed on the third evidence function, and label information of the gesture category in the gesture operation image is obtained according to the probability conversion result.
[0017] In the above scheme, the method further comprises:
[0018] Determining virtual content corresponding to the gesture category according to the label information of the gesture category;
[0019] Sending the virtual content to a second device having a video call with the first device;
[0020] The virtual content is used by the second device to merge the virtual content with the display content of the video call interface of the second device, and display the fusion result on the video call interface of the second device.
[0021] In the above solution, determining the virtual content corresponding to the gesture category according to the label information of the gesture category includes:
[0022] The virtual content corresponding to the label information of the gesture category is searched according to the dictionary information; wherein the dictionary information includes the correspondence relationship information between at least one gesture category and at least one virtual content.
[0023] The present application also provides a model training method, which includes:
[0024] Using the training data set to train the initial image recognition model in the fusion recognition module to obtain the image recognition model in the fusion recognition module; wherein the fusion recognition module includes at least two image recognition models;
[0025] Among them, the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
[0026] In the above scheme, the initial image recognition model includes an initial first classification model and an initial second classification model, and the initial image recognition model in the fusion recognition module is trained using the training data set to obtain the image recognition model in the fusion recognition module, including:
[0027] Using the training data set to train the initial first classification model and the initial second classification model respectively, to obtain the first classification model and the second classification model in the fusion recognition module;
[0028] Among them, the first classification model is used to process the gesture operation image to obtain a first classification result of the gesture category in the gesture operation image; the second classification model is used to process the gesture operation image to obtain a second classification result of the gesture category in the gesture operation image.
[0029] The embodiment of the present application further provides an image processing apparatus, applied to a first device, the apparatus comprising:
[0030] An image acquisition unit, configured to acquire an image of a user's gesture operation on a video call interface of a first device;
[0031] A fusion recognition unit is used to process the gesture operation image using a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; and the recognition result includes label information of the gesture category in the gesture operation image.
[0032] The present application also provides a model training device, the device comprising:
[0033] A model training unit, used to train the initial image recognition model in the fusion recognition module using the training data set to obtain the image recognition model in the fusion recognition module; wherein the fusion recognition module includes at least two image recognition models;
[0034] Among them, the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
[0035] The embodiment of the present application further provides a first device, comprising: a first processor, a first memory and a first communication bus;
[0036] The first communication bus is used to implement a communication connection between the first processor and the first memory;
[0037] The first processor is used to execute one or more computer programs stored in the first memory to implement the image processing method described in the above embodiment.
[0038] The embodiment of the present application also provides a model training device, including: a second processor, a second memory, and a second communication bus;
[0039] The second communication bus is used to implement a communication connection between the first processor and the first memory;
[0040] The second processor is used to execute one or more computer programs stored in the second memory to implement the model training method described in the above embodiment.
[0041] An embodiment of the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the above-mentioned image processing method or the above-mentioned model training method.
[0042] In the technical solution of the embodiment of the present application, the gesture operation image of the user on the video call interface of the first device is obtained; the gesture operation image is processed by a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; the recognition result includes label information of the gesture category in the gesture operation image. In this way, at least two image recognition models with certain differences can be used to recognize the collected gesture operation image, and two recognition results with certain differences can be obtained. By fusing the two recognition results with certain differences, a more accurate recognition result for the gesture operation image can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 1 ;
[0044] Figure 2 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 2 ;
[0045] Figure 3 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 3 ;
[0046] Figure 4 A flowchart of a model training method provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the image fusion recognition and AR virtual-reality fusion process during a video call provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of the structural composition of the model training device provided in an embodiment of the present application;
[0050] Figure 8 A schematic diagram of the structure of the first device provided in an embodiment of the present application;
[0051] Fig. 9 A schematic diagram of the structural composition of the model training device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0053] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not necessarily need to be defined or explained in the subsequent drawings.
[0054] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0055] Regarding the recognition of gesture images, since gesture recognition scenarios are complex and diverse, and often contain different complex backgrounds, if a single classification algorithm such as a deep learning algorithm or a traditional classifier is used to recognize gesture images, the recognition accuracy is low and the robustness is poor, and it is often difficult to obtain accurate and robust recognition results. In addition, the current method of using gesture operations for operation is generally applied in ordinary video scenarios, and has not yet been applied in video call scenarios. The technical solution of the embodiment of the present application applies gesture operations to video call scenarios, and introduces gesture operations during real-time video calls. On the basis of accurately recognizing gestures on gesture operation images using a fusion recognition module including at least two image recognition models, an enhanced display (AR, Augmented Reality) virtual-real fusion is further performed based on the accurately recognized gestures, thereby improving the user experience during real-time video calls.
[0056] The technical solutions of the embodiments of the present application are described as follows:
[0057] Figure 1 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 1 , the image processing method is applied to a first device, comprising the following steps:
[0058] S101: Acquire a gesture operation image of a user on a video call interface of a first device;
[0059] S102: Processing the gesture operation image using a fusion recognition module to obtain a recognition result of the gesture operation image.
[0060] In an embodiment of the present application, a first device conducts a video call with a second device, wherein the number of the second devices may be one or more, and the types of the first device and the second device may be determined based on actual conditions. For example, both the first device and the second device are terminals that support the video call function.
[0061] Taking the number of second devices as 1 as an example, after user A uses the first device to establish a video call with user B holding the second device, user A can make a gesture operation through the video call interface of the first device. The embodiment of the present application does not limit the type of gesture operation, for example, the gesture operation includes but is not limited to the following gestures: OK gesture, heart gesture, thumbs up gesture.
[0062] The first device has an image acquisition module. After user A makes a gesture operation on the video call interface of the first device, the image acquisition module captures the gesture operation of user A and transmits the captured gesture operation image of user A to the fusion recognition module.
[0063] Due to the influence of the image acquisition environment, such as when the light in the space where the user is located is relatively dark or relatively strong when the image is collected, the background in the collected gesture operation image may be relatively blurred or the collected gesture movement may be relatively blurred. In addition, if the user's body posture changes or the hand shakes, the gesture movement in the collected gesture operation image may also be relatively blurred. Furthermore, if the hardware of the image acquisition device itself is limited (such as backward hardware equipment and low acquisition pixels), the collected gesture operation image may also be relatively blurred. When the background or gesture movement in the gesture operation image collected by the image acquisition module is relatively blurred, it will bring great difficulty to the accurate recognition of the gesture movement.
[0064] In an embodiment of the present application, the fusion recognition module includes at least two image recognition models, and the recognition result includes label information of the gesture category in the gesture operation image.
[0065] After receiving the gesture operation image of user A acquired by the image acquisition module, the fusion recognition module uses two image recognition models to perform image recognition on the gesture operation image of user A respectively, specifically recognizes the gestures in the gesture operation image, and obtains two gesture recognition results.
[0066] It is understandable that different image recognition models have certain differences in the features they recognize when recognizing gestures in gesture operation images. The embodiment of the present application utilizes two image recognition models to recognize gestures in gesture operation images, and can integrate the differences and complementarities of the image features recognized by the two image recognition models, thereby making more full use of the data features contained in the gesture operation images and obtaining more accurate image recognition results.
[0067] In an embodiment of the present application, an image fusion module is used to identify gesture actions in a gesture operation image to obtain label information of the gesture actions in the gesture operation image. The label information of the gesture actions represents the type of gesture actions. Here, different gesture actions correspond to different gesture labels.
[0068] The technical solution of the embodiment of the present application can use at least two image recognition models with certain differences to recognize the collected gesture operation images, obtain two recognition results with certain differences, and obtain a more accurate recognition result for the gesture operation image by fusing the two recognition results with certain differences.
[0069] Figure 2 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 2 , the image processing method is applied to a first device, comprising the following steps:
[0070] S201: Acquire a gesture operation image of a user on a video call interface of a first device;
[0071] S202: using the first classification model and the second classification model in the fusion recognition module to process the gesture operation image respectively, to obtain a first classification result and a second classification result of the gesture category in the gesture operation image;
[0072] S203: Fusing the first classification result and the second classification result to obtain a recognition result of the gesture operation image.
[0073] The method of acquiring the gesture operation image in the above step S201 refers to the above step S101 and will not be repeated here.
[0074] In some embodiments, the fusion recognition module includes a first classification model and a second classification model, and the above step S202 includes the following steps:
[0075] S2021: Classify the gesture operation image using the first classification model to obtain a first evidence function;
[0076] S2022: Classify the gesture operation image using the second classification model to obtain a second evidence function.
[0077] The first classification model may be a first classifier, and the second classifier may be a second classifier; the first classifier and the second classifier are different classifiers, and different classifiers are used to classify and identify the gesture information required in the gesture operation image to obtain two classification identification information, and the final recognition result is obtained by fusing the two classification identification information.
[0078] In some embodiments, the first classifier may specifically be a deep neural network model, and the second classifier may specifically be an eXtreme Gradient Boosting (Xgboost) model.
[0079] The input data samples (specifically the collected gesture operation image data) are trained and decided by the deep neural network model and the Xgboost model respectively, and the corresponding recognition decision results of the deep neural network and the corresponding recognition decision results of the Xgboost model are obtained. Then, the two recognition decision results are input into the decision fusion module, and the decision fusion module performs decision fusion processing to obtain the gesture recognition result of the gesture operation image.
[0080] Specifically, the recognition decision results of deep neural network and Xgboost can be converted into a set of mass functions m1=(m(ω1),...m(ω M ),m(Ω1)) T ,m2=(m(ω1),...m(ω M),m(Ω2)) T , used to characterize the degree of trust of the two classifiers in the sample class probability, where m(Ω i ), i = 1, 2 can better quantify the uncertainty in the classification process, quantify the lack of evidence, and verify whether the model is well trained. In addition, the use of two different classification models, convolutional neural network and XGboost, can better process and characterize the original data information of gesture operation images more effectively, thereby obtaining two different sets of mass functions m1, m2.
[0081] In some embodiments, the above step S203 includes:
[0082] S2031: Fusing the first evidence function and the second evidence function to obtain a third evidence function;
[0083] S2032: Perform probability conversion on the third evidence function, and obtain label information of the gesture category in the gesture operation image according to the probability conversion result.
[0084] Based on the mass functions m1 and m2 obtained in the above steps S2021 and S2022, the following Dempster combination rule of evidence theory is used:
[0085]
[0086] The two sets of evidence functions are fused. This fusion operation step is mainly to deal with the problem of unclear gesture operation image data caused by poor image acquisition environment during video calls. For gesture operation images of poor quality, it is easy to encounter uncertainty in category attribution during classification training. By using two different gesture recognition models to train gesture operation images separately, the uncertainty of the data itself can be modeled from different angles. Afterwards, the two sets of evidence obtained by fusing the two gesture recognition models can negate some of the modeling uncertainties, thereby improving the accuracy of identifying gesture actions in gesture operation images.
[0087] In some embodiments, the final evidence function m obtained by fusing the two evidence functions m1 and m2 is subjected to probability conversion and decision making using the Pignistic probability conversion in the following evidence theory framework, and the final fusion classification recognition result of the gesture operation image is output.
[0088]
[0089] Here, an example is given of a manner in which a fusion recognition module includes two image recognition models. It should be noted that, in an embodiment of the present application, the number of image recognition modules included in the fusion recognition module includes but is not limited to two, and may also include more than two image recognition models; when the fusion recognition module includes more than two image recognition models, it is necessary to fuse the image recognition results of multiple image recognition models during fusion, thereby utilizing the differences and complementarities of image features recognized by multiple image recognition models, thereby making more effective use of the data features contained in the gesture operation image and obtaining more accurate image recognition results.
[0090] The technical solution of the embodiment of the present application improves the recognition accuracy of gesture actions in gesture operation images by integrating the differences and complementarities of different types of classification models when performing image recognition on gesture operation images, and utilizes evidence combination rules to fuse outputs with certain differences and complementarities. It can better deal with the uncertainty problems in classification and recognition caused by poor quality of gesture operation images, and obtain more accurate and reliable recognition results for gesture actions in gesture operation images.
[0091] Figure 3 Schematic diagram of the image processing method provided in the embodiment of the present application Figure 3 , the image processing method is applied to a first device, comprising the following steps:
[0092] S301: Acquire a gesture operation image of a user on a video call interface of a first device;
[0093] S302: Processing the gesture operation image by using a fusion recognition module to obtain a recognition result of the gesture operation image;
[0094] S303: determining virtual content corresponding to the gesture category according to the label information of the gesture category in the recognition result;
[0095] S304: Send the virtual content to a second device having a video call with the first device.
[0096] In an embodiment of the present application, the virtual content is used by the second device to merge the virtual content with the display content of the video call interface of the second device, and display the fusion result on the video call interface of the second device.
[0097] In an embodiment of the present application, after obtaining the gesture recognition result of the gesture operation image, the gesture recognition result can be further integrated with the actual scene of the video call to increase the fun of the video call process, improve the user experience, and better promote the development of the video call service.
[0098] In some implementations, virtual-reality fusion may be implemented on the first device, and the virtual-reality fusion effect may be displayed on the display interface of the first device.
[0099] In some implementations, virtual-reality fusion may be implemented on the second device, and the virtual-reality fusion effect may be displayed on the display interface of the second device.
[0100] In some implementations, virtual-reality fusion may be implemented on the first device and the second device, respectively, and the virtual-reality fusion effect may be displayed on the display interfaces of the first device and the second device, respectively.
[0101] In the embodiment of the present application, the virtual-reality fusion effect can be realized by an AR virtual-reality fusion module. In some implementations, an AR virtual-reality fusion module can be set on both the first device and the second device to respectively or jointly realize the display of the virtual-reality fusion effect during the video passing process.
[0102] In some embodiments, the above step S303 includes:
[0103] S3031: Query virtual content corresponding to the label information of the gesture category according to the dictionary information.
[0104] In some implementations, the dictionary information includes correspondence information between at least one gesture category and at least one virtual content.
[0105] An AR virtual-reality fusion module may be set on the first device. After receiving the gesture recognition result of the gesture operation image by the fusion recognition module, the AR virtual-reality fusion module of the first device may further perform a dictionary query based on the label information of the gesture category in the gesture recognition result and the dictionary information constructed according to the label information of the gesture category and the virtual content (or special effects) to obtain the virtual content corresponding to the label information of the gesture category.
[0106] The following is an example of the dictionary query process. Assuming that the classification is a three-classification problem (OK gesture, heart gesture, thumbs-up gesture), the recognition results obtained from the fusion recognition module are [1, 0, 0], [0, 1, 0] or [0, 0, 1] outputs. Then, the virtual content dictionary can be constructed according to the label information of the corresponding gesture category when training the classifier: [1, 0, 0]: OK gesture, output OK special effect; [0, 1, 0]: heart gesture, output heart special effect; [0, 0, 1]: thumbs-up gesture, output thumbs-up special effect. If the recognition result of the fusion recognition module for the gesture operation image is [0, 1, 0], the virtual content corresponding to the recognition result is the heart gesture, and the heart special effect is output. After that, this virtual heart special effect content is subjected to AR virtual-real fusion, and the corresponding virtual result obtained by recognition is finally presented on the mobile device (which can be the first device or the second device).
[0107] It should be noted that the correspondence between the gesture categories and virtual content included in the above dictionary information is not limited to the methods listed above. In actual applications, the virtual content corresponding to the gesture categories can be flexibly set according to user needs. For example, for the OK gesture, virtual content of cartoon animals can also be displayed. The embodiment of the present application does not make specific limitations on the specific correspondence information between the gesture categories in the dictionary information and the virtual content.
[0108] The technical solution of the embodiment of the present application combines the virtual content presentation with the video call by utilizing the gesture fusion recognition solution and the AR virtual-reality fusion solution, thereby increasing the fun of the video call process, improving the user experience, and better promoting the development of video call services (such as 5G video call services).
[0109] Figure 4 A flow chart of the model training method provided in the embodiment of the present application is as follows: Figure 4 As shown, the model training method includes the following steps:
[0110] S401: Using a training data set to train an initial image recognition model in a fusion recognition module to obtain an image recognition model in the fusion recognition module.
[0111] In an embodiment of the present application, the fusion recognition module includes at least two image recognition models; the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
[0112] In an embodiment of the present application, in order to use the fusion recognition module to accurately identify the gesture category in the gesture operation image, it is necessary to pre-train the image recognition model in the fusion recognition module; for the image recognition model in the fusion recognition module, it is necessary to obtain training data in advance, and the training data is specifically a gesture operation image data set, wherein each gesture operation image in the gesture operation image data set has corresponding gesture label information, and by training the initial image recognition model with the gesture operation image data set, an image recognition model for identifying the gesture category of the gesture operation image in the video call scenario can be obtained.
[0113] In an embodiment of the present application, the initial image recognition model includes at least two initial image recognition models, or in other words, the initial image recognition model includes at least two initial image recognition algorithms. By training the initial image recognition model with a gesture operation image data set, an image recognition model for identifying gesture categories of gesture operation images in video call scenarios can be obtained. The collected gesture operation images can be identified using at least two image recognition models with certain differences, and two recognition results with certain differences can be obtained. By fusing the two recognition results with certain differences, a more accurate recognition result for the gesture operation image can be obtained.
[0114] In some embodiments, the initial image recognition model includes an initial first classification model and an initial second classification model, and the above step S401 includes the following steps:
[0115] S4011: Use the training data set to train the initial first classification model and the initial second classification model respectively to obtain the first classification model and the second classification model in the fusion recognition module.
[0116] In an embodiment of the present application, the first classification model is used to process the gesture operation image to obtain a first classification result of the gesture category in the gesture operation image; the second classification model is used to process the gesture operation image to obtain a second classification result of the gesture category in the gesture operation image.
[0117] The first classification model may be a first classifier, and the second classifier may be a second classifier; the first classifier and the second classifier are different classifiers, and different classifiers are used to classify and identify the gesture information required in the gesture operation image to obtain two classification identification information, and the final recognition result is obtained by fusing the two classification identification information; in order to obtain the first classification model and the second classification model for gesture recognition of the gesture operation image, it is necessary to use pre-acquired training data, and the training data is specifically a gesture operation image data set, wherein each gesture operation image in the gesture operation image data set has corresponding gesture label information, and the initial first classification model and the initial second classification model are respectively trained by using the gesture operation image data set to obtain an image recognition model (including the trained first classification model and the trained second classification model) for identifying the gesture category of the gesture operation image in the video call scenario.
[0118] Taking the first classification model as a deep neural network model and the second classification model as an Xgboost model as an example, it is necessary to use the pre-acquired gesture operation image data set to train the initial deep neural network model and the initial Xgboost model respectively, and obtain an image recognition model (including the trained deep neural network model and the trained Xgboost model) for gesture recognition of gesture operation images collected in video call scenarios.
[0119] The technical solution of the embodiment of the present application can obtain an image recognition model for identifying gesture categories of gesture operation images in video call scenarios by training an initial image recognition model using a gesture operation image data set, thereby being able to use at least two image recognition models with certain differences to recognize the collected gesture operation images and obtain at least two recognition results with certain differences. By fusing at least two recognition results with certain differences, a more accurate recognition result for the gesture operation image can be obtained.
[0120] Figure 5 The image fusion recognition process diagram provided in the embodiment of the present application is as follows: Figure 5 As shown, image fusion recognition includes the following steps:
[0121] S501 : during a video call between mobile device 1 and mobile device 2 , mobile device 1 collects gesture operation images when user A performs gesture operations on mobile device 1 .
[0122] During a 5G new call video call between user A using mobile device 1 and user B carrying mobile device 2, user A made a heart gesture with respect to the screen displayed on the current video call interface of mobile device 1, and the image acquisition module of mobile device 1 captured the image of the heart gesture made by user A.
[0123] S502: The mobile device 1 uses a fusion recognition module to perform fusion recognition on the collected gesture operation images to obtain label information of gesture categories in the gesture operation images.
[0124] After acquiring the image of the heart gesture made by user A captured by the image acquisition module, the fusion recognition module of the mobile device 1 uses at least two image classifiers to train the image data in the gesture operation image to identify the label information of the heart gesture in the gesture operation image.
[0125] S503: The mobile device 1 searches for virtual content corresponding to the label information of the gesture category identified by the fusion recognition module according to the preset dictionary information.
[0126] The AR virtual-reality fusion module of the mobile device 1 searches the preset dictionary information according to the label information of the heart gesture output by the fusion recognition module and finds that the virtual content corresponding to the heart gesture is a red heart-shaped image that changes from small to large.
[0127] S504: Mobile device 1 sends the data of the virtual content to mobile device 2.
[0128] The mobile device 1 sends the virtual content data of the red heart-shaped image that changes from small to large to the mobile device 2 .
[0129] S505: The mobile device 2 performs virtual-reality fusion on the data of the virtual content and the image of the video call interface currently displayed on the mobile device 2 , and displays the virtual-reality fusion result on the display interface of the mobile device 2 .
[0130] After receiving the virtual content data of the red heart-shaped image sent by mobile device 1, mobile device 2 further integrates the virtual content data of the red heart-shaped image with the current video call interface display content of mobile device 2, and displays the final video call display content and the red heart-shaped image that changes from small to large on the display interface of mobile device 2.
[0131] The technical solution of the embodiment of the present application combines the virtual content presentation with the video call by utilizing the gesture fusion recognition solution and the AR virtual-reality fusion solution, thereby increasing the fun of the video call process, improving the user experience, and better promoting the development of video call services (such as 5G video call services).
[0132] Figure 6 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application, wherein the image processing device is applied to a first device, and the image processing device includes:
[0133] An image acquisition unit 601 is used to acquire a gesture operation image of a user on a video call interface of a first device;
[0134] The fusion recognition unit 602 is used to process the gesture operation image using a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; and the recognition result includes label information of the gesture category in the gesture operation image.
[0135] In some embodiments, the fusion recognition module includes a first classification model and a second classification model, and the fusion recognition unit 602 is used to process the gesture operation image using the first classification model and the second classification model respectively to obtain a first classification result and a second classification result of the gesture category in the gesture operation image; and fuse the first classification result and the second classification result to obtain a recognition result of the gesture operation image.
[0136] In some implementations, the fusion recognition unit 602 is used to classify the gesture operation image using the first classification model to obtain a first evidence function; and classify the gesture operation image using the second classification model to obtain a second evidence function.
[0137] In some embodiments, the fusion identification unit 602 is used to fuse the first evidence function and the second evidence function to obtain a third evidence function; perform probability conversion on the third evidence function, and obtain label information of the gesture category in the gesture operation image according to the probability conversion result.
[0138] In some implementations, the image processing apparatus further includes:
[0139] A determining unit 603, configured to determine virtual content corresponding to the gesture category according to the label information of the gesture category;
[0140] A sending unit 604, configured to send the virtual content to a second device having a video call with the first device;
[0141] The virtual content is used by the second device to merge the virtual content with the display content of the video call interface of the second device, and display the fusion result on the video call interface of the second device.
[0142] In some implementations, the determining unit 603 is used to query virtual content corresponding to the label information of the gesture category according to dictionary information; wherein the dictionary information includes correspondence relationship information between at least one gesture category and at least one virtual content.
[0143] Those skilled in the art should understand that Figure 6 The functions implemented by each unit in the image processing device shown can be understood by referring to the relevant description of the aforementioned image processing method. Figure 6 The functions of each unit in the image processing device shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0144] Figure 7A schematic diagram of the structure of a model training device provided in an embodiment of the present application, wherein the model training device comprises:
[0145] The model training unit 701 is used to train the initial image recognition model in the fusion recognition module using the training data set to obtain the image recognition model in the fusion recognition module; wherein the fusion recognition module includes at least two image recognition models;
[0146] Among them, the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
[0147] In one embodiment, the initial image recognition model includes an initial first classification model and an initial second classification model.
[0148] The model training unit 701 is used to: use the training data set to train the initial first classification model and the initial second classification model respectively to obtain the first classification model and the second classification model in the fusion recognition module;
[0149] Among them, the first classification model is used to process the gesture operation image to obtain a first classification result of the gesture category in the gesture operation image; the second classification model is used to process the gesture operation image to obtain a second classification result of the gesture category in the gesture operation image.
[0150] Those skilled in the art should understand that Figure 7 The implementation functions of each unit in the model training device shown can be understood by referring to the relevant description of the aforementioned model training method. Figure 7 The functions of each unit in the model training device shown can be implemented by a program running on a processor, or by a specific logic circuit.
[0151] Figure 8 A schematic diagram of the structure of the first device provided in the embodiment of the present application is shown in FIG. Figure 8 As shown, the first device includes: a first processor 801, a first memory 802 and a first communication bus 803;
[0152] The first communication bus 803 is used to implement a communication connection between the first processor 801 and the first memory 802;
[0153] The first processor 801 is used to execute one or more computer programs stored in the first memory 802 to implement the image processing method on the first device side.
[0154] Fig. 9 A schematic diagram of the structure of the model training device provided in the embodiment of the present application is shown in FIG. Fig. 9 As shown, the model training device includes: a second processor 901, a second memory 902, and a second communication bus 903;
[0155] The second communication bus 903 is used to implement a communication connection between the second processor 901 and the second memory 902;
[0156] The second processor 901 is used to execute one or more computer programs stored in the second memory 902 to implement the above-mentioned model training method.
[0157] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned image processing method or the above-mentioned model training method when the computer program is executed by the processor. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
[0158] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0159] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes 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 generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. 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.
[0160] These computer program instructions may also be stored in a computer-readable memory that can direct 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 a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0161] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process described in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An image processing method, characterized in that: Applied to a first device, the method includes: Obtaining a gesture operation image of the user on the video call interface of the first device; The gesture operation image is processed using a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; the recognition result includes label information of the gesture category in the gesture operation image.
2. The method according to claim 1, characterized in that The fusion recognition module includes a first classification model and a second classification model. The fusion recognition module is used to process the gesture operation image to obtain a recognition result of the gesture operation image, including: Processing the gesture operation image using the first classification model and the second classification model respectively to obtain a first classification result and a second classification result of the gesture category in the gesture operation image; The first classification result and the second classification result are fused to obtain a recognition result of the gesture operation image.
3. The method according to claim 2, characterized in that The processing of the gesture operation image using the first classification model and the second classification model respectively to obtain a first classification result and a second classification result of the gesture category in the gesture operation image includes: classifying the gesture operation image using the first classification model to obtain a first evidence function; The gesture operation image is classified using the second classification model to obtain a second evidence function.
4. The method according to claim 3, characterized in that The fusing of the first classification result and the second classification result to obtain a recognition result of the gesture operation image includes: fusing the first evidence function and the second evidence function to obtain a third evidence function; Probability conversion is performed on the third evidence function, and label information of the gesture category in the gesture operation image is obtained according to the probability conversion result.
5. The method according to claim 1, wherein The method further comprises: Determining virtual content corresponding to the gesture category according to the label information of the gesture category; sending the virtual content to a second device that is in a video call with the first device; The virtual content is used by the second device to integrate the virtual content with the display content of the video call interface of the second device, and to display the integration result on the video call interface of the second device.
6. The method according to claim 5, characterized in that The determining, according to the label information of the gesture category, the virtual content corresponding to the gesture category includes: The virtual content corresponding to the label information of the gesture category is searched according to the dictionary information; wherein the dictionary information includes correspondence relationship information between at least one gesture category and at least one virtual content.
7. A model training method, characterized in that: The method comprises: Using the training data set to train the initial image recognition model in the fusion recognition module to obtain the image recognition model in the fusion recognition module; wherein the fusion recognition module includes at least two image recognition models; Among them, the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
8. The method according to claim 7, characterized in that The initial image recognition model includes an initial first classification model and an initial second classification model. The initial image recognition model in the fusion recognition module is trained using the training data set to obtain the image recognition model in the fusion recognition module, including: Using the training data set to train the initial first classification model and the initial second classification model respectively, to obtain the first classification model and the second classification model in the fusion recognition module; Among them, the first classification model is used to process the gesture operation image to obtain a first classification result of the gesture category in the gesture operation image; the second classification model is used to process the gesture operation image to obtain a second classification result of the gesture category in the gesture operation image.
9. An image processing device, characterized in that: Applied to a first device, the apparatus includes: an image acquisition unit, configured to acquire an image of a user's gesture operation on a video call interface of the first device; A fusion recognition unit is used to process the gesture operation image using a fusion recognition module to obtain a recognition result of the gesture operation image; wherein the fusion recognition module includes at least two image recognition models; the recognition result includes label information of the gesture category in the gesture operation image.
10. A model training device, characterized in that: The device comprises: A model training unit, configured to train an initial image recognition model in a fusion recognition module using a training data set to obtain an image recognition model in the fusion recognition module; wherein the fusion recognition module includes at least two image recognition models; Among them, the image recognition model in the fusion recognition module is used to process the acquired gesture operation image to obtain a recognition result of the gesture operation image; the gesture operation image is a gesture operation image of the user for the video call interface of the first device, and the recognition result includes label information of the gesture category in the gesture operation image.
11. A first device, characterized in that: include: a first processor, a first memory, and a first communication bus; The first communication bus is used to implement a communication connection between the first processor and the first memory; The first processor is configured to execute one or more computer programs stored in the first memory to implement the image processing method according to any one of claims 1 to 6.
12. A model training device, characterized in that: include: a second processor, a second memory, and a second communication bus; The second communication bus is used to implement a communication connection between the first processor and the first memory; The second processor is used to execute one or more computer programs stored in the second memory to implement the model training method according to any one of claims 7 or 8.
13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented, or the steps of the method according to any one of claims 7 to 8 are implemented.
