Image annotation processing method and device, computer equipment and readable storage medium
By performing feature matching and predictive annotation on images, and using a small amount of manually annotated data to train the center point detector, the problem of low automatic annotation efficiency and poor adaptability in the existing technology is solved, and efficient image annotation and detection when the scene changes is achieved.
Patent Information
- Application Number
- CN202310246891.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-10
AI Technical Summary
Existing automatic annotation algorithms require a large amount of manual annotation data, resulting in low image annotation efficiency. They also require a large amount of manual annotation data for fine-tuning or retraining when the scene changes, and cannot effectively adapt to new scenes.
By obtaining the support data set and the query data set, the object region features of the support sample image and the image features of the query sample image are matched based on the object boundary annotation, the center point prediction annotation of the object in the query sample image is predicted, and these annotations are used to predict the prediction Set up a center point detector for training to achieve automatic labeling.
On the basis of reducing the amount of manual annotation data, it improves the efficiency of image annotation, reduces the need for manual annotation when new scenes change, and enhances the accuracy of the center point detector.
Smart Images

Figure CN118628857A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of artificial intelligence technology, and specifically to an image annotation processing method, device, and computer-readable storage medium. Background Art
[0002] With the rapid development of artificial intelligence and machine learning technologies, artificial intelligence and machine learning technologies are used in more and more fields. Computer vision, as a field of artificial intelligence, has also developed rapidly. In order to improve the performance of the model, it is usually necessary to label certain data to train the model. For example, in order for the model to learn to detect handheld objects, it is usually necessary to label the handheld objects in the handheld object image.
[0003] Generally speaking, data labeling is done manually. In the prior art, in order to improve the efficiency of data labeling, an automatic labeling algorithm is used to label the data.
[0004] However, the inventors of this application found in the actual research and development process that: since the existing automatic annotation algorithm needs to rely on a certain amount of manually annotated data, the existing automatic annotation algorithm needs a relatively large amount of manual annotation training to accurately realize data annotation; when the scene changes, in order to make the automatic annotation algorithm adapt to the new scene, a relatively large amount of manual annotation data is required to fine-tune or retrain the automatic annotation algorithm. It can be seen that the existing automatic annotation algorithm needs to rely on a relatively high amount of manually annotated data, resulting in relatively low image annotation efficiency. Summary of the invention
[0005] The embodiments of the present application provide an image annotation processing method, apparatus, computer equipment, and computer-readable storage medium, which can realize automatic image annotation on the basis of reducing the amount of manually annotated data and improve the efficiency of image annotation.
[0006] In a first aspect, an embodiment of the present application provides an image annotation processing method, the method comprising:
[0007] Acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images;
[0008] Based on the object boundary annotation, matching the object region features of the support sample image with the image features of the query sample image to obtain the feature correlation of the query sample image;
[0009] Performing prediction based on the feature correlation to obtain a predicted annotation of a center point of an object in the query sample image;
[0010] Based on the center point prediction annotation, obtaining a first annotation probability map of the center point distribution of the object in the query sample image;
[0011] Based on the first annotation probability map and the query sample image, a preset center point detector is trained to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center points of objects in the sample image to be annotated.
[0012] In a second aspect, an embodiment of the present application provides an image annotation processing device, the image annotation processing device comprising:
[0013] An acquisition unit, configured to acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes a plurality of query sample images;
[0014] A matching unit, configured to match the object region features of the support sample image with the image features of the query sample image based on the object boundary annotation, to obtain a feature correlation of the query sample image;
[0015] A prediction unit, configured to make a prediction based on the feature correlation to obtain a predicted annotation of a center point of an object in the query sample image;
[0016] A processing unit, configured to obtain a first annotation probability map of the distribution of the center points of the objects in the query sample image based on the center point prediction annotation;
[0017] The processing unit is further used to train a preset center point detector based on the first annotation probability map and the query sample image to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center points of objects in the sample image to be annotated.
[0018] In a third aspect, an embodiment of the present application further provides a computer device, comprising a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, any one of the image annotation processing methods provided in the embodiments of the present application is executed.
[0019] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the image annotation processing method.
[0020] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements any one of the image annotation processing methods provided in the embodiments of the present invention.
[0021] From the above content, it can be concluded that the embodiments of the present application have the following beneficial effects:
[0022] The embodiment of the present application supports the object boundary annotation of the sample image, matches the object region features of the sample image with the image features of the query sample image, obtains the feature correlation of the query sample image, and is used to predict the center point prediction annotation of the object in the query sample image; thus, the center point prediction annotation of the object in the query sample image can be used to train the preset center point detector to obtain the trained center point detector; on the one hand, since the object region features of the sample image are matched with the image features of the query sample image, the center point prediction annotation of the object in the query sample image can be predicted, so that a small part of manually annotated supporting sample images can be used to predict and annotate the center point position of a part of the query sample image, that is, to automatically annotate a certain amount of manually annotated data that the automatic annotation algorithm needs to rely on, so only a small part of manually annotated data (that is, a small number of supporting sample images) is needed to generate a certain scale of image annotation data, thereby realizing the expansion of the image annotation data that the automatic annotation algorithm needs to rely on; therefore, when the scene changes, there is no need to repeatedly manually annotate images with a large amount of data. On the other hand, since the image annotation data can be expanded by feature matching (i.e., the annotation of a certain number of query sample images can be realized), the accuracy of the center point position annotation of the object by the trained center point detector can be improved by using the query sample images to train the preset center point detector. Therefore, this embodiment can realize automatic image annotation on the basis of reducing the amount of manual annotation data and improve the efficiency of image annotation. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 It is a schematic diagram of an application scenario of the image annotation processing method provided in an embodiment of the present application;
[0025] Figure 2 It is a schematic diagram of an embodiment of the image annotation processing method provided in the embodiment of the present application;
[0026] Figure 3 It is a schematic diagram of data interaction between the functional modules of the business products provided in this implementation and the functional modules of the automatic labeling algorithm;
[0027] Figure 4is a structural diagram of a small sample target position probability predictor provided in an embodiment of the present application;
[0028] Figure 5 It is a schematic diagram of extracting the local maximum response value of the sliding window provided in an embodiment of the present application;
[0029] Figure 6 is a schematic diagram of the training process of a trained center point detector provided in an embodiment of the present application;
[0030] Figure 7 is a schematic diagram of the application process of the trained center point detector provided in an embodiment of the present application;
[0031] Figure 8 is a schematic diagram illustrating the image annotation processing process provided by an embodiment of the present application;
[0032] Fig. 9 A schematic diagram of the structure of an embodiment of an image annotation processing device in an embodiment of the present application;
[0033] Fig.10 A schematic diagram of the structure of a computer device involved in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0035] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used to distinguish different objects, and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Features defined as "first" and "second" may explicitly or implicitly include one or more of the features, rather than being used to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0036] It can be understood that in the specific implementation of the present application, user information such as supporting sample images (such as images of users holding objects while wearing XR products), query sample images and other related data are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0037] The embodiment of the present application provides an image annotation processing method, apparatus, computer device and computer readable storage medium. The image annotation processing apparatus can be integrated in a computer device, which can be a server or a user terminal.
[0038] The image annotation processing method of this embodiment can be implemented by a server, or it can be implemented by a terminal and a server together. The server can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, but it is not limited to this. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but it is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.
[0039] The following takes the method of image annotation processing implemented by a terminal and a server together as an example to illustrate the method.
[0040] refer to Figure 1 The image annotation processing system provided by the embodiment of the present invention includes a terminal 101 and a server 102, etc. The terminal 101 and the server 102 are connected via a network, for example, via a wired or wireless network connection.
[0041] The terminal 101 can obtain a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images, and sends the support data set and the query data set to the server 102. The server 102 can be used to receive the support data set and the query data set sent by the terminal 101, match the object region features of the support sample image with the image features of the query sample image based on the object boundary annotation, and obtain the feature correlation of the query sample image; make a prediction based on the feature correlation to obtain the predicted annotation of the center point of the object in the query sample image; obtain a first annotation probability map of the distribution of the center point of the object in the query sample image based on the predicted annotation of the center point; train a preset center point detector based on the first annotation probability map and the query sample image to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center point of the object in the sample image to be annotated.
[0042] The image annotation processing method provided in this embodiment may specifically involve an artificial intelligence cloud service. The following description will take a computer device as an example of the execution subject of the image annotation processing method. For the sake of simplicity, the execution subject will be omitted in the following description.
[0043] The so-called artificial intelligence cloud service is generally also called AIaaS (AI as a Service). This is the service mode of a mainstream artificial intelligence platform. Specifically, the AIaaS platform will split several common AI services and provide independent or packaged services in the cloud. This service model is similar to opening an AI theme mall: all developers can access and use one or more artificial intelligence services provided by the platform through the API interface. Some senior developers can also use the AI framework and AI infrastructure provided by the platform to deploy and operate their own cloud artificial intelligence services.
[0044] The following is a detailed description of the embodiments in conjunction with the accompanying drawings. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.
[0045] like Figure 2 As shown, the specific process of the image annotation processing method can be as follows: Step 201 to Step 205, wherein:
[0046] 201. Obtain a supporting dataset and a query dataset.
[0047] The support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images.
[0048] It is understandable that in actual business scenarios, the purpose of image annotation processing can be multiple, for example, annotating objects in an image so that a target model can learn to detect objects. In this embodiment, the purpose of image annotation processing is "annotating objects in an image so that a target model can learn to detect objects" as an example for explanation.
[0049] The training data set refers to a collection of sample images used to train the target model. The training data set may include support sample images, query sample images, and other sample images to be annotated. Figure 3As shown, the target model can be a model used to detect the center point of an object in a business product, or a functional submodule used to detect the center point of an object in a business product. For example, users holding objects in their hands is a scenario often encountered in XR (Extended Reality) product applications. Accurate user-held object perception analysis is an important basis for improving the richness and immersion of user interaction actions in XR products. The model or functional submodule used to detect the center point of handheld objects in XR product applications can be used as the target model, and the target model can be trained using a training data set. Among them, extended reality refers to a real and virtual combination of human-computer interactive environment generated by computer technology and wearable devices.
[0050] For ease of understanding, an applicable scenario of this embodiment is first introduced below. Figure 3 As shown, Figure 3 This is a schematic diagram of data interaction between the functional modules of the business products provided in this implementation and the functional modules of the automatic labeling algorithm. Taking the target model as a model of "realizing the detection of handheld objects held by users during the use of XR products" (i.e., a handheld object center point detection model) as an example, the supporting sample images, query sample images, and other sample images to be labeled can be used as training data sets for training the handheld object center point detection model. In this embodiment, only a small number of supporting sample images need to be manually labeled as a start, and the center point prediction labeling of the query sample image is obtained by predicting the probability predictor of the target position of a small sample; the center point prediction labeling of the query sample image and the manual labeling of the supporting sample image are used to train the preset center point detector, so that the trained center point detector can be used to iteratively label the center point position of the object on the sample images to be labeled. Figure 3 In the example, the business product algorithm may specifically include:
[0051] ① A hand detection model (or the hand detection model can also be set in the form of a hand detection function submodule) is used to detect the hand area in the image.
[0052] ② A handheld object center point detection model (or the handheld object center point detection model can also be set in the form of a handheld object center point detection function submodule), which is used to detect the center point of the handheld object in the image.
[0053] ③Other algorithm models (or set to other functional sub-module forms).
[0054] Automatic labeling algorithms include:
[0055] ① Data acquisition module, used to collect training data sets, such as support sample images and query sample images.
[0056] ② A hand region extraction module is used to detect the hand region in the query sample image. For example, the hand detection model in the business product algorithm can be used to perform hand region detection on the query sample image to obtain a hand region map of the query sample image.
[0057] ③Other functional sub-modules.
[0058] ④ A post-processing module for labeling the object center points of each image in the training data set, for example, including: obtaining the corresponding object center point labeling based on the manually labeled object boundary labeling in the supporting sample image; using the supporting data set to predict the object center point of each query sample image in the query data set to obtain the object center point prediction labeling of the query sample image; predicting the sample image to be labeled through the trained center point detector to obtain the labeled coordinates of the object center point in the sample image to be labeled, and so on.
[0059] For ease of understanding, some names mentioned in this embodiment are introduced below:
[0060] Small samples: Machine learning models are usually required to learn and acquire knowledge from a very small number of samples.
[0061] Center point detection: refers to the use of algorithms to predict the center point position of the target of interest.
[0062] The supporting sample images are images in the training data set that require manual annotation of objects. Taking the target model of "detecting objects held by users during the use of XR products" as an example, that is, taking the handheld object annotation processing scenario as an example, images of users holding objects while wearing XR products can be collected as supporting sample images, and the object boundary annotations of the supporting sample images can be obtained by manually annotating the objects in the supporting sample images.
[0063] The query sample images are images in the training dataset that are automatically annotated with objects through the supporting dataset without the need for manual object annotation. Taking the target model of "detecting objects held by users during the use of XR products" as an example, that is, taking the handheld object annotation processing scenario as an example, images of users holding objects while wearing XR products can be collected as query sample images.
[0064] Among them, the similarities between the support sample images and the query sample images are that both the support sample images and the query sample images are images in the training data set used to train the target model; the differences between the support sample images and the query sample images are that the support sample images are images that require manual annotation of objects, while the query sample images are images that do not require manual annotation of objects.
[0065] Among them, the object boundary annotation is used to indicate the bounding box of the object in the supporting sample image, and the object boundary annotation can be completed manually. For example, taking the target model as a model of "realizing the detection of objects held by users during the use of XR products", that is, taking the handheld object annotation processing scenario as an example, the bounding box of the handheld object in the supporting sample image can be manually annotated.
[0066] Exemplarily, m images of handheld objects can be collected, and n images are randomly selected as support data sets (i.e., the support data set includes n support sample images), and the remaining (mn) images are used as query data sets (the query data set includes (mn) query sample images). In this embodiment, since the center point prediction annotation of the object in the query sample image is predicted by feature matching, n<<m can be set. For example, n can be 10, and m can be 1000000, so as to expand the number of sample images annotated with the center point of the object, and use it to train a preset center point detector to achieve iterative annotation of the center point position of the object, thereby automatically annotating the image, thereby greatly reducing the number of images that need to be manually annotated with the center point position of the object.
[0067] 202. Based on the object boundary annotation, the object region features of the support sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image.
[0068] Among them, feature relevance is an indicator reflecting the similarity between the query sample image and the supporting data set.
[0069] There are many ways to obtain the feature correlation between the object region feature of the supporting sample image and the image feature of the query sample image in step 202, illustratively including:
[0070] 1) Specifically, for each query sample image in the query data set, the similarity between each query sample image and each supporting sample image in the supporting data set is calculated respectively; then the similarity between each query sample image and each supporting sample image in the supporting data set is fused, and the fusion result is used as the feature correlation of each query sample image. At this time, step 202 can specifically include the following steps 2021A to 2024A, wherein:
[0071] 2021A. Based on the object boundary annotation of each supporting sample image in the supporting data set, the object area features of each supporting sample image are obtained.
[0072] The object region feature is the region feature obtained by extracting features from the object bounding box region in the supporting sample image. For example, taking the handheld object annotation processing scenario as an example, feature extraction can be performed on the bounding box region of the handheld object manually annotated in the supporting sample image to obtain the object region feature of each supporting sample image.
[0073] For example, if the support data set includes 10 support sample images (support sample images A1, A2, A3, ..., A10), then based on the object boundary annotation of the support sample image A1, the image features in the object boundary box area of the support sample image A1 can be extracted to obtain the object region features of the support sample image A1. Similarly, the object region features of the support sample images A1, A2, A3, ..., A10 can be extracted.
[0074] 2022A. Perform feature extraction based on the query sample image to obtain image features of the query sample image.
[0075] In some embodiments, feature extraction may be performed on the complete query sample image to obtain image features of the query sample image. For example, if the query data set includes 1000 query sample images (query sample images B1, B2, B3, ... B1000), feature extraction may be performed on the entire query sample image B1 to obtain image features of the query sample image B1. Similarly, image features of the query sample images B1, B2, B3, ..., B1000 may be extracted.
[0076] In other embodiments, feature extraction may be performed on only a local area of the query sample image to obtain image features of the query sample image. For example, in a handheld object annotation processing scenario, feature extraction may be performed on the hand area in the query sample image to obtain image features of the query sample image. In this case, the object in the image (such as the support sample image, the query sample image) is a handheld object, and step 2022 may specifically include: performing hand area detection on the query sample image to obtain a hand area map of the query sample image; performing feature extraction on the hand area map to obtain image features of the query sample image. For example, Figure 3 As shown, taking the model whose target model is "to detect objects held by users during the use of XR products" as an example, the hand detection model in the business product algorithm can be used to perform hand area detection on the query sample image to obtain a hand area map of the query sample image.
[0077] The hand region map refers to a map of the hand region in the query sample image obtained by performing hand region detection on the query sample image. Furthermore, since the hand-held object may exceed the hand region, in order to improve the accuracy of marking the center point of the hand-held object, the hand region map can be expanded after the hand region is detected so that the hand region map can cover the entire hand-held object.
[0078] 2023A. Match the object region features of each supporting sample image with the image features of the query sample image to obtain the correlation between each supporting sample image and the query sample image.
[0079] For example, if the support data set includes 10 support sample images (support sample images A1, A2, A3, ..., A10), and the query data set includes 1000 query sample images (query sample images B1, B2, B3, ..., B1000), the object region features of the support sample images A1, A2, A3, ..., A10 will be feature matched with the image features of the query sample image B1 to obtain the correlation between the support sample images A1, A2, A3, ..., A10 and the query sample image B1. Similarly, the correlation between the support sample images A1, A2, A3, ..., A10 and the query sample image B2, the correlation between the support sample images A1, A2, A3, ..., A10 and the query sample image B3, ... the correlation between the support sample images A1, A2, A3, ..., A10 and the query sample image B1000 can be obtained.
[0080] 2024A. Fusing the correlations between each supporting sample image and the query sample image to obtain the feature correlation of the query sample image.
[0081] For ease of understanding, the above example of step 2023A is continued. For example, the result obtained by fusing the correlations between the supporting sample images A1, A2, A3, ..., A10 and the query sample image B1 (for example, the average can be calculated) can be used as the feature correlation of the query sample image B1. Similarly, the result obtained by fusing the correlations between the supporting sample images A1, A2, A3, ..., A10 and the query sample image B2 (for example, the average can be calculated) can be used as the feature correlation of the query sample image B2; ...; the result obtained by fusing the correlations between the supporting sample images A1, A2, A3, ..., A10 and the query sample image B1000 (for example, the average can be calculated) can be used as the feature correlation of the query sample image B1000.
[0082] Taking the case where the supporting data set includes two supporting sample images (such as a first supporting sample image and a second supporting sample image) as an example, step 202 may specifically include:
[0083] (1.1) Obtaining object region features of the first supporting sample image based on object boundary annotation of the first supporting sample image; and obtaining object region features of the second supporting sample image based on object boundary annotation of the second supporting sample image.
[0084] (1.2) Feature extraction is performed based on the query sample image to obtain image features of the query sample image.
[0085] (1.3) Matching the object region features of the first supporting sample image with the image features to obtain a first correlation between the first supporting sample image and the query sample image.
[0086] (1.4) Matching the object region features and image features of the second supporting sample image to obtain a second correlation between the second supporting sample image and the query sample image.
[0087] (1.5) The first correlation and the second correlation are merged to obtain the feature correlation of the query sample image.
[0088] The first supporting sample image is one of the supporting sample images in the supporting data set, and the second supporting sample image is one of the supporting sample images in the supporting data set.
[0089] The first correlation refers to the correlation between the first supporting sample image and the query sample image, and the second correlation refers to the correlation between the second supporting sample image and the query sample image.
[0090] For example, first, the object region features of the first supporting sample image can be obtained based on the object boundary annotation of the first supporting sample image; the object region features of the second supporting sample image can be obtained based on the object boundary annotation of the second supporting sample image; and feature extraction is performed based on the query sample image to obtain the image features of the query sample image. Then, the cosine similarity, Euclidean distance, or Hamming distance between the object region features of the first supporting sample image and the image features of the query sample image can be calculated as the first correlation between the first supporting sample image and the query sample image. Similarly, the cosine similarity, Euclidean distance, or Hamming distance between the object region features of the second supporting sample image and the image features of the query sample image can be calculated as the second correlation between the second supporting sample image and the query sample image. Finally, the result of averaging the first correlation and the second correlation is used as the feature correlation of the query sample image.
[0091] By analogy, if the support data set includes three support sample images (such as the first support sample image, the second support sample image, and the third support sample image), the first correlation between the first support sample image and the query sample image, the second correlation between the second support sample image and the query sample image, and the third correlation between the third support sample image and the query sample image can be obtained, and the result of averaging the first correlation, the second correlation, and the third correlation is used as the feature correlation of the query sample image. At this time, step 202 may specifically include:
[0092] (2.1) Obtain object region features of the first supporting sample image based on object boundary annotation of the first supporting sample image; obtain object region features of the second supporting sample image based on object boundary annotation of the second supporting sample image; obtain object region features of the third supporting sample image based on object boundary annotation of the third supporting sample image.
[0093] (2.2) Feature extraction is performed based on the query sample image to obtain image features of the query sample image.
[0094] (2.3) Matching the object region features of the first supporting sample image with the image features to obtain a first correlation between the first supporting sample image and the query sample image.
[0095] (2.4) Matching the object region features and image features of the second supporting sample image to obtain a second correlation between the second supporting sample image and the query sample image.
[0096] (2.5) Matching the object region features and the image features of the third supporting sample image to obtain a third correlation between the third supporting sample image and the query sample image.
[0097] (2.6) The first correlation, the second correlation and the third correlation are integrated to obtain the feature correlation of the query sample image.
[0098] 2) Specifically, for each query sample image in the query data set, the similarity between each query sample image and each supporting sample image in the supporting data set is calculated respectively; then, from the similarities between each query sample image and each supporting sample image in the supporting data set, the maximum similarity is obtained as the feature correlation of each query sample image. At this time, step 202 may specifically include the following steps 2021B to 2024B, wherein:
[0099] 2021B. Based on the object boundary annotation of each supporting sample image in the supporting data set, the object area features of each supporting sample image are obtained.
[0100] 2022B. Perform feature extraction based on the query sample image to obtain image features of the query sample image.
[0101] 2023B. Match the object region features of each supporting sample image with the image features of the query sample image to obtain the correlation between each supporting sample image and the query sample image.
[0102] 2024B. Obtain the maximum value of the correlation between each supporting sample image and the query sample image as the feature correlation of the query sample image.
[0103] 203. Predictions are made based on feature correlation to obtain predicted annotations of the center points of objects in the query sample image.
[0104] The center point prediction annotation refers to the annotation coordinates of the center point of the object in the query sample image, which are predicted based on the feature correlation of the query sample image.
[0105] Among them, steps 202 to 203 can be specifically implemented by the class-agnostic small sample target position probability predictor provided in this embodiment, such as Figure 4 As shown, the small sample target location probability predictor includes a first feature extraction layer, a second feature extraction layer, a feature matching layer and a probability regression layer, wherein:
[0106] The first feature extraction layer is used to extract features of the object region of the supporting sample image according to the object boundary annotation of the supporting sample image, so as to obtain the object region features of the supporting sample image.
[0107] The second feature extraction layer is used to extract features from the query sample image to obtain image features of the query sample image.
[0108] The feature matching layer is used to match the object area features of the supporting sample image with the image features of the query sample image to obtain the feature correlation of the query sample image.
[0109] The probability regression layer is used to make predictions based on the feature correlation of the query sample image to obtain the probability that each coordinate in the query sample image is the object position, that is, to obtain the first object position distribution map of the query sample image; and based on the first object position distribution map of the query sample image, the coordinates of the center point of the object in the query sample image are extracted as the predicted annotation of the center point of the object in the query sample image.
[0110] Among them, the class-agnostic small sample target position probability predictor can be trained based on the idea of matching learning. Through the similarity calculation in the feature space, it can make it have a higher response to the areas with higher similarity between the query features (i.e., the image features of the query sample image) and the supporting features (i.e., the object area features of the supporting sample image). In this way, the model can make higher response predictions on the query sample image for the areas with higher similarity with the supporting sample image (such as the handheld object sample image).
[0111] Therefore, the supporting sample image, the object boundary annotation of the query sample image, and the query sample image and other information can be input into the small sample target position probability predictor provided in this embodiment, and the object area features of the supporting sample image are obtained based on the object boundary annotation of the supporting sample image through the first feature extraction layer in the small sample target position probability predictor; the image features of the query sample image are obtained by performing feature extraction based on the query sample image through the second feature extraction layer in the small sample target position probability predictor; the object area features of the supporting sample image are matched with the image features of the query sample image through the feature matching layer in the small sample target position probability predictor to obtain the feature correlation of the query sample image; and the first object position distribution map of the query sample image is obtained by performing prediction based on the feature correlation of the query sample image through the probability regression layer in the small sample target position probability predictor; the coordinates of the center point of the object in the query sample image are extracted based on the first object position distribution map of the query sample image to obtain the predicted annotation of the center point of the object in the query sample image.
[0112] In step 203, there are multiple ways to obtain the predicted annotation of the center point of the object in the query sample image, illustratively including:
[0113] (1) The prior condition is that there is at most one object in the query sample image. In this case, step 203 may specifically include the following steps 2031A to 2032A, wherein:
[0114] 2031A. Predict the object position based on the feature correlation to obtain a first object position distribution map of the query sample image.
[0115] 2032A. Based on the first object position distribution map, obtain the coordinate value with the maximum object position distribution probability as the predicted label of the center point of the object in the query sample image.
[0116] For example, assuming that the first object position distribution map includes 81 pixels (x1, y1), (x1, y2), …, (x1, y9), (x2, y1), (x2, y2), …, (x2, y9), …, (x9, y1), (x9, y2), …, (x9, y9), and the probability that the coordinates of each pixel are the object position, if the probability that the coordinates of the pixel point (x9, y1) are the object position is the largest, then the coordinates of the pixel point (x9, y1) can be used as the predicted annotation of the center point of the object in the query annotation sample image.
[0117] (2) There may be one or more objects in the query sample image. In this case, step 203 may specifically include the following steps 2031B to 2033B, wherein:
[0118] 2031B. Predict the object position based on the feature correlation to obtain a first object position distribution map of the query sample image.
[0119] The first object position distribution map is a probability map of object position distribution predicted according to the feature correlation of the query sample image, and is used to reflect the probability that each coordinate in the query sample image is the object position.
[0120] Specifically, the probability regression layer in the small sample target position probability predictor can be used to make a prediction based on the feature correlation of the query sample image to obtain the first object position distribution map of the query sample image.
[0121] 2032B. Perform sliding processing on the first object position distribution map to obtain the local maximum response value of each first sliding window of the first object position distribution map.
[0122] The first sliding windows are sliding windows obtained by sliding on the first object position distribution map.
[0123] The local maximum response value of the first sliding window refers to the maximum value of the probability of the object position distribution in the first sliding window. For example, the first sliding window includes 9 pixels (x1, y1), (x1, y2), (x1, y3), (x2, y1), (x2, y2), (x2, y3), (x3, y1), (x3, y2), (x3, y3), and the probability of the object position at the coordinates of the 9 pixels is p11, p12, p13, p21, p22, p23, p31, p32, and p33 respectively. Assuming that P11 is the maximum value, the local maximum response value of the first sliding window is p11.
[0124] For example, Figure 5 As shown, Figure 5Schematic diagram of extracting the local maximum response value of the sliding window provided in the embodiment of the present application. Assume that the first object position distribution diagram of the two-dimensional size (w, h) is as follows Figure 5 As shown in (a), the two-dimensional size is (w w ,h w ) is slid on the first object position distribution map to obtain the local maximum response value of each first sliding window (such as windows 1, 2, 3, ..., 12) (such as the local maximum response values of windows 1, 2, 3, ..., 12 are: a1, a2, a3, ..., a12 respectively), such as Figure 5 As shown in (b).
[0125] 2033B. If the local maximum response value of the first sliding window is greater than the first preset threshold, the first coordinate value corresponding to the local maximum response value of the first sliding window is used as the center point prediction label.
[0126] The first coordinate value refers to the coordinate value at the local maximum response value of the first sliding window.
[0127] For ease of understanding, the example of step 2032B above is continued. For example, the local maximum response value a1 of window 1, if the local maximum response value a1 of window 1 is greater than the first preset threshold value T1, then the coordinate value corresponding to the local maximum response value a1 of window 1 is used as the predicted annotation of the center point of the query sample image. If the local maximum response value a1 of window 1 is less than or equal to the first preset threshold value T1, the local maximum response value a1 of window 1 is filtered to avoid interference information. Similarly, similar judgments can be made for windows 1, 2, 3, ..., 12 in turn to obtain the first coordinate value corresponding to (local maximum response value t> first preset threshold value T1) as the predicted annotation of the center point of the query sample image. Thus, one or more predicted annotations of the center point of the query sample image can be obtained, thereby realizing automatic annotation of the center point of the object in the query sample image.
[0128] It can be seen that by setting the first preset threshold T1 for the local maximum response value of the first sliding window, when the local maximum response value of the first sliding window t> the first preset threshold T1, the first coordinate value corresponding to the local maximum response value of the first sliding window is used as the predicted annotation of the center point of the object in the query sample image, which can filter out some interference information, thereby improving the quality of the predicted annotation of the center point of the object in the query sample image, and further improving the quality of automatic annotation of the training data set.
[0129] Furthermore, if the local maximum response values of the first sliding window are all less than or equal to the first preset threshold, the query sample image is used as the sample image to be labeled; the sample image to be labeled is predicted by the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled. Specifically, if the local maximum response values of the first sliding window are all less than or equal to the first preset threshold, it proves that the query sample image cannot be predicted to have a center point prediction label by the small sample target position probability predictor, that is, the query sample image cannot be labeled with the object center point position by the small sample target position probability.
[0130] The sample image to be labeled refers to an image that needs to be predicted through trained center point detection to obtain the labeled coordinates of the center point of the object in the image. In this embodiment, the sample image to be labeled can be a query sample image that cannot be labeled with an object through a small sample target position probability, or any other image that needs to be labeled with an object.
[0131] Exemplarily, there are multiple implementations of “predicting the sample image to be labeled by using the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled”, which include, for example:
[0132] 1) The prior condition is that there is at most one object in the query sample image. In this case, the step of "predicting the sample image to be labeled by using the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled" may specifically include the following steps A1 to A2, wherein:
[0133] A1. Predict the sample image to be labeled using the trained center point detector to obtain a second object position distribution map of the sample image to be labeled.
[0134] The second object position distribution map is a probability map of the object position distribution obtained by predicting the sample image to be labeled through the trained center point detector, and is used to reflect the probability that each coordinate in the sample image to be labeled is the object position.
[0135] The training process of the trained center point detector may refer to the step 205 below, which will not be described in detail here.
[0136] like Figure 7 As shown, taking the trained center point detector as a jump connection model as an example, first, the sample image to be labeled can be input into the trained center point detector, and the trained center point detector is used to perform feature extraction and upsampling on the sample image to be labeled, and jump connections are performed during the feature extraction and upsampling processes, and finally the output result of the trained center point detector is used as the second object position distribution map of the sample image to be labeled.
[0137] A2. Based on the second object position distribution map, obtain the coordinate value with the maximum object position distribution probability as the labeled coordinate of the center point of the object in the sample image to be labeled.
[0138] For example, assuming that the second object position distribution map includes 36 pixels (x1, y1), (x1, y2), …, (x1, y6), (x2, y1), (x2, y2), …, (x2, y6), …, (x6, y1), (x6, y2), …, (x6, y6), and the probability that the coordinates of each pixel are the object position, if the probability that the coordinates of the pixel point (x2, y1) are the object position is the largest, the coordinates of the pixel point (x2, y1) can be used as the labeled coordinates of the center point of the object in the sample image to be labeled.
[0139] By analogy, the trained center point detector can be used to annotate the center point positions of other sample images to be annotated.
[0140] 2) There may be one or more objects in the query sample image. In this case, the step of "predicting the sample image to be labeled by using the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled" may specifically include the following steps B1 to B3, wherein:
[0141] B1. Predict the sample image to be labeled using the trained center point detector to obtain a second object position distribution map of the sample image to be labeled.
[0142] The implementation of step B1 is similar to that of step A1. For details, please refer to the relevant description in the previous text, which will not be repeated here.
[0143] B2. Perform sliding processing on the second object position distribution map to determine the local maximum response value of each second sliding window of the second object position distribution map.
[0144] The second sliding windows are sliding windows obtained by sliding on the second object position distribution map.
[0145] The local maximum response value of the second sliding window refers to the maximum value of the object position distribution probability in the second sliding window.
[0146] The implementation of step B2 is similar to that of step 2032B. For details, please refer to the relevant instructions in the previous text and will not be repeated here.
[0147] B3. If the local maximum response value of the second sliding window is greater than the second preset threshold, the second coordinate value corresponding to the local maximum response value of the second sliding window is used as the labeled coordinate of the center point of the object in the sample image to be labeled.
[0148] The second coordinate value is a coordinate value corresponding to the local maximum response value of the second sliding window.
[0149] Please refer to Figure 7 , Figure 7 In the figure, it is indicated that the connection jump model is used to predict the second object position distribution map according to the sample image to be labeled, and the window sliding is performed on the second object position distribution map to extract the local maximum response value to obtain the labeled coordinates of the center point of the object in the sample image to be labeled.
[0150] For example, there will be 4 second sliding windows (such as window 1, window 2, window 3, and window 4) when sliding processing is performed on the second object position distribution map. The local maximum response values of windows 1, 2, 3, and 4 are respectively: a1, a2, a3, and a4. If the local maximum response value a1 of window 1 is greater than the first preset threshold value T1, and the local maximum response value a4 of window 4 is greater than the first preset threshold value T1, then the coordinate value corresponding to the local maximum response value a1 of window 1 and the coordinate value corresponding to the local maximum response value a4 of window 4 are used as the predicted annotation of the center point of the sample image to be labeled, that is, there are 2 objects in the sample image to be labeled. In this way, one or more predicted annotations of the center point of the sample image to be labeled can be obtained, and the center point of the object in the sample image to be labeled can be automatically labeled.
[0151] It can be seen that by setting the second preset threshold T2 for the local maximum response value of the second sliding window, when the local maximum response value t of the second sliding window>the second preset threshold T2, the second coordinate value corresponding to the local maximum response value of the second sliding window is used as the predicted annotation of the center point of the object in the sample image to be labeled, which can filter out some interference information, thereby improving the quality of the predicted annotation of the center point of the object in the sample image to be labeled, and then improving the quality of automatic annotation of the training data set.
[0152] 204. Based on the center point prediction annotation, obtain a first annotation probability map of the center point distribution of the object in the query sample image.
[0153] The first annotation probability map is a probability map of the object center point position distribution obtained by preprocessing based on the predicted annotation of the center point of the query sample image, which is used to reflect the probability that each coordinate in the query sample image is the object center point position.
[0154] Exemplarily, step 204 of obtaining a first annotation probability map of the distribution of center points of objects in the query sample image based on the center point prediction annotation may specifically include: performing feature mapping on the query sample image based on the center point prediction annotation to obtain a binary image of the query sample image; performing Gaussian convolution calculation on the binary image to obtain a first annotation probability map of the distribution of center points of objects in the query sample image.
[0155] For example, suppose the predicted center point of the object in the query sample image obtained in step 203 is marked as (c x ,x y ), first, refer to the following formula 1, and map the predicted annotation of the center point of the object in the query sample image in two-dimensional space to obtain a binary image of size w×h; wherein w×h is the size of the query sample image. Then, a Gaussian kernel is used to perform convolution calculation with the binary image of the query sample image to obtain a first annotation probability map of the center point distribution of the object in the query sample image. The binary image of the query sample image is obtained by feature mapping the query sample image; and the binary image is then subjected to Gaussian convolution calculation, so that the binary object center point position coordinates can be converted into a probability map of the object center point position distribution, which is conducive to the learning of the object center point position distribution by the preset center point detector.
[0156]
[0157] In Formula 1, f(x,y) represents the grayscale value of the pixel at the (x,y) coordinate in the binary image of size w×h.
[0158] 205. Based on the first labeled probability map and the query sample image, train a preset center point detector to obtain a trained center point detector.
[0159] Among them, the trained center point detector is used to annotate the center point of the object in the sample image to be annotated.
[0160] There is no specific limitation on the design of the preset center point detector. For example, the preset center point detector may be a skip connection model (such as a ResNet network).
[0161] Exemplarily, there are multiple ways to train the preset center point detector in step 205 to obtain the trained center point detector, which include, for example:
[0162] 1) Using the query sample image for training, step 205 may specifically include the following steps 2051A to 2053A:
[0163] 2051A. Predict the query sample image by using a preset center point detector to obtain a first predicted probability map of the distribution of the center points of objects in the query sample image.
[0164] The first prediction probability map is a probability map of the object center point position distribution obtained by predicting the query sample image, which is used to reflect the probability that each coordinate in the query sample image is the object center point position.
[0165] Exemplarily, the query sample image can be input into a preset center point detector, which performs feature extraction, upsampling and other processing on the query sample image, and finally outputs a first predicted probability map of the distribution of center points of objects in the query sample image.
[0166] Furthermore, if Figure 6 As shown, in order to prevent the problems of gradient explosion and gradient disappearance during the training process, jump connections can also be performed during the process of feature extraction and upsampling. At this time, in step 2051A, the query sample image can be specifically extracted through a preset center point detector to obtain preliminary features of the query sample image; the preliminary features of the query sample image are transformed through the preset center point detector to obtain transformed features of the query sample image; and jump connection processing is performed based on the preliminary features and the transformed features to obtain a first prediction probability map of the query sample image.
[0167] Among them, the preliminary features are features obtained by extracting features from the query sample image through a preset center point detector.
[0168] Among them, the transformed features are features obtained by performing transformation processing (such as convolution and upsampling through multiple convolutional layers) on the basis of the preliminary features.
[0169] For example, the preset center point detector may include a multi-layer convolution structure, which obtains the first layer features after performing convolution and upsampling on the query sample image at the first layer through the preset center point detector, and uses the first layer features as the preliminary features of the query sample image; obtains the second layer features of the query sample image after performing convolution and upsampling on the preliminary features at the second layer; ...; obtains the nth layer features of the query sample image after performing convolution and upsampling on the preliminary features at the nth layer, and the nth layer features can be used as transformed features, and the preliminary features and the transformed features are jump-connected, and finally the first prediction probability map of the query sample image is output.
[0170] 2052A. Based on the first predicted probability map and the first labeled probability map, obtain a first loss value of a preset center point detector.
[0171] The first loss value is a loss value between a first labeled probability map of the object center point distribution in the query sample image and a first predicted probability map of the object center point distribution in the query sample image. Specifically, the L2 distance (and Euclidean distance) between the first labeled probability map and the first predicted probability map can be calculated as the first loss value.
[0172] For example, the first labeled probability map of the object center point distribution in the query sample image obtained in step 204 can be used as the true value of the training loss calculation of the preset center point detector, so that the trained center point detector can learn to predict the probability distribution of the object center point position. At this time, step 2052A can calculate the first loss value between the first labeled probability map of the object center point distribution in the query sample image and the first predicted probability map of the object center point distribution in the query sample image as the training loss value of the preset center point detector.
[0173] 2053A. Train the preset center point detector based on the first loss value to obtain a trained center point detector.
[0174] Specifically, Figure 6 As shown, back propagation can be performed according to the training loss value of the preset center point detector to update the model parameters of the preset center point detector until the preset stop training condition is met to obtain a trained center point detector.
[0175] Among them, the preset stop training condition can be set according to the actual scene requirements, for example, the number of training iterations of the preset center point detector reaches the maximum value, the training loss value of two consecutive trainings basically does not change, etc.
[0176] 2) Training is performed using the query sample image and the support sample image. At this time, step 205 may specifically include the following steps 2051B to 2056B:
[0177] 2051B. Predict the query sample image by using a preset center point detector to obtain a first predicted probability map of the distribution of the center points of objects in the query sample image.
[0178] 2052B. Based on the first predicted probability map and the first labeled probability map, obtain a first loss value of a preset center point detector.
[0179] The implementation of steps 2051B to 2052B is similar to the implementation of steps 2051A to 2052A. For details, please refer to the relevant descriptions in the previous text, which will not be repeated here.
[0180] 2053B. Based on the object boundary annotation of the supporting sample image, obtain a second annotation probability map of the distribution of the object center points in the supporting sample image.
[0181] Among them, the second annotation probability map determines the object center point in the supporting sample image according to the object boundary annotation of the supporting sample image, and preprocesses the object center point in the supporting sample image to obtain a probability map of the object center point position distribution, which is used to reflect the probability that each coordinate in the supporting sample image is the object center point position.
[0182] For example, first, the center point of the object in the supporting sample image can be calculated according to the object boundary annotation of the supporting sample image, such as (c x ,x y ). Then, referring to the above formula 1, a binary image of size w×h is obtained by mapping the center point of the object in the supporting sample image in a two-dimensional space; wherein w×h is the size of the supporting sample image. Then, a convolution calculation is performed using a Gaussian kernel and the binary image of the supporting sample image to obtain a second labeled probability map of the distribution of the center point of the object in the supporting sample image.
[0183] 2054B. Predict the supporting sample image by using a preset center point detector to obtain a second predicted probability map of the distribution of the center points of objects in the supporting sample image.
[0184] The second prediction probability map is a probability map of the object center point position distribution obtained by predicting the supporting sample image, which is used to reflect the probability that each coordinate in the supporting sample image is the object center point position.
[0185] 2055B. Based on the second predicted probability map and the second labeled probability map, obtain a second loss value of the preset center point detector.
[0186] The second loss value is a loss value between the first labeled probability map of the object center point distribution in the query sample image and the first predicted probability map of the object center point distribution in the query sample image. Specifically, the L2 distance (and Euclidean distance) between the first labeled probability map and the first predicted probability map can be calculated as the first loss value.
[0187] The implementation of step 2055B is similar to that of step 2053A. For details, please refer to the relevant instructions in the previous text and will not be repeated here.
[0188] 2056B. Based on the first loss value and the second loss value, train the preset center point detector to obtain a trained center point detector.
[0189] For example, Figure 6 As shown, the first loss value can be used as the preset center point detector's one-time training loss value for back propagation to update the parameters of the preset center point detector; similarly, the second loss value can be used as the preset center point detector's one-time training loss value for back propagation to update the parameters of the preset center point detector until a trained center point detector is obtained when the preset stop training condition is met.
[0190] From the above content, it can be seen that by annotating the object boundaries of the supporting sample image, the object region features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image, which is used to predict the center point prediction annotation of the object in the query sample image; thus, the center point prediction annotation of the object in the query sample image can be used to train the preset center point detector to obtain a trained center point detector; on the one hand, since the object region features of the supporting sample image are matched with the image features of the query sample image, the center point prediction annotation of the object in the query sample image can be predicted, so that a small part of manually annotated supporting sample images can be used to predict and annotate the center point position of a part of the query sample image, that is, to automatically annotate a certain amount of manually annotated data that the automatic annotation algorithm needs to rely on, so only a small part of manually annotated data (that is, a small number of supporting sample images) is needed to generate a certain scale of image annotation data, thereby realizing the expansion of the image annotation data that the automatic annotation algorithm needs to rely on; therefore, when the scene changes, there is no need to repeatedly manually annotate images with a large amount of data. On the other hand, since the image annotation data can be expanded by feature matching (i.e., the annotation of a certain number of query sample images can be realized), the accuracy of the center point position annotation of the object by the trained center point detector can be improved by using the query sample images to train the preset center point detector. Therefore, this embodiment can realize automatic image annotation on the basis of reducing the amount of manual annotation data and improve the efficiency of image annotation.
[0191] For ease of understanding, combined Figure 3 , Figure 6 and Figure 8 Taking the scenario of "detecting objects held by users during the use of XR products" as an example, the sample image is the sample image of the handheld object, and the target model is Figure 3 The handheld object center point detection model shown in the business product algorithm part illustrates the image annotation processing process in the embodiment of the present application, such as Figure 8 As shown in the figure, the image annotation process is as follows:
[0192] 801. Obtain a supporting dataset and a query dataset.
[0193] The support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images.
[0194] For example, m images of objects held by users during the use of XR products can be collected, and n images can be randomly selected as a support data set (that is, the support data set includes n support sample images), and the objects in the support sample images are manually labeled to obtain the object boundary annotations of the support sample images; the remaining (mn) images are used as a query data set (the query data set includes (mn) query sample images).
[0195] 802. Based on the object boundary annotation, the object region features of the support sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image.
[0196] 803. Predictions are made based on feature correlation to obtain predicted annotations of the center points of objects in the query sample image.
[0197] 804. Based on the center point prediction annotation, obtain a first annotation probability map of the center point distribution of the object in the query sample image.
[0198] For example, Figure 6 As shown, taking the skip connection model as an example, the center point detector can be mapped in two-dimensional space according to the predicted annotation of the center point of the object in the query sample image to obtain a binary image of size w×h; where w×h is the size of the query sample image. Then, the Gaussian kernel is used to perform convolution calculation with the binary image of the query sample image to obtain the first annotation probability map of the center point distribution of the object in the query sample image.
[0199] 805. Based on the object boundary annotation of the supporting sample image, obtain a second annotation probability map of the distribution of the object center points in the supporting sample image.
[0200] For example, Figure 6 As shown, first, the center point of the object in the supporting sample image can be calculated according to the object boundary annotation of the supporting sample image, such as (c x ,x y ). Then, referring to the above formula 1, a binary image of size w×h is obtained by mapping the center point of the object in the supporting sample image in a two-dimensional space; wherein w×h is the size of the supporting sample image. Then, a convolution calculation is performed using a Gaussian kernel and the binary image of the supporting sample image to obtain a second labeled probability map of the distribution of the center point of the object in the supporting sample image.
[0201] 806. Based on the first labeling probability map, the second labeling probability map, the query sample image, and the support sample image, train a preset center point detector to obtain a trained center point detector.
[0202] Specifically, the query sample images in the query data set that can obtain the center point prediction annotations and all the supporting sample images in the supporting data set can be used as the first batch of annotation data to train the preset center point detector to obtain the trained center point detector.
[0203] 807. Using the trained center point detector, mark the center point of the object in the sample image to be marked.
[0204] Specifically, the query sample images whose center points cannot be predicted and labeled in the query data set, as well as other images (such as re-captured images of users holding objects during the use of XR products) can be used as sample images to be labeled; the trained center point detector is used to perform predictions to achieve labeling of the center point positions of the objects, and the second batch of labeled data is obtained.
[0205] Finally, the second batch of labeled data predicted and labeled by the trained center point detector in 807 and the first batch of labeled data can be used as one of the labels for calculating the training loss of the handheld object center point detection model in the business product algorithm, and used to train the handheld object center point detection model, for example, it can be single-task or multi-task joint training. In this way, the handheld object center point detection model can accurately perceive and identify the objects held by the user in the process of using the XR product, and can improve the XR product's ability to perceive and analyze the user's actions, thereby providing support for further improving the interactive experience of the XR product. For example, handheld water cups, handheld phones, etc. can be identified, so that the XR product can support the user to drink water from the handheld water cup without taking off the helmet, find the mobile phone and answer the phone, which significantly improves the convenience of the user to use the XR product. For another example, if the XR product can perceive some racket equipment (such as table tennis rackets, etc.) held by the user, various more complex functions based on handheld object interaction can be developed, such as the user can hold rackets and other objects in the real world scene while wearing an XR helmet, and perform corresponding motion interactions in virtual reality applications.
[0206] This embodiment can also be applied to various game scenarios. For example, for games that need to identify the body movements of game players to complete corresponding game operations, images of game players during the game process can be collected as supporting data sets and query data sets; and the image annotation processing method of this embodiment can be used to implement image annotation of the training data set based on the supporting data set and the query data set; and the annotated training data set can be used to train a recognition model for the body movements of game players, thereby realizing the recognition of the body movements of game players to complete the corresponding game operations.
[0207] In order to better implement the image annotation processing method in the embodiment of the present application, based on the image annotation processing method, an image annotation processing device is also provided in the embodiment of the present application. The image annotation processing device can be integrated in a computer device, such as a server or a terminal.
[0208] For example, Fig. 9 As shown, Fig. 9 901 is a schematic diagram of the structure of an embodiment of an image annotation processing device in an embodiment of the present application. The image annotation processing device may include an acquisition unit 901, a matching unit 902, a prediction unit 903, a processing unit 904, etc., as follows:
[0209] An acquisition unit 901 is used to acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images;
[0210] A matching unit 902 is used to match the object region features of the support sample image with the image features of the query sample image based on the object boundary annotation to obtain the feature correlation of the query sample image;
[0211] A prediction unit 903 is used to make a prediction based on the feature correlation to obtain a predicted label of the center point of the object in the query sample image;
[0212] A processing unit 904 is used to obtain a first annotation probability map of the distribution of the center points of the objects in the query sample image based on the center point prediction annotation;
[0213] The processing unit 904 is further used to train a preset center point detector based on the first annotation probability map and the query sample image to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center points of objects in the sample image to be annotated.
[0214] In some embodiments, the prediction unit 903 is specifically used to:
[0215] Predicting the position of the object based on the feature correlation to obtain a first object position distribution map of the query sample image;
[0216] Performing sliding processing on the first object position distribution map to obtain a local maximum response value of each first sliding window of the first object position distribution map;
[0217] If the local maximum response value of the first sliding window is greater than the first preset threshold, the first coordinate value corresponding to the local maximum response value of the first sliding window is used as the center point prediction label.
[0218] In some embodiments, the processing unit 904 is specifically configured to:
[0219] If the local maximum response values of the first sliding window are all less than or equal to the first preset threshold, the query sample image is used as the sample image to be labeled;
[0220] The trained center point detector is used to predict the sample image to be labeled, and the labeled coordinates of the center point of the object in the sample image to be labeled are obtained.
[0221] In some embodiments, the processing unit 904 is specifically configured to:
[0222] The trained center point detector is used to predict the sample image to be labeled, so as to obtain a second object position distribution map of the sample image to be labeled;
[0223] Performing sliding processing on the second object position distribution map to determine the local maximum response value of each second sliding window of the second object position distribution map;
[0224] If the local maximum response value of the second sliding window is greater than the second preset threshold, the second coordinate value corresponding to the local maximum response value of the second sliding window is used as the labeled coordinate of the center point of the object in the sample image to be labeled.
[0225] In some embodiments, the processing unit 904 is specifically configured to:
[0226] The trained center point detector is used to predict the sample image to be labeled, so as to obtain a second object position distribution map of the sample image to be labeled;
[0227] Based on the second object position distribution map, the coordinate value with the maximum object position distribution probability is obtained as the labeled coordinate of the center point of the object in the sample image to be labeled.
[0228] In some embodiments, the supporting data set includes a first supporting sample image and a second supporting sample image, and the matching unit 902 is specifically configured to:
[0229] Acquire the object region feature of the first supporting sample image based on the object boundary annotation of the first supporting sample image; acquire the object region feature of the second supporting sample image based on the object boundary annotation of the second supporting sample image;
[0230] Perform feature extraction based on the query sample image to obtain image features of the query sample image;
[0231] Matching the object region feature and the image feature of the first supporting sample image to obtain a first correlation between the first supporting sample image and the query sample image;
[0232] Matching the object region feature and the image feature of the second supporting sample image to obtain a second correlation between the second supporting sample image and the query sample image;
[0233] The first correlation and the second correlation are fused to obtain the feature correlation.
[0234] In some embodiments, the object is a handheld object, and the matching unit 902 is specifically configured to:
[0235] Perform hand region detection on the query sample image to obtain a hand region map of the query sample image;
[0236] Perform feature extraction on the hand area map to obtain the image features of the query sample image.
[0237] In some embodiments, the processing unit 904 is specifically configured to:
[0238] Predicting the query sample image by using a preset center point detector to obtain a first prediction probability map of the distribution of the center points of objects in the query sample image;
[0239] Based on the first prediction probability map and the first annotation probability map, obtaining a first loss value of a preset center point detector;
[0240] The preset center point detector is trained based on the first loss value to obtain a trained center point detector.
[0241] In some embodiments, the processing unit 904 is specifically configured to:
[0242] By using a preset center point detector, feature extraction is performed on the query sample image to obtain preliminary features of the query sample image;
[0243] By using a preset center point detector, the preliminary features of the query sample image are transformed to obtain the transformed features of the query sample image;
[0244] A skip connection process is performed based on the preliminary features and the transformed features to obtain a first prediction probability map of the query sample image.
[0245] In some embodiments, the processing unit 904 is specifically configured to:
[0246] Based on the object boundary annotation of the supporting sample image, a second annotation probability map of the distribution of the object center points in the supporting sample image is obtained;
[0247] The supporting sample image is predicted by a preset center point detector to obtain a second prediction probability map of the distribution of the center points of the objects in the supporting sample image;
[0248] Based on the second prediction probability map and the second annotation probability map, obtaining a second loss value of the preset center point detector;
[0249] Based on the first loss value and the second loss value, the preset center point detector is trained to obtain a trained center point detector.
[0250] In some embodiments, the processing unit 904 is specifically configured to:
[0251] Based on the center point prediction annotation, feature mapping is performed on the query sample image to obtain a binary image of the query sample image;
[0252] The binary image is subjected to Gaussian convolution calculation to obtain a first labeled probability map of the distribution of the center points of the objects in the query sample image.
[0253] Therefore, the image annotation processing device provided by the embodiment of the present application can bring the following technical effects: through the object boundary annotation of the supporting sample image, the object area features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image, which is used to predict the center point prediction annotation of the object in the query sample image; thus, the preset center point detector can be trained using the center point prediction annotation of the object in the query sample image to obtain a trained center point detector; on the one hand, since the object area features of the supporting sample image are matched with the image features of the query sample image, the center point prediction annotation of the object in the query sample image can be predicted, so that a small part of manually annotated supporting sample images can be used to predict and annotate the center point position of a part of the query sample image, that is, to automatically annotate a certain amount of manually annotated data that the automatic annotation algorithm needs to rely on, so only a small part of manually annotated data (that is, a small number of supporting sample images) is needed to generate a certain scale of image annotation data, thereby realizing the expansion of the image annotation data that the automatic annotation algorithm needs to rely on; therefore, when the scene changes, there is no need to repeatedly manually annotate images with a large amount of data. On the other hand, since the image annotation data can be expanded by feature matching (i.e., the annotation of a certain number of query sample images can be realized), the accuracy of the center point position annotation of the object by the trained center point detector can be improved by using the query sample images to train the preset center point detector. Therefore, this embodiment can realize automatic image annotation on the basis of reducing the amount of manual annotation data and improve the efficiency of image annotation.
[0254] In addition, in order to better implement the image annotation processing method in the embodiment of the present application, based on the image annotation processing method, the embodiment of the present application also provides a computer device, such as Fig.10 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:
[0255] The computer device may include components such as a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, a power supply 1003, and an input unit 1004. Those skilled in the art will appreciate that Fig.10The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0256] The processor 1001 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 1002 and calling data stored in the memory 1002, it executes various functions of the computer device and processes data, thereby performing overall detection of the computer device. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1001.
[0257] The memory 1002 can be used to store software programs and modules. The processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.
[0258] The computer device also includes a power supply 1003 for supplying power to various components. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 1003 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0259] The computer device may further include an input unit 1004, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0260] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically, in this embodiment, the processor 1001 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 will run the application programs stored in the memory 1002, thereby realizing various functions, as follows:
[0261] Acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes a plurality of query sample images;
[0262] Based on the object boundary annotation, the object region features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image;
[0263] Based on the feature correlation, prediction is performed to obtain the predicted annotation of the center point of the object in the query sample image;
[0264] Based on the center point prediction annotation, a first annotation probability map of the center point distribution of the object in the query sample image is obtained;
[0265] Based on the first annotation probability map and the query sample image, a preset center point detector is trained to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center point of the object in the sample image to be annotated.
[0266] For details of the above operations, please refer to the previous embodiments, which will not be described in detail here.
[0267] Therefore, the computer device of this embodiment can bring the following technical effects: through the object boundary annotation of the supporting sample image, the object area features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image, which is used to predict the center point prediction annotation of the object in the query sample image; thus, the preset center point detector can be trained using the center point prediction annotation of the object in the query sample image to obtain a trained center point detector; on the one hand, since the object area features of the supporting sample image are matched with the image features of the query sample image, the center point prediction annotation of the object in the query sample image can be predicted, so that a small part of the manually annotated supporting sample images can be used to predict and annotate the center point position of a part of the query sample image, that is, to automatically annotate a certain amount of manually annotated data that the automatic annotation algorithm needs to rely on, so only a small part of the manually annotated data (that is, a small number of supporting sample images) is needed to generate a certain scale of image annotation data, and the expansion of the image annotation data that the automatic annotation algorithm needs to rely on is realized; therefore, when the scene changes, there is no need to repeatedly manually annotate images with a large amount of data. On the other hand, since the image annotation data can be expanded by feature matching (i.e., the annotation of a certain number of query sample images can be realized), the accuracy of the center point position annotation of the object by the trained center point detector can be improved by using the query sample images to train the preset center point detector. Therefore, this embodiment can realize automatic image annotation on the basis of reducing the amount of manual annotation data and improve the efficiency of image annotation.
[0268] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0269] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any object detection method provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0270] Acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes a plurality of query sample images;
[0271] Based on the object boundary annotation, the object region features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image;
[0272] Based on the feature correlation, prediction is performed to obtain the predicted annotation of the center point of the object in the query sample image;
[0273] Based on the center point prediction annotation, a first annotation probability map of the center point distribution of the object in the query sample image is obtained;
[0274] Based on the first annotation probability map and the query sample image, a preset center point detector is trained to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center point of the object in the sample image to be annotated.
[0275] It can be seen that the computer program can be loaded by the processor to execute the steps in any image annotation processing method provided in the embodiments of the present application. Therefore, the computer-readable storage medium of the embodiments of the present application can bring the following technical effects: by annotating the object boundaries of the supporting sample image, the object region features of the supporting sample image are matched with the image features of the query sample image to obtain the feature correlation of the query sample image, which is used to predict the center point prediction annotation of the object in the query sample image; thus, the center point prediction annotation of the object in the query sample image can be used to train the preset center point detector to obtain the trained center point detector; on the one hand, since the object region features of the supporting sample image are matched with the image features of the query sample image, the center point prediction annotation of the object in the query sample image can be predicted, so that the center point position of a part of the query sample image can be predicted and annotated using a small part of manually annotated supporting sample images, that is, a certain amount of manually annotated data that the automatic annotation algorithm needs to rely on is automatically annotated, so only a small part of manually annotated data (that is, a small number of supporting sample images) is needed to generate a certain scale of image annotation data, so as to expand the image annotation data that the automatic annotation algorithm needs to rely on; therefore, when the scene changes, there is no need to repeatedly manually annotate images with a large amount of data. On the other hand, since the image annotation data can be expanded by feature matching (i.e., the annotation of a certain number of query sample images can be realized), the accuracy of the center point position annotation of the object by the trained center point detector can be improved by using the query sample images to train the preset center point detector. Therefore, this embodiment can realize automatic image annotation on the basis of reducing the amount of manual annotation data and improve the efficiency of image annotation.
[0276] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0277] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0278] According to the image annotation processing method of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various optional implementations in the above embodiments.
[0279] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and beneficial effects of the above-described image annotation processing device, computer-readable storage medium, computer equipment and its corresponding units can refer to the description of the image annotation processing method in the above embodiment, and the details will not be repeated here.
[0280] The above is a detailed introduction to an image annotation processing method, device, computer equipment and computer-readable storage medium provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An image annotation processing method, characterized in that: The method comprises: Acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes multiple query sample images; Based on the object boundary annotation, matching the object region features of the support sample image with the image features of the query sample image to obtain the feature correlation of the query sample image; Performing prediction based on the feature correlation to obtain a predicted annotation of a center point of an object in the query sample image; Based on the center point prediction annotation, obtaining a first annotation probability map of the center point distribution of the object in the query sample image; Based on the first annotation probability map and the query sample image, a preset center point detector is trained to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center points of objects in the sample image to be annotated.
2. The image annotation processing method according to claim 1, characterized in that: The step of performing prediction based on the feature correlation to obtain a predicted annotation of a center point of an object in the query sample image includes: Performing object position prediction based on the feature correlation to obtain a first object position distribution map of the query sample image; Performing sliding processing on the first object position distribution map to obtain a local maximum response value of each first sliding window of the first object position distribution map; If the local maximum response value of the first sliding window is greater than a first preset threshold, the first coordinate value corresponding to the local maximum response value of the first sliding window is used as the center point prediction label.
3. The image annotation processing method according to claim 2, characterized in that: The method further comprises: If the local maximum response values of the first sliding window are all less than or equal to the first preset threshold, the query sample image is used as a sample image to be labeled; The trained center point detector is used to predict the sample image to be labeled, so as to obtain the labeled coordinates of the center point of the object in the sample image to be labeled.
4. The image annotation processing method according to claim 3, characterized in that: The step of predicting the sample image to be labeled by using the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled includes: Predicting the sample image to be labeled by using the trained center point detector to obtain a second object position distribution map of the sample image to be labeled; Performing sliding processing on the second object position distribution map to determine the local maximum response value of each second sliding window of the second object position distribution map; If the local maximum response value of the second sliding window is greater than a second preset threshold, the second coordinate value corresponding to the local maximum response value of the second sliding window is used as the labeled coordinate of the center point of the object in the sample image to be labeled.
5. The image annotation processing method according to claim 3, characterized in that: The step of predicting the sample image to be labeled by using the trained center point detector to obtain the labeled coordinates of the center point of the object in the sample image to be labeled includes: Predicting the sample image to be labeled by using the trained center point detector to obtain a second object position distribution map of the sample image to be labeled; Based on the second object position distribution map, the coordinate value with the maximum object position distribution probability is obtained as the labeled coordinate of the center point of the object in the sample image to be labeled.
6. The image annotation processing method according to claim 1, characterized in that: The supporting data set includes a first supporting sample image and a second supporting sample image, and the object region features of the supporting sample image are matched with the image features of the query sample image based on the object boundary annotation to obtain the feature correlation of the query sample image, including: Acquire the object region feature of the first supporting sample image based on the object boundary annotation of the first supporting sample image; acquire the object region feature of the second supporting sample image based on the object boundary annotation of the second supporting sample image; Perform feature extraction based on the query sample image to obtain image features of the query sample image; Matching the object region feature of the first supporting sample image with the image feature to obtain a first correlation between the first supporting sample image and the query sample image; Matching the object region feature of the second supporting sample image with the image feature to obtain a second correlation between the second supporting sample image and the query sample image; The first correlation and the second correlation are merged to obtain the feature correlation.
7. The image annotation processing method according to claim 6, characterized in that: The object is a handheld object, and the feature extraction based on the query sample image to obtain the image feature of the query sample image includes: Performing hand region detection on the query sample image to obtain a hand region map of the query sample image; Feature extraction is performed on the hand region map to obtain image features of the query sample image.
8. The image annotation processing method according to claim 1, characterized in that: The step of training a preset center point detector based on the first labeled probability map and the query sample image to obtain a trained center point detector includes: Predicting the query sample image by using a preset center point detector to obtain a first prediction probability map of the distribution of the center points of objects in the query sample image; Based on the first prediction probability map and the first annotation probability map, obtaining a first loss value of the preset center point detector; The preset center point detector is trained based on the first loss value to obtain a trained center point detector.
9. The image annotation processing method according to claim 8, characterized in that: The method of predicting the query sample image by using a preset center point detector to obtain a first prediction probability map of the distribution of the center points of objects in the query sample image includes: By using a preset center point detector, feature extraction is performed on the query sample image to obtain preliminary features of the query sample image; By using a preset center point detector, the preliminary features of the query sample image are transformed to obtain the transformed features of the query sample image; A skip connection process is performed based on the preliminary features and the transformed features to obtain a first prediction probability map of the query sample image.
10. The image annotation processing method according to claim 8, characterized in that: The step of training the preset center point detector based on the first loss value to obtain a trained center point detector includes: Based on the object boundary annotation of the supporting sample image, obtaining a second annotation probability map of the distribution of the object center points in the supporting sample image; Predicting the supporting sample image by using the preset center point detector to obtain a second prediction probability map of the distribution of the center points of objects in the supporting sample image; Based on the second predicted probability map and the second labeled probability map, obtaining a second loss value of the preset center point detector; Based on the first loss value and the second loss value, the preset center point detector is trained to obtain a trained center point detector.
11. The image annotation processing method according to any one of claims 1 to 10, characterized in that: The step of obtaining a first annotation probability map of the distribution of the center points of the objects in the query sample image based on the center point prediction annotation includes: Based on the center point prediction annotation, feature mapping is performed on the query sample image to obtain a binary image of the query sample image; Gaussian convolution calculation is performed on the binary image to obtain a first labeled probability map of the distribution of center points of objects in the query sample image.
12. An image annotation processing device, characterized in that: The image annotation processing device comprises: An acquisition unit, configured to acquire a support data set and a query data set, wherein the support data set includes at least one support sample image and an object boundary annotation of the support sample image, and the query data set includes a plurality of query sample images; A matching unit, configured to match the object region features of the support sample image with the image features of the query sample image based on the object boundary annotation, to obtain a feature correlation of the query sample image; A prediction unit, configured to make a prediction based on the feature correlation to obtain a predicted annotation of a center point of an object in the query sample image; A processing unit, configured to obtain a first annotation probability map of the distribution of the center points of the objects in the query sample image based on the center point prediction annotation; The processing unit is further used to train a preset center point detector based on the first annotation probability map and the query sample image to obtain a trained center point detector, wherein the trained center point detector is used to annotate the center points of objects in the sample image to be annotated.
13. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the image annotation processing method according to any one of claims 1 to 11 is implemented.
14. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
15. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the image annotation processing method according to any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Image annotation processing method and apparatus, and computer device, medium and program product
EP4571672A1
