Target detection pre-labeling method with high adaptive capacity

Through multi-view processing and data set combination, combined with deep convolutional neural network and three-dimensional model, the problem of insufficient expansion of training data of pre-labeling model in the target detection in the existing technology and the indetailed labeling content is solved, and the model adaptability and labeling are improved efficiency.

CN119007208AInactive Publication Date: 2024-11-22SUZHOU BAICHUAN DATA TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411075889.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing target detection pre-labeling method has limited data expansion during training, resulting in low model adaptability and insufficient labeling content, which increases the workload of manual labeling in the later stage.

Method used

By preparing the target object and background image dataset, multi-viewing processing and dataset combination are carried out, visual features are extracted using deep convolutional neural network, searching for three-dimensional models and adjusting the perspective to intercept images, randomly combining the datasets to increase data volume and diversity , and manually correct the labeling results and finally convert them into the format required by the target detection model.

Benefits of technology

It greatly increases the amount and diversity of model training data, improves the adaptability of the model and the detailedness of the annotation content, reduces the workload of manual annotation in the later stage, and improves the practical application capabilities of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007208A_ABST
    Figure CN119007208A_ABST
Patent Text Reader

Abstract

The invention discloses a high-adaptability target detection pre-labeling method, and relates to the technical field of target detection pre-labeling, and the high-adaptability target detection pre-labeling method comprises the following steps: S1, preparing a data set for training; s2, performing multi-view processing on the target object; s3, diversified combination of the data sets; s4, training a pre-labeling model; s5, performing manual auxiliary correction; and S6, performing annotation format conversion. According to the target detection pre-labeling method with the high adaptive capacity, feature extraction is performed on a target object, a three-mode model of the target object is searched, target object images at all angles are obtained on the basis of the three-mode model, all the target object images and all background images are randomly combined, and therefore the number of training image data sets is greatly increased, and the training efficiency is improved. Moreover, due to different angles of the target object images, the model training difficulty is increased, and the adaptability of the model which is maturely trained and put into actual use is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of target detection pre-labeling, and in particular to a target detection pre-labeling method with high adaptability. Background Art

[0002] Object detection pre-labeling refers to the use of some automated or semi-automated technologies to generate preliminary labeling information before the actual labeling work begins, in order to facilitate subsequent fine labeling or model training.

[0003] The models used in existing target detection pre-labeling methods are mostly YOLO, SSD, Faster R-CNN, etc. These models need to be trained before they can be put into use. During training, a certain amount of image data sets need to be prepared, and the model is trained using the image data sets to enhance the prediction accuracy. Most image data sets will be expanded through steps such as scaling and rotation, but the amount that can be increased by this expansion method is limited, and the image containing the target object is still in a fixed form after the above expansion steps, resulting in low difficulty in model training and ultimately low adaptability of the model put into use.

[0004] Therefore, in view of this, the existing structure and deficiencies are studied and improved, and a highly adaptable target detection pre-labeling method is proposed. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a highly adaptable target detection pre-labeling method, which solves the problems raised in the above-mentioned background technology.

[0006] To achieve the above objectives, the present invention is implemented by the following technical scheme: a highly adaptable target detection pre-labeling method, the highly adaptable target detection pre-labeling method comprising the following steps:

[0007] S1. Preparation of training data set:

[0008] Prepare two image datasets, one for target object images and one for background images, and clean them to remove low-quality and duplicate image data.

[0009] S2. Multi-view processing of target objects:

[0010] Initially annotate the image data of the target object, search for the three-dimensional model of the target object in a networked database based on the annotation information and the image features of the target object, and capture images of the target object at different angles by adjusting the viewing angle based on the three-dimensional model of the target object;

[0011] S3, diverse combination of data sets:

[0012] After the target object image data is processed through multi-viewing, the content of the target object image data set is increased while the target object remains unchanged. On this basis, each target object image data is randomly combined with the background image data, so that the image data set containing the target object for training is increased.

[0013] S4. Pre-annotated model training:

[0014] The large-scale image dataset formed in the above steps is used as training data to train the target detection pre-annotation model to generate a target box on each image and annotate each target object;

[0015] S5. Manual assisted correction:

[0016] Manually check the pre-labeling results, identify and correct incorrect labels, including missing labels, wrong labels, inaccurate target box positions, etc. After correction, re-invest in the next round of training until the target detection pre-labeling model is maturely trained and its target detection pre-labeling results meet the expected requirements.

[0017] Furthermore, in step S2, the image feature extraction of the target object is performed by using a deep convolutional neural network to extract visual features from the target object image, and the visual features include texture, shape, color, and text content.

[0018] Furthermore, in step S2, the number of target object images increases from one to many after multi-view processing, and the images of each view of the same target object are related to each other and have initial annotations at the same time.

[0019] Furthermore, in step S2, the initial annotation is annotated with the name information of the target object.

[0020] Furthermore, in step S2, after the three-dimensional model of the target object is searched, basic information of the model is also obtained based on the obtained three-dimensional model, and the basic information includes public information such as size and purpose.

[0021] Furthermore, in step S3, when the target object image data is randomly combined with the background image data, the target object image is subjected to operations such as scaling, rotation, mirroring and random position placement.

[0022] Furthermore, in step S4, when labeling the target object, the three-dimensional model associated with the target object and basic information corresponding to the model are further obtained from a networked database based on the image features of the target object, and the basic information is used as the labeling content.

[0023] Furthermore, the highly adaptable target detection pre-labeling method further includes the following steps:

[0024] S6. Annotation format conversion:

[0025] Convert the final annotation results into the format required by the target detection model, including PASCAL VOC and COCO.

[0026] Furthermore, the highly adaptable target detection pre-labeling method is applied to the technical field of target detection pre-labeling.

[0027] The present invention provides a highly adaptable target detection pre-labeling method, which has the following beneficial effects:

[0028] 1. The highly adaptable target detection pre-labeling method, the existing target objects remain fixed in shape after scaling, rotation, mirroring and random placement, resulting in low difficulty in model training and low adaptability after mature model training. The present invention extracts features from the target object and searches for its three-mode model, then obtains the target object image at each angle based on the three-mode model, and then randomly combines each target object image with each background image, thereby greatly increasing the number of training image data sets. The different angles of each target object image increase the difficulty of model training, but also improves the adaptability of the model when it is put into actual use after mature training.

[0029] 2. This highly adaptable target detection pre-labeling method searches for the corresponding three-dimensional model in the database based on the target object image during target detection pre-labeling, and then pre-labels the target object based on the basic information of the three-dimensional model as the labeling content. The labeling content is detailed and comprehensive, and the corresponding required content in the basic information can be obtained through content limitation in the later stage, thereby greatly reducing the workload of manual labeling in the later stage. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a specific implementation process structure of a highly adaptable target detection pre-labeling method of the present invention;

[0031] Figure 2 The present invention is a schematic diagram of the operation steps of a highly adaptable target detection pre-labeling method. DETAILED DESCRIPTION

[0032] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0033] like Figure 1-Figure 2 As shown, the present invention provides a technical solution: a highly adaptable target detection pre-labeling method, the highly adaptable target detection pre-labeling method comprising the following steps:

[0034] S1. Preparation of training data set:

[0035] Prepare two image datasets, one for target object images and one for background images, and clean them to remove low-quality and duplicate image data.

[0036] S2. Multi-view processing of target objects:

[0037] Initially annotate the image data of the target object, search for the three-dimensional model of the target object in a networked database based on the annotation information and the image features of the target object, and capture images of the target object at different angles by adjusting the viewing angle based on the three-dimensional model of the target object;

[0038] Among them, the image feature extraction of the target object is to extract visual features from the target object image by using a deep convolutional neural network. The visual features include texture, shape, color, and text content. The number of target object images changes from one to many after multi-view processing, and the images of each view of the same target object are related to each other and have initial annotations at the same time. The initial annotations are annotated with the name information of the target object. After searching for the three-dimensional model of the target object, the basic information of the model is also obtained based on the obtained three-dimensional model. The basic information includes public information such as size and purpose.

[0039] S3, diverse combination of data sets:

[0040] After the target object image data is processed through multi-viewing, the content of the target object image data set is increased while the target object remains unchanged. On this basis, each target object image data is randomly combined with the background image data, so that the image data set containing the target object for training is increased.

[0041] When the image data of each target object is randomly combined with the background image data, the target object image is scaled, rotated, mirrored, and randomly placed;

[0042] S4. Pre-annotated model training:

[0043] The large-scale image dataset formed in the above steps is used as training data to train the target detection pre-annotation model to generate a target box on each image and annotate each target object;

[0044] Wherein, when marking the target object, the three-dimensional model associated with the target object and basic information corresponding to the model are further obtained from a networked database based on the image features of the target object, and the basic information is marked as the marking content;

[0045] S5. Manual assisted correction:

[0046] Manually check the pre-labeling results, identify and correct incorrect labels, including missing labels, wrong labels, inaccurate target box positions, etc. After correction, re-invest in the next round of training until the target detection pre-labeling model is maturely trained and its target detection pre-labeling results meet the expected requirements.

[0047] The highly adaptable target detection pre-labeling method further includes the following steps:

[0048] S6. Annotation format conversion:

[0049] Convert the final annotation results into the format required by the target detection model, including PASCAL VOC and COCO.

[0050] The highly adaptable target detection pre-labeling method is applied to the technical field of target detection pre-labeling.

[0051] Example:

[0052] Taking the target object as an example, a car image is prepared, which only contains the target object, the car, and the car image is A. Then, several background images are prepared, namely B1, B2...BN, and unqualified images are cleaned and removed;

[0053] A is labeled with a name, such as a BMW car. The name label can also be replaced with other labels as needed, as long as the search range of the target object in the database can be limited. Based on the label and the image features of A, the three-dimensional model of the car is searched in the networked database. The image of the three-dimensional model of the car is intercepted from different angles by adjusting the viewing angle, thereby obtaining images A1, A2, ... AN containing the target object;

[0054] A1, A2, ...AN are randomly combined with B1, B2, ...BN, and A1, A2, ...AN are randomly scaled, rotated, mirrored, and randomly placed when combined, so that the combined training image data contains the target object, i.e., the car, at different viewing angles, thereby diversifying the angles of the same target object, and the combination of the two image data sets further greatly increases and diversifies the amount of training image data;

[0055] The large-scale image data set formed in the above steps is used as training data to train the target detection pre-annotation model, so as to generate a target frame on each image and annotate each target object. When annotating, the three-dimensional model associated with the target object and the basic information corresponding to the model are further obtained from the networked database based on the image features of the target object, and the basic information is used as the annotation content for annotation, that is, the public information such as the car model, brand, size, color, configuration, etc. is obtained based on the three-dimensional model of the car;

[0056] Finally, the final annotation results are converted into the format required by the target detection model, including PASCAL VOC and COCO.

[0057] Compared with the existing single target object, the large-scale image data set formed above has a fixed shape after scaling, rotation, mirroring and random placement, which leads to low difficulty in model training and low adaptability after mature model training. The present invention extracts features from the target object and searches for its three-mode model, obtains target object images at various angles based on the three-mode model, and then randomly combines each target object image with each background image, thereby greatly increasing the number of training image data sets. The different angles of each target object image increase the difficulty of model training, but also improves the adaptability of the model when it is put into practical use after mature model training.

[0058] Secondly, during target detection and pre-labeling, the present invention searches for the corresponding three-dimensional model in the database based on the target object image, and then pre-labels the target object based on the basic information of the three-dimensional model and uses it as the labeling content. The labeling content is detailed and comprehensive, and the corresponding required content in the basic information can be obtained through content limitation at a later stage, thereby greatly reducing the workload of manual labeling at a later stage.

[0059] In summary, when using this highly adaptable target detection pre-labeling method, first prepare two image datasets, namely, a target object image dataset and a background image dataset, and clean up and remove low-quality and repeated image data;

[0060] Initially annotate the image data of the target object, search for the three-dimensional model of the target object in a networked database based on the annotation information and the image features of the target object, and capture images of the target object at different angles by adjusting the viewing angle based on the three-dimensional model of the target object;

[0061] After the target object image data is processed through multi-viewing, the content of the target object image data set is increased while the target object remains unchanged. On this basis, each target object image data is randomly combined with the background image data, so that the image data set containing the target object for training is increased.

[0062] The large-scale image dataset formed in the above steps is used as training data to train the target detection pre-annotation model to generate a target box on each image and annotate each target object;

[0063] Manually check the pre-labeling results, identify and correct incorrect labels, including missing labels, wrong labels, and inaccurate target frame positions. After correction, re-enter the next round of training until the target detection pre-labeling model is trained to maturity and its target detection pre-labeling results meet the expected requirements;

[0064] Convert the final annotation results into the format required by the target detection model, including PASCAL VOC and COCO.

[0065] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A highly adaptable target detection pre-labeling method, characterized by: The highly adaptable target detection pre-labeling method comprises the following steps: S1. Preparation of training data set: Prepare two image datasets, one for target object images and one for background images, and clean them to remove low-quality and duplicate image data. S2. Multi-view processing of target objects: Initially annotate the image data of the target object, search for the three-dimensional model of the target object in a networked database based on the annotation information and the image features of the target object, and capture images of the target object at different angles by adjusting the viewing angle based on the three-dimensional model of the target object; S3, diverse combination of data sets: After the target object image data is processed through multi-viewing, the content of the target object image data set is increased while the target object remains unchanged. On this basis, each target object image data is randomly combined with the background image data, so that the image data set containing the target object for training is increased. S4. Pre-annotated model training: The large-scale image dataset formed in the above steps is used as training data to train the target detection pre-annotation model to generate a target box on each image and annotate each target object; S5. Manual assisted correction: Manually check the pre-labeling results, identify and correct incorrect labels, including missing labels, wrong labels, inaccurate target box positions, etc. After correction, re-invest in the next round of training until the target detection pre-labeling model is maturely trained and its target detection pre-labeling results meet the expected requirements.

2. A highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In step S2, the image feature extraction of the target object is performed by using a deep convolutional neural network to extract visual features from the target object image, and the visual features include texture, shape, color, and text content.

3. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In the step S2, the number of target object images increases from one to many after the multi-view processing, and the images of each view of the same target object are related to each other and have initial annotations at the same time.

4. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In the step S2, the initial labeling is marked with the name information of the target object.

5. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In step S2, after the three-dimensional model of the target object is searched, basic information of the model is also obtained based on the obtained three-dimensional model, and the basic information includes public information such as size and purpose.

6. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In step S3, when the target object image data is randomly combined with the background image data, the target object image is scaled, rotated, mirrored, and randomly positioned.

7. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: In step S4, when labeling the target object, the three-dimensional model associated with the target object and basic information corresponding to the model are further obtained from a networked database based on the image features of the target object, and the basic information is used as the labeling content.

8. The highly adaptable target detection pre-labeling method according to claim 1, characterized in that: The highly adaptable target detection pre-labeling method further comprises the following steps: S6. Annotation format conversion: Convert the final annotation results into the format required by the target detection model, including PASCAL VOC and COCO.

9. A highly adaptable target detection pre-labeling method according to any one of claims 1 to 8, characterized in that: The highly adaptable target detection pre-labeling method is applied to the technical field of target detection pre-labeling.

Citation Information

Patent Citations

  • Real-time pose estimation method for known rigid body

    CN110097574A

  • Infrared vehicle target detection method and system based on few-sample augmentation

    CN116129292A

  • Interactive moving image monitoring method, interactive moving image monitoring device, and interactive moving image monitoring program

    JP2008092471A

  • Method and apparatus for classifying an object

    US20070237398A1