Annotation data processing and operation methods as well as annotation platforms and databases

By using metadata to describe changes in annotated objects and generate object entries in annotation data processing, the problem of low efficiency and accuracy of manual annotation of data is solved, cross-frame automatic tracking is achieved, the efficiency and accuracy of annotation operations are improved, and the Data management.

CN113392230BActive Publication Date: 2024-09-06ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010177214.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-13
Publication Date
2024-09-06
Estimated Expiration
2040-03-13

AI Technical Summary

Technical Problem

In the existing technology, the efficiency and accuracy of manual annotation of data are low when processing a large number of image frames or 3D point cloud data, especially when specific objects need to be tracked across frames, resulting in reduced data annotation accuracy and low operating efficiency.

Method used

By introducing metadata (meta information) to describe changes in annotation objects, object entries are generated to achieve convenient linkage modifications across data items, and cross-item automatic tracking functions are provided on the annotation platform to reduce the volume of transmission and the number of modifications, and improve annotation Operational efficiency and accuracy.

Benefits of technology

It achieves improved efficiency and accuracy on the annotation database and client, reduces the amount of data transmission and storage, simplifies addition, deletion, modification and query operations, and improves the usability and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392230B
    Figure CN113392230B
Patent Text Reader

Abstract

Disclosed are a method for processing and operating annotation data, as well as a corresponding annotation platform and annotation database. The annotation data processing method includes: generating an annotation entry corresponding to an annotation project, wherein the annotation entry contains annotation object information within the annotation project; obtaining annotation object information of the annotation object contained in the annotation project; and generating an object entry based on the annotation object according to the annotation object information. The scheme describes the changes of the annotation object through metadata, which can compress data and reduce the transmission volume and the number of modifications. Furthermore, the scheme can be combined with a specific annotation platform to provide annotation personnel with cross-item (for example, cross-frame) automatic tracking of the annotation object, thereby improving the efficiency and accuracy of the annotation operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a method for processing and operating annotated data, as well as a corresponding annotation platform and annotated database. Background Art

[0002] In recent years, artificial intelligence technology has shown a spurt of growth, and has made great progress in the fields of image recognition, speech processing, and intelligent human-computer interaction. In artificial intelligence technology, it is usually necessary to train various models (for example, neural network models) to obtain trained models for various predictions. Model training requires a large amount of training data. These training data can be images, audio, or text, depending on the field. In order to make the training model converge in the desired direction, for example, the training data usually needs to be labeled to facilitate the control of the convergence direction of the model.

[0003] Currently, the annotation of training data is mostly done manually. For example, for a set of image frames, annotators can manually select specific objects in the image for annotation. In some application areas, it is often necessary to track one or more specific objects in a series of consecutive frames. At this time, relying entirely on manual frame-by-frame operations or modifying the database one by one will greatly reduce the annotation accuracy and efficiency.

[0004] To this end, an improved annotation data processing and manipulation scheme is needed. Summary of the invention

[0005] A technical problem to be solved by the present disclosure is to provide a method for processing and operating annotation data, as well as a corresponding annotation platform and annotation database. The solution describes the changes of the annotation object through metadata, which can compress the data and reduce the transmission volume and the number of modifications. Furthermore, the solution can be combined with a specific annotation platform to provide the annotation personnel with cross-item (for example, cross-frame) automatic tracking of the annotation object, thereby improving the efficiency and accuracy of the annotation operation.

[0006] According to a first aspect of the present disclosure, a method for processing annotation data is provided, comprising: generating an annotation entry corresponding to an annotation project, wherein the annotation entry contains partial information of an annotation object in the annotation project; obtaining annotation object information of the annotation object contained in the annotation project; and generating an object entry based on the annotation object according to the annotation object information.

[0007] According to a second aspect of the present disclosure, a method for operating labeled data is provided, comprising:

[0008] Based on the user's selection of a specific annotation item, an associated object entry including the corresponding annotation item ID of the specific annotation item is obtained, wherein the object entry includes the annotation object ID and the annotation item ID containing the annotation object; and a specific annotation item corresponding to the specific annotation item is obtained, wherein the annotation item contains partial information of the annotation object in the annotation item.

[0009] According to a third aspect of the present disclosure, there is provided an image annotation data operation method, comprising: a user selecting a specific marked object on a specific image data item; generating common attributes of the specific marked object; generating a specific object entry corresponding to the specific marked object containing the common attributes; and mapping the specific marked object to an adjacent image data item based on the specific object entry.

[0010] According to a fourth aspect of the present disclosure, a labeling platform is provided for receiving user operations and interacting with a labeling database, and presenting image data items, labeling items and labeling objects to the user, wherein the labeling platform executes the method described in the third aspect above.

[0011] According to a fifth aspect of the present disclosure, there is provided a labeling database for receiving user instructions and interacting with a labeling platform, wherein the labeling database executes the method described in the first aspect above.

[0012] According to a sixth aspect of the present disclosure, a computing device is provided, comprising: a processor; and a memory on which executable code is stored, and when the executable code is executed by the processor, the processor executes the method described in the second or third aspect above.

[0013] According to a seventh aspect of the present disclosure, a non-temporary machine-readable storage medium is provided, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor executes the method described in the second or third aspect above.

[0014] Thus, the present invention can realize convenient linkage modification across data items by storing object entries as meta information in the annotation database. Accordingly, the present invention provides the ability to track annotations on the annotation platform, thereby achieving efficiency and accuracy improvements on both the database and the client. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components in the exemplary embodiments of the present disclosure.

[0016] Figure 1A schematic flow chart of a method for processing labeled data according to an embodiment of the present invention is shown.

[0017] Figure 2 A schematic flow chart of a method for operating labeled data according to an embodiment of the present invention is shown.

[0018] Figures 3A-3D An example of adding, deleting, modifying and querying operations using metaInfo is shown.

[0019] Figure 4 A schematic flow chart of an image annotation data operation method according to an embodiment of the present invention is shown.

[0020] Figure 5 An operation screenshot example of the annotation platform according to the present invention is shown.

[0021] Figure 6 An operation screenshot example of the annotation platform according to the present invention is shown.

[0022] Figure 7 An operation screenshot example of the annotation platform according to the present invention is shown.

[0023] Figure 8 A schematic diagram of the structure of a computing device that can be used to implement the above-mentioned annotated data operation method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0024] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] In recent years, artificial intelligence technology has made great progress in the fields of image recognition, speech processing, and intelligent human-computer interaction. In artificial intelligence technology, it is usually necessary to train various models (for example, neural network models) to obtain trained models for various predictions. Model training requires a large amount of training data. These training data can be images, audio, or text, etc., depending on the field. In order to make the training model converge in the desired direction, the training data usually needs to be labeled to facilitate the control of the convergence direction of the model.

[0026] Currently, the annotation of training data is mostly done manually. For example, for a set of image frames, annotators can manually select specific objects in the image for annotation. In some application areas, it is often necessary to track one or more specific objects in a series of consecutive frames. At this time, relying entirely on manual frame-by-frame operations or modifying the database one by one will greatly reduce the annotation accuracy and efficiency.

[0027] To this end, the present invention proposes a method for processing and operating annotation data, as well as a corresponding annotation platform and annotation database. The solution describes the changes of the annotation object through metadata, which can compress the data and reduce the transmission volume and the number of modifications. Furthermore, the solution can be combined with a specific annotation platform to provide the annotation personnel with cross-item (for example, cross-frame) automatic tracking of the annotation object, thereby improving the efficiency and accuracy of the annotation operation.

[0028] For the convenience of connection, the basic concepts involved in the present invention are first introduced by taking image annotation and training in the field of unmanned driving as an example.

[0029] Object Tracking is a key technology in autonomous driving, including how to predict the next action of pedestrians or vehicles, how to track the pedestrians or vehicles, etc. In the object tracking process, objects need to be identified.

[0030] When tracking an object, two scenarios can be included: 3D tracking annotation and 2D tracking annotation. In the 3D tracking scene annotation of an unmanned vehicle, for example, in a 3D point cloud scene, the unmanned vehicle needs to continuously track objects within a certain time range. To this end, the generated annotation data needs to be able to describe this section of continuously changing objects. This type of annotation provides important training data for unmanned vehicles to enhance the perception and recognition of continuously changing objects in 3D scenes, and is an important source of materials for unmanned vehicle model training. In the 2D tracking scene annotation of an unmanned vehicle, for example, in a 2D point cloud and / or image scene, the unmanned vehicle needs to continuously track objects within a certain time range. The generated annotation data needs to be able to describe this section of continuously changing objects. This type of annotation data is mainly for 2D scenes, and provides important model training materials for object recognition and action prediction of unmanned vehicles in 2D scenes.

[0031] In order to facilitate the annotation personnel to perform annotation, a special annotation platform can be provided for them to add, delete, modify and check the annotation content. Here, the annotation platform can be a platform for data annotation, used for image annotation, 2d / 3d point cloud annotation, etc. In order to facilitate operation, the annotation platform usually has a visual interface, and the interface displays the data items to be annotated, for example, a 2D picture, or a 3D point cloud image, or a combination of 2D pictures or 3D point clouds. The annotation personnel can annotate the above data items on the annotation platform, so that the annotation information associated with the data item (for example, 3D point cloud information of a certain frame) can form an annotation item. The annotation items and data items can correspond one to one. The annotation items and data items can be stored in a database and obtained by the annotation platform installed on the client when needed. In one embodiment, the annotation items and data items can be associated and stored in a database. However, in a preferred embodiment, due to the different data types of the annotation items and data items, it is preferred to store them in different databases. For example, the annotation items are stored as a specific annotation item in the annotation database, and the data items are stored in a special database, for example, an object storage (OSS) database. The corresponding annotation items and data items can be associated according to the same or corresponding IDs. When the annotation platform needs to perform annotation and visualization, the annotation items and data items can be obtained from the annotation database and the OSS database respectively for combined display.

[0032] Data items usually contain objects of interest, such as cars or pedestrians that need to be identified in image frames or 3D point clouds. When the object is marked in the data item, it forms a labeled object. That is, in a labeled entry, an object is labeled, such as a rectangular box marked in a picture to identify a car.

[0033] Since object tracking usually involves tracking one or more specific objects in a series of frames, the data used for training usually includes a group of data, for example, 5,000 consecutive frames of pictures or 5,000 3D point cloud data generated therefrom. For the above grouped data, group annotation is required. In group annotation, multiple annotation items are associated with each other and are ordered. Modifying the annotation object of any annotation item will affect the objects associated with the modified annotation object in other annotation items.

[0034] In the unmanned vehicle data annotation, a series of continuous frames need to be tracked. These frames can be 3D point clouds, 2D images or a combination thereof. These frames are annotated as a group annotation, which involves multiple continuous frames. An identified car or pedestrian is a labeled object and is assigned a unique obj ID. If this car or pedestrian appears in other frames, they will also be marked as the same labeled object.

[0035] As mentioned above, the basic concepts in the field of annotation have been received in conjunction with unmanned driving image annotation. It should be understood that the data item can also be other data of the image fingerprint, for example, a voice or a text, and its annotation can also be a voice or text annotation. The annotation platform can support or be compatible with the above-mentioned voice or text annotation, and is provided with a supporting database. Although the following will mainly combine the unmanned driving image annotation scenario to illustrate the principles of the present invention, it should be understood that the principles of the present invention are applicable to various data annotation scenarios including voice and text, as long as it involves object tracking across data items.

[0036] In the group annotation scenario for object tracking training, since there are many annotation items and annotation entries, for example, there can be as many as 5,000 associated images and as many as 300 objects in each image, in this case, how to synchronize the annotation data with each other is a very difficult problem to overcome.

[0037] The existing approach requires that the annotation content of 5,000 images be saved separately, and the annotation content of each image is saved as an annotation entry in the corresponding database data item. The problem with this approach is that it cannot handle linked addition, deletion, and modification operations. For example, if a picture is modified, it may be necessary to modify the subsequent 1,000 pictures and modify the same annotation object. In this way, a user's operation may require modifying the database 1,000 times. This approach is obviously not advisable, and each modification will have a huge impact on the system.

[0038] To this end, the present invention proposes the concept of object entries. Object entries can be stored as meta information in the annotation database, and cross-data item linkage modification can be achieved through operations on object entries. Accordingly, the present invention provides the ability to track annotations on the annotation platform, thereby achieving efficiency and accuracy improvements on both the database and the client.

[0039] In one embodiment, the present invention may be implemented as a method for processing annotated data. Figure 1 FIG. 1 is a schematic flow chart of a method for processing annotated data according to an embodiment of the present invention. The method may be an operation implemented in a corresponding annotated database. The above operation may be combined with the following: Figure 2Combined with the operations on the client (e.g., annotation platform) described in 3, a comprehensive optimization solution is provided to improve database efficiency and user annotation efficiency.

[0040] In step S110, a marking entry corresponding to the marking project is generated. The marking entry contains partial information of the marking object in the marking project (e.g., unique information, which will be described in detail below). In step S120, the marking object information of the marking object contained in the marking project is obtained, and in step S130, an object entry based on the marking object is generated according to the marking object information.

[0041] In step S110, the generated annotation entry may correspond to a specific entry in the annotation database, which is associated with an annotation item (and its corresponding data item). For example, after acquiring the original data item (e.g., a 2D image frame or a 3D point cloud), annotation information related to the data item may be generated based on automatic processing of the system or manual annotation. These annotation information may be annotation items corresponding to the data item, and in step S110, they are stored in the annotation database as an annotation entry in a prescribed format. The annotation entry includes at least the ID of the annotation item (e.g., in the case of group annotation, a unique ID in the group), and may include partial information of the annotation object within the annotation item. For example, partial information of an annotation object that has been annotated in the corresponding image data, such as the position and size information of the selected box of the annotation object.

[0042] Specifically, in the case of group annotation, for example, when 5000 consecutive frames of images are annotated as a group, a corresponding annotation entry can be generated for each annotation item in the group annotation data, wherein each annotation entry is assigned a unique annotation entry ID within the group, and each annotation object is assigned a unique annotation object ID within the group.

[0043] Similarly, in step S120, the labeled object information of the labeled object contained in the labeled project can also be obtained based on the automatic processing of the system or the information obtained by manual labeling. In different embodiments, the information can be obtained directly from the labeled project, or the information can be obtained from the labeled entry (which may involve subsequent modification of the labeled entry), and the present application does not limit this. After obtaining the labeled object information, an object entry based on the labeled object can be generated in step S130. Specifically, the labeled object ID and the labeled project ID containing the labeled object can be stored as the object entry of the labeled object. Thus, by providing a special object entry (hereinafter also referred to as a "metadata entry" or "meta entry") in addition to the conventional labeled entry, cross-project object tracking is possible.

[0044] As can be seen above, both the annotation entry and the object entry store relevant information of the annotation object. In order to improve the storage utilization efficiency of the database and reduce the amount of data transmission and storage, in addition to storing the ID information of the associated annotation object, the annotation entry and the object entry should also store different types (i.e., non-repeating annotation object information) respectively. In one embodiment, the public information of the annotation object is preferably stored in the object entry.

[0045] To this end, step S120 may include obtaining the public attribute information of the annotation object contained in the annotation project, and the public attribute information of the annotation object is also stored in the associated object entry. The public attribute information may be attribute information that appears in common in multiple annotation projects containing the annotation object. For example, a vehicle that appears in 20 adjacent annotation projects (in 20 consecutive image frames) has attributes of the vehicle (e.g., type "vehicle", color "white" and model "sedan") that do not change in these 20 annotation projects, and therefore can be stored as public attribute information in the object entry. In addition, public attribute information may also refer to attribute information that does not change with different annotation projects, such as the color and model of the vehicle remain unchanged compared to the displacement of the vehicle in different image frames. This is applicable, for example, to the case where a certain annotation object only appears in a single annotation project. For example, a pedestrian that flashes by. At this time, a annotation entry can still be established for the annotation object, and the ID of the pedestrian object, the public attributes and the annotation project ID where the object appears can be stored therein. As can be seen from the above, the IDs of all the annotation projects where the object appears are stored in the object entry. In one embodiment, in order to further reduce data transmission and storage, the ID of the annotation project can be continuously represented. For example, if an object (id: 0000-0001) is included in the 1001-1100th annotation items of a group, the ID of the annotation item is not stored as [1001, 1002, 10033 ... 1100] in the object entry, but directly stored as [1000-1100] (expressed as the start and end frames) or [1001, 100] (expressed as the start and continuous frame numbers), thereby reducing the storage items from 100 to two.

[0046] As an alternative or supplement, the annotation entry stores the unique information of the annotated object in the corresponding data item. To this end, the generated annotation entry includes: the annotation item ID, the annotated object ID in the annotation item, and the unique information of the annotated object. The unique information is information that usually changes with different annotation items, such as the position and / or size information of the annotation box.

[0047] Based on the above construction of the annotation database, operations that usually involve a large number of annotation entries can be changed to operations involving one object entry, thereby providing faster response to user operations.

[0048] In the present invention, when a user needs to obtain information about a specific annotation item, he or she needs to obtain not only the annotation item corresponding to the annotation item itself, but also the information of all object items containing the specific annotation item ID.

[0049] To this end, the processing method of the present invention further includes: obtaining information of a specific annotation item based on a user selection instruction. Specifically, when receiving an instruction to obtain a specific annotation item from a user of a annotation platform, for example, the associated object item including the corresponding annotation item ID of the specific annotation item can be read first, and then the specific annotation item corresponding to the specific annotation item can be read. The above-mentioned read content can be transmitted to the annotation platform, and then the information of the associated object item and the specific annotation item is merged to present the merged information to the user as the information of the specific annotation item.

[0050] When it is necessary to delete the annotated object, the processing method of the present invention also includes: deleting the specific annotated object based on a user deletion instruction. Due to the introduction of the object entry, the deletion of the annotated object may only involve the object entry of its object. The user may choose to completely delete the object, and after searching for the specific object entry corresponding to the specific annotated object, delete the object entry, or delete the annotation item ID specified in the specific object entry based on the user deletion instruction. At this time, the unique information of the annotated object is still stored in the corresponding annotation entry. However, since the annotation entry ID is not included in the object entry, the unique information of the annotated object will not be read.

[0051] When it is necessary to modify the annotated object, the processing method of the present invention further includes: modifying the specific annotated object based on the user modification instruction. The modification may include modification of the annotated item and / or object entry. For example, when the modification involves a unique attribute, modify the annotated item containing the unique attribute; and when the modification involves a common attribute, modify the object entry of the annotated object.

[0052] When it is necessary to add a marked object, the processing method of the present invention further includes: adding a specific marked object based on a user adding instruction. Similarly, the above addition may include modifications to both the marked item and the object entry. To this end, adding a specific marked object may include: adding marked object information to the marked item containing the specific marked object, and adding a new object entry or adding a marked item ID to an existing object entry of the specific marked object.

[0053] With respect to the annotated database as described above, the present invention may also be implemented as an annotated data operation method. Figure 2 A schematic flow chart of a method for operating annotated data according to an embodiment of the present invention is shown. The method may be made by an annotation platform for annotating a database.

[0054] In step S210, based on the user's selection of a specific annotation item, an associated object entry including the annotation item ID corresponding to the specific annotation item is obtained. The associated object entry may be an object entry corresponding to each of the multiple objects (associated objects) appearing in the specific annotation item. The object entry includes the annotation object ID and the annotation item ID containing the annotation object, and preferably includes the public attribute information of the object. In step S220, a specific annotation entry corresponding to the specific annotation item is obtained, and the annotation entry contains partial information (e.g., unique information) of the annotation object in the annotation item.

[0055] After acquiring the above information, the information contained in the associated object entry and the specific annotation entry can be merged and presented to the user. Specifically, the public attribute information of the annotated object contained in the associated object entry can be merged with the unique information of the annotated object contained in the specific annotation entry.

[0056] Specifically, the object annotation operation should usually be performed in combination with data items, for example, annotation is performed on a specific image frame or a 3D point cloud. To this end, the operation method of the present invention may further include: obtaining a specific data item corresponding to the specific annotation item. Subsequently, the merged information may be presented to the user on the obtained specific data item.

[0057] By utilizing the above-mentioned entry arrangement of the database, the operation method of the present invention can further simplify the operations of adding, deleting, modifying and checking at the operation platform.

[0058] Specifically, the operation method of the present invention may also include: obtaining the user's mark of the new object on the specific data item; mapping the mark to the adjacent frame to generate a mapping mark; sending the mark and mapping information for the generation or update of the corresponding object entry, as well as the update of the specific mark entry and the adjacent mark entry. Here, for example, when the user selects a new object using a rectangular frame on an image or a 3D point cloud, the object selection of the adjacent frame can be performed by the user or the system automatically. For example, the annotation box of the object in the current image frame can be mapped to the adjacent frame (for example, the previous frame or the next frame). Since the displacement distance of an object in an adjacent frame is usually limited, it is very convenient to confirm the position of the annotation box of the object in the adjacent frame through, for example, a neighborhood search in the adjacent frame, thereby automatically completing the annotation in the adjacent frame. Subsequently, the above-mentioned annotation box information can be sent to the corresponding entries in the database respectively, for updating the unique information of the marked object. When, for example, the user selects or the system determines the common attributes of the marked object, the existing object entry can be updated, or a corresponding object entry can be added.

[0059] Similarly, the operation method of the present invention may also include: obtaining a modification of a user to a marked object on the specific data item; and sending the modification to modify a corresponding object entry and / or a marked entry. The modification may be directed to modification of a common attribute of the marked object; and modification of a unique attribute of the marked object. Accordingly, the common attributes in the corresponding object entry may be modified, and / or the unique attributes in the marked entry may be modified.

[0060] Similarly, the operation method of the present invention may also include: obtaining the deletion of the marked object on the specific data item by the user; sending the deletion instruction to modify or delete the corresponding object item. In other words, using the data processing and operation scheme of the present invention, the deletion may only involve the overall deletion of the object item or the deletion of the marked item ID therein, without operating the related marked items.

[0061] The following will describe the preferred scheme of the annotated data processing and operation of the present invention in combination with a specific implementation of the present invention. Specifically, the entire group annotation information can be expressed in the form of a memorandum recording the group meta-information metaInfo. metaInfo is mainly composed of the identified objects. As long as the objects are selected in this group, they will be added to metaInfo. metaInfo can be in the schema format, and each object can contain:

[0062] id: globally unique id, used to identify a certain annotation object. If this annotation object exists in multiple annotation entries, the id is shared by these multiple annotation entries.

[0063] contains: This field is used to describe which annotation entries in this group contain the object;

[0064] commonLabels: describes the common properties of this object, such as the common properties of this object in each annotation entry.

[0065] Described in json string:

[0066]

[0067] The above uses metaInfo as the form of object entry, describing the situation where two objects (id: 0000-0001 and 0000-0002) appear in the annotation entry (both appear consecutively in annotation entries 1-6), and have common attributes of category "Sedan" and color "red" and category "Sedan" and color "white". metaInfo can also include a "timestamp" timestamp field to record the time.

[0068] If there is a continuous index expression, such as "contains":[1,2,3,4,5,6], it can be further described as "contains":[1-6] or [1,6] to reduce data transmission and storage.

[0069] Annotation operations can generally be divided into adding, deleting, modifying and checking. Figures 3A-3D An example of adding, deleting, modifying and querying operations using metaInfo is shown.

[0070] Figure 3A The operations involved in adding a new object are shown. When adding a new object, an object with the same id will be added in the next frame. This new object is generated based on the previous object and according to certain rules (for example, label box mapping and neighborhood search).

[0071] As shown in the figure, assume that the newly added object is an object with obj id (object id) 000-xxx1 in frame 2000. Then, in frame 2001, an object with object id 000-xxx1 can be added. This object is generated based on the previous frame and according to certain rules, such as annotation box mapping and neighborhood search. Then, the object entry needs to be modified. That is, a new value is added to the "contains" field of metaInfo: 2001.

[0072] Figure 3B The operation involved in deleting an object is shown. When deleting an object, all related objects behind the frame image will be deleted.

[0073] As shown in the figure, suppose an object in a certain frame is deleted, for example, an object with obj id (object id) 000-xxx1 in frame 2000. Then, there is no need to modify the annotation entries of subsequent frames. You only need to modify the corresponding field of metaInfo and erase the index number of all frames after frame 2000 from the "contains" field.

[0074] Figure 3C It shows the operations involved in modifying an object. Each time an object is modified, all related entries in the entire group are changed.

[0075] As shown in the figure, suppose you need to modify a certain piece of data, such as an object with an obj id (object id) of 000-xxx1 in the 2000th frame. Then, you need to judge the type of modification information of the annotated object. When the modification involves unique attributes, the content of the related annotated object needs to be modified, that is, the annotation result of the 2000th frame needs to be modified (for example, the position of the annotation box of the object in the 2000th frame). When the modification involves common attributes, you need to modify the corresponding field of metaInfo and the corresponding content in the "commonlabel" tag.

[0076] Figure 3D The operations involved in replaying a frame are shown. When replaying the specific content of a frame, it is necessary to read metaInfo and the specific annotation of the frame and display them together.

[0077] As shown in the figure, assuming that the annotated content of the 2000th frame needs to be played back, the original data and annotated content of the 2000th frame need to be read, for example, the image frame or 3D point cloud data corresponding to the 2000th frame is read from the OSS database, the annotation entry corresponding to the 2000th frame is read from the annotation database, and then the metaInfo information in the group to which the frame belongs is read.

[0078] Specifically, it is necessary to traverse a certain object entry in the metaInfo information and determine whether the "contains" field of the object entry includes 2000 (or in the case of compressed storage, the value of 2000 is overwritten). When the "contains" field of the object entry includes 2000, the public attributes of the object are merged with the annotated object information (e.g., unique attribute information) in the annotation entry of the 2000th frame. The above process is repeated until the public attribute information of all annotated objects appearing in the 2000th frame is merged, and the merged result of metaInfo and the annotation result of the 2000th frame is displayed on, for example, the image frame or 3D point cloud data of the 2000th frame.

[0079] According to another aspect of the present invention, it can also be implemented as an image annotation data operation method. Figure 4 A schematic flow chart of an image annotation data operation method according to an embodiment of the present invention is shown. The image annotation data operation method can be implemented by annotators on the annotation platform of the present invention including an image data annotation function.

[0080] In step S410, a user selects a specific tagged object on a specific image data item. In step S420, a common attribute of the specific tagged object is generated. In step S430, a specific object entry corresponding to the specific tagged object and including the common attribute is generated. Then, in step S440, based on the specific object entry, the specific tagged object and its common attribute are mapped to adjacent image data items.

[0081] Figure 5 An example of an operation screenshot of the annotation platform according to the present invention is shown. As shown in the figure, the current frame 10 (corresponding to a specific image data item) implemented as 3D point cloud data is displayed in the annotation platform. The above image data can be obtained by the annotation platform from the OSS database based on the image ID, for example. Since it is 3D point cloud data, the current frame 10 shown can be adjusted by perspective transformation and scaling (as shown in the operation options above the current frame 10).

[0082] Subsequently, the user (e.g., an annotator) can mark the object in the current frame 10. For example, the user can click or frame the vehicle object in the image. The system can perform corresponding calculations based on the user's click position and frame size to determine the appropriate size and position of the annotation frame 11 for the framed vehicle. As shown on the left side of the figure, the top, side, and back views of the object can also be shown based on the user's frame selection of the vehicle object to further facilitate the user to determine the object features. At this time, it can be determined based on the object features, etc. whether the object is a new object that is not recorded in the database, or a mark of an existing object in a new frame, and a new ID or an existing ID can be assigned to the object. At this time, the above-mentioned updated object entry information can be sent back to the annotation database. Furthermore, the specific marked object and the frame position selected by the user can also be sent back to the annotation database for updating the marked item corresponding to the specific image data item.

[0083] Subsequently, the common attributes of the specific marking object may be generated based on the user's input content. Alternatively or instead, the common attributes of the specific marking object may be automatically generated based on the system's determination of the shape of the specific marking object. Figure 5 In the example, based on the user's selection of the specific marked object, the public attribute input box 20 automatically pops up. Subsequently, the user can select the public attribute information of the specific marked object in the public attribute input box. In other application scenarios, the user can also enter specific public attribute information by himself, and this application does not limit this. In addition,

[0084] After obtaining the above common attributes, a specific object entry corresponding to the specific marked object including the common attributes may be generated. At this time, the generated specific object entry includes the object ID newly assigned to the object, the common attributes obtained as above, and the frame number (corresponding to the image frame 10) in which it appears. In the case of an existing object entry, the common attributes may be merged and the frame number may be increased.

[0085] The annotation platform can easily realize the correlation of cross-project tracking of annotation objects through its own mapping function. Figure 6 An example of an operation screenshot of the annotation platform according to the present invention is shown. The above screenshot can be regarded as Figure 5 Screenshot of subsequent operations of the screenshot. For example, after completing the selection of the annotation box 11 and the selection of common attributes, the "Map Next Frame" button 40 below the current frame 10 will be lit. After the user clicks the button, the button will be grayed out (enter an unclickable state), and it will be automatically mapped to the same vehicle object in the next frame 30, and a annotation box 31 will be added to it. Since the same object will not produce a particularly large displacement in adjacent frames, the position of the annotation box 31 can be determined based on the position of the annotation box 11 in frame 10, based on the mapped position and neighborhood search. If the mapping is successful, the corresponding number of frame 30 can be added to the object entry of the annotated object.

[0086] Subsequently, the user may click, for example, a "Next Frame" button next to a "Map Next Frame" button to continue the operation on the next frame after the next frame 30, for example, an automatic mapping operation. In an optional embodiment, the mapping may be performed by the system itself. Thus, based on the specific object entry, mapping the specific marked object and its common attributes to adjacent image data items includes: automatically locating the position of the specific marked object in a plurality of adjacent image data items; and mapping the specific marked object and its common attributes to the plurality of adjacent image data items. For example, the user may call up the "Map Subsequent Frames" option in the menu and select it, and the system may repeat the previous frame's annotation box mapping operation for each subsequent frame, and add a frame number to the corresponding object entry. In other embodiments, the automatic labeling may also be forward, such as the "Map in Previous Frame" option in the menu, etc., and the present invention is not limited to this.

[0087] As an alternative or supplement, the user may also choose not to perform cross-frame object association processing. Thus, based on the user's choice not to perform association processing, the specific marked object and its public attributes may be updated to the annotation entry corresponding to the specific image data item to replace the generation of the specific object entry.

[0088] In order to facilitate the mapping operation, the adjacent image data items of the specific image data item may be displayed to the user at the same time. Figure 6 As shown, the current frame 10 and the next frame 30 are displayed simultaneously to facilitate the mapping operation in the same interface.

[0089] In other embodiments, the same interface sheet may also include more data item information. Figure 7 An example of an operation screenshot of the annotation platform according to the present invention is shown. Figure 6 , Figure 7 Also shown are 2D image frames corresponding to the 3D point cloud images, such as 2D image frame 12 corresponding to the current 3D point cloud 10 and 2D image frame 32 corresponding to the next 3D point cloud 30. In a preferred embodiment, the selection of an object in the 3D point cloud can also lead to the automatic generation of a labeling frame in its corresponding 2D image frame, thereby helping the labeler and the system to perform more accurate positioning.

[0090] Furthermore, for the convenience of operation, a list of marked objects included in the specific image data item may be displayed to the user in the interface. Figure 6 and Figure 7 As shown in the mark 50 in FIG. To this end, the user's operation on the mark object may include operating the mark object on the image data item containing the mark object, or operating the mark object in the mark object list.

[0091] Based on the user's operation on the marked object, the corresponding object entry and / or marking entry can be updated. Specifically, based on the user's operation on deleting the marked object, the corresponding object entry can be deleted; based on the user's operation on modifying the public attributes of the marked object, the corresponding object entry can be modified; and based on the user's operation on modifying the unique attributes of the marked object in a certain image data item, the corresponding annotation entry can be modified.

[0092] In addition, the operating platform of the present invention can also replay the image data item containing corresponding annotation information based on the user's playback operation on the image data item. Replaying the image data item containing corresponding annotation information includes: reading the image data item from an image database; reading an associated object item including the corresponding annotation item ID of the specific annotation item from an annotation database; reading a specific annotation item corresponding to the specific annotation item from an annotation database; merging the information of the associated object item and the specific annotation item; and presenting the image data item superimposed with the merged information to the user.

[0093] According to one aspect of the present invention, it can also be implemented as a labeling platform for receiving user operations and interacting with the labeling database, and presenting image data items, labeling items and labeling objects to the user. The labeling platform performs the above combined Figure 2 Or the method described in 4-7.

[0094] According to one aspect of the present invention, it can also be implemented as a labeling database for receiving user instructions and interacting with the labeling platform. The labeling database performs the above combined Figure 1 Or the method described in 3.

[0095] The annotation data processing and operation method of the present invention, as well as the corresponding database and annotation platform are particularly suitable for the following scenarios: 1. 3D tracking scene annotation of unmanned vehicles. In the 3D point cloud scene, the unmanned vehicle needs to continuously track objects within a certain time range. The generated annotation data can describe this section of continuously changing objects. 2. 2D tracking scene annotation of unmanned vehicles. In the 2D point cloud and image scene, the unmanned vehicle needs to continuously track objects within a certain time range. The generated annotation data can describe this section of continuously changing objects. 3. Face / object recognition annotation of videos. Video annotation requires splitting the video into frames for annotation, and annotating related objects in each frame. The object entry in the present invention can describe such multi-frame associated object annotations, such as continuously changing gestures, vehicles, and expressions. It is not only applicable to object recognition, but also to all scenes that require continuous annotation, such as faces, gestures, postures, etc. It should be understood that the principles of the present invention are also applicable to associated object annotation scenarios of other annotation items such as voice and text.

[0096] Figure 8 A schematic diagram of the structure of a computing device that can be used to implement the above-mentioned annotated data operation method according to an embodiment of the present invention is shown.

[0097] See also Figure 8 , the computing device 800 includes a memory 810 and a processor 820 .

[0098] The processor 820 may be a multi-core processor or may include multiple processors. In some embodiments, the processor 820 may include a general-purpose main processor and one or more special coprocessors, such as a graphics processing unit (GPU), a digital signal processor (DSP), etc. In some embodiments, the processor 820 may be implemented using a customized circuit, such as an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA).

[0099] The memory 810 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 820 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 810 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 810 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0100] The memory 810 stores executable codes, and when the executable codes are processed by the processor 820 , the processor 820 can execute the above-mentioned marking data operation method.

[0101] The processing method and operation method of the annotation data according to the present invention, as well as the corresponding annotation platform and annotation database have been described in detail above with reference to the accompanying drawings. The present invention introduces a special object entry as the meta-information in the group annotation, so that each add, delete, modify and query operation only involves two types of data operations: 1 is for the annotation entry itself, and 2 is to modify metaInfo, so that the performance is greatly improved. Specifically, 1. The amount of data transmitted over the network is greatly reduced; 2. Based on database operations, data consistency is guaranteed; 3. Availability is improved: each modification will be saved to the database, and the group annotation data will not be lost due to accidents; 4. Scalability tips: Each add, delete, modify and query operation will not be for the full amount of group data, and theoretically there is no limit to scalability; 5. The data storage size is streamlined, and common attributes are extracted through commonLabel without repeated storage in the annotation entry.

[0102] In addition, the method according to the present invention may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing the above steps defined in the above method of the present invention.

[0103] Alternatively, the present invention may also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or computing device, server, etc.), the processor executes the various steps of the above-mentioned method according to the present invention.

[0104] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or a combination of both.

[0105] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system and method according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0106] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for processing labeled data, include: Generate a marking entry corresponding to the marking item, wherein the marking entry contains specific information of the marking object in the marking item; Obtain the annotation object information of the annotation object contained in the annotation project; as well as generating an object entry based on the marked object according to the marked object information, Wherein, generating an object entry based on the marked object according to the marked object information includes: The annotated object ID and the annotated item ID including the annotated object are stored as an object entry of the annotated object. Wherein, obtaining the annotation object information of the annotation object contained in the annotation project includes: Get the public attribute information of the annotation objects contained in the annotation project; Furthermore, the object entry also stores the public attribute information of the annotated object. The public attribute information of the marked object includes at least one of the following: Attribute information that appears commonly in multiple annotation items including the annotation object; and Attribute information that does not change with different annotation items.

2. The method according to claim 1, in, The generated annotation entries also include: The annotation item ID and the annotation object ID within the annotation item.

3. The method according to claim 1, in, Generating a annotation entry corresponding to an annotation project includes: A corresponding annotation entry is generated for each annotation item in the grouped annotation data, wherein each annotation entry is assigned a unique annotation entry ID within the group, and each annotation object is assigned a unique annotation object ID within the group.

4. The method according to claim 1, further comprising: include: Based on the user's selection instructions, information about a specific annotation item is obtained.

5. The method according to claim 4, in, Get the information of a specific annotation item including: Reading an associated object entry including a corresponding annotation item ID of the specific annotation item; The specific annotation entry corresponding to the specific annotation item is read, and information of the associated object entry and the specific annotation entry is merged to present the merged information to the user as information of the specific annotation item.

6. The method according to claim 1, further comprising: include: Delete specific marked objects based on user deletion instructions.

7. The method according to claim 6, in, Deleting a specific annotation object includes at least one of the following: Finding a specific object entry corresponding to the specific marked object; and Deletes the specified annotation entry ID in a specific object entry based on a user deletion instruction.

8. The method of claim 1, further comprising: include: Modify specific annotation objects based on user modification instructions.

9. The method according to claim 8, in, Modifying a specific annotation object includes at least one of the following: When the modification involves a unique attribute, modifying the annotation item containing the unique attribute; and When the modification involves a public attribute, the object entry of the marked object is modified.

10. The method of claim 1, further comprising: include: Based on the user-added instructions, add specific annotation objects.

11. The method according to claim 10, in, Added specific annotation objects include: adding the annotation object information to the annotation item including the specific annotation object; and A marking item ID is added to the object entry of the specific marking object.

12. A method for operating annotated data, the method being performed on an annotated database obtained by the method according to any one of claims 1 to 11, and include: Based on the user's selection of a specific annotation item, obtaining an associated object entry including an annotation item ID corresponding to the specific annotation item, wherein the object entry includes an annotation object ID and an annotation item ID including the annotation object; and A specific annotation entry corresponding to the specific annotation item is obtained, wherein the annotation entry includes the specific information of the annotation object in the annotation item.

13. The method of claim 12, further comprising: include: Merging the information included in the associated object entry and the specific annotation entry; as well as The merged information is presented to a user.

14. The method according to claim 13, in, The information included in the combination of the associated object entry and the specific annotation entry includes: The common attribute information of the marked object contained in the associated object entry is merged with the specific information of the marked object contained in the specific marked entry.

15. The method of claim 13, further comprising: include: A specific data item corresponding to the specific annotation item is obtained.

16. The method of claim 15, further comprising: include: The merged information is presented to the user on the acquired specific data item.

17. The method of claim 15, further comprising: include: Obtaining a user's mark on a new object on the specific data item; mapping the labels to adjacent frames to produce mapped labels; The tag and mapping information are sent for generation or update of corresponding object entries, and update of specific tag entries and adjacent tag entries.

18. The method of claim 15, further comprising: include: Obtaining modifications made by a user to a marked object on the specific data item; The modification is sent to correspond to the modification of the object entry and / or the marking entry.

19. The method of claim 18, in, The modification includes at least one of the following: Modification of public attributes of the marked object; and Modification of the unique attributes of the marked object, Furthermore, the modification of the corresponding object entry and / or marking entry includes at least one of the following: Modifying the public attributes in the corresponding object entry; and Modify the unique attributes in the tag entry.

20. The method of claim 15, further comprising: include: Obtaining the deletion of the marked object on the specific data item by the user; The deletion instruction is sent to modify or delete the corresponding object entry.

21. A method for operating image annotation data, the method being performed on an annotation database obtained by the method according to any one of claims 1 to 11, and include: A user selects a specific marked object on a specific image data item; Generate common attributes of the specific tag object; generating a specific object entry corresponding to the specific tagged object and including the common attribute; and Based on the specific object entry, the specific tagged object is mapped to adjacent image data items.

22. The method of claim 21, in, The common attributes for generating the specific tag object include at least one of the following: Based on the user's input content, generating the public attributes of the specific tag object; and Based on the appearance determination of the specific mark object, a common attribute of the specific mark object is generated.

23. The method of claim 22, in, Based on the user's input content, the common attributes of the specific tag object are generated, including: Based on the user's selection of the specific marked object, a public attribute input box pops up; and The user selects and / or enters the public attribute information of the specific marked object in the public attribute input box.

24. The method of claim 21, in, The specific object entry includes ID information of a specific marking item containing the specific marking object, and the image data items correspond to the marking items one by one. Furthermore, the method further comprises: The corresponding tag item ID of the adjacent image data item is added to the specific object entry.

25. The method of claim 24, further comprising: include: The specific object entry is returned to the annotation database.

26. The method of claim 21, in, The specific marking objects on the specific image data items selected by the user include: The user selects a specific marked object on the specific image data item.

27. The method of claim 26, in, Mapping the specific marker object and its common attributes to adjacent image data items includes: Based on the selection position selected by the user, the specific marked object is automatically selected in the adjacent image data items.

28. The method of claim 26, further comprising: include: The specific marked object and the framed position selected by the user are transmitted back to the annotation database for updating the marked item corresponding to the specific image data item.

29. The method of claim 21, further comprising: include: Display image data items of different forms or numbers to the user.

30. The method of claim 29, in, The 3D point cloud project of the image data project, Furthermore, the method further comprises: The image frame items corresponding to the 3D point cloud items are displayed simultaneously.

31. The method of claim 29, further comprising: include: The adjacent image data items of the specific image data item are simultaneously displayed to the user.

32. The method of claim 29, further comprising: include: At the same time, a list of marked objects included in the specific image data item is displayed to the user.

33. The method of claim 21, further comprising: include: Based on the user's operation on the marked object, the corresponding object entry and / or the marked entry is updated.

34. The method of claim 33, in, The user's operations on the marked object include at least one of the following: The user operates the mark object on the image data item including the mark object; and The user operates the marked object in the marked object list.

35. The method of claim 33, in, Based on the user's operation on the marked object, updating the corresponding object entry and / or the marked entry further includes at least one of the following: Based on the user's deletion operation on the marked object, delete the corresponding object entry; Based on the user's modification operation on the public attributes of the marked object, modify the corresponding object entry; as well as Based on the user's unique attribute modification operation on the marked object in a certain image data item, the corresponding annotation entry is modified.

36. The method of claim 21, further comprising: include: Based on a user's playback operation on an image data item, the image data item including the corresponding annotation information is played back.

37. The method of claim 36, in, Playing back the image data item containing the corresponding annotation information includes: reading the image data item from an image database; Reading from the annotation database an associated object entry including a corresponding annotation item ID of the specific annotation item; Reading a specific annotation entry corresponding to the specific annotation item from a annotation database; Merging information of the associated object entry and the specific annotation entry; and The image data item superimposed with the merge information is presented to a user.

38. The method of claim 21, further comprising: include: Based on the user's selection not to perform the association process, the specific marked object and its common attributes are updated to the annotation entry corresponding to the specific image data item, instead of generating the specific object entry.

39. The method of claim 21, in, Based on the specific object entry, mapping the specific marked object and its common attributes to adjacent image data items includes: automatically locating the position of the specific marked object in a plurality of adjacent image data items; and The specific marker object and its common attributes are mapped to the plurality of adjacent image data items.

40. An annotation platform, used to receive user operations and interact with an annotation database, and present image data items, annotation items and annotation objects to a user, wherein the annotation platform executes the method as described in any one of claims 21-39.

41. An annotation database, used to receive user instructions and interact with an annotation platform, wherein the annotation database executes the method as described in any one of claims 1-11.

42. A computing device, include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 12 to 39.

43. A non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to execute the method as claimed in any one of claims 12-39.