A data labeling method and device thereof

By obtaining vehicle status data or voice text data, the labeling information is automatically determined, which solves the problem of low data labeling efficiency in the existing technology, realizes automatic data labeling in the vehicle and voice fields, saves manpower and material resources, and meets different needs.

CN112307236BActive Publication Date: 2024-10-18ALIBABA GROUP HOLDING LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910672723.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-24
Publication Date
2024-10-18
Estimated Expiration
2039-07-24

AI Technical Summary

Technical Problem

The data annotation process in the existing technology requires a lot of manual effort and lacks automated solutions, resulting in low efficiency.

Method used

By obtaining the vehicle's on-board image and status data or voice data, computer equipment is used to automatically determine the annotation information, generate training data, and realize automatic annotation of data.

Benefits of technology

It saves a lot of manpower and material resources, realizes automatic labeling of sample data, meets different needs, and realizes automatic data labeling in the vehicle and voice fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112307236B_ABST
    Figure CN112307236B_ABST
Patent Text Reader

Abstract

The present application discloses a data annotation method and device thereof, the method comprising: acquiring vehicle-mounted images of a vehicle as sample data and acquiring vehicle status data; determining vehicle status information according to the status data; annotating the sample data using the status information as annotation information to generate training data. By adopting the present application, the vehicle-mounted images can be annotated using the determined status information while acquiring the vehicle-mounted images, thereby realizing automatic data annotation in the vehicle field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data labeling method and device thereof. Background Art

[0002] Machine learning can generate various models from data, so users need to provide training data. In order to use these training data to train the model, the sample data needs to be annotated in advance. Data annotation refers to the process of describing or marking data such as text, pictures, and voice. For example, an image sample of a moving car is labeled as dangerous.

[0003] The existing data labeling process is as follows: manually divide the data (e.g., vehicle-mounted images) labeling task into multiple subtasks and distribute them to multiple annotators; each annotator selects the corresponding stand-alone labeling tool for labeling according to the data type of the subtask; after the labeling work of all subtasks is completed, the data labeled by each annotator is integrated and saved.

[0004] It can be seen that this requires the annotator to spend a lot of effort to manually annotate these data. Therefore, the relevant technology requires a technical solution that can automatically annotate data. Summary of the invention

[0005] The embodiments of the present application provide a data labeling method and a device thereof, which are used to at least solve the above technical problems.

[0006] An embodiment of the present application also provides a data labeling method, which includes: obtaining sample data and labeling information corresponding to the sample data; and labeling the sample data using the labeling information to generate training data.

[0007] An embodiment of the present application also provides a data labeling method, which includes acquiring an on-board image of a vehicle as sample data, and acquiring status data of the vehicle using an on-board auxiliary device; determining status information of the vehicle based on the status data; and labeling the sample data using the status information as labeling information to generate training data.

[0008] An embodiment of the present application also provides a data labeling device, the method comprising: a processor; and a memory arranged to store computer-executable instructions, wherein the executable instructions, when executed, cause the processor to perform the following operations: acquiring an on-board image of a vehicle as sample data while acquiring status data of the vehicle using an on-board auxiliary device; determining status information of the vehicle based on the status data; and labeling the sample data using the status information as labeling information to generate training data.

[0009] An embodiment of the present application also provides a data labeling method, which includes obtaining voice data as sample data and obtaining text data corresponding to the voice data; labeling the sample data using the text data as labeling information to generate training data.

[0010] An embodiment of the present application also provides a data labeling device, the method comprising: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to perform the following operations: simultaneously acquiring speech data as sample data, acquiring text data corresponding to the speech data; labeling the sample data using the text data as labeling information to generate training data.

[0011] At least one of the above technical solutions adopted in the embodiment of the present application can annotate the vehicle-mounted image by using the determined state information while acquiring the vehicle-mounted image, thereby realizing automatic data annotation in the vehicle field. Automatic annotation of sample data can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0013] Figure 1 is a scene graph annotated with data according to an exemplary embodiment of the present application;

[0014] Figure 2 is a flow chart of a data annotation method according to an exemplary embodiment of the present application;

[0015] Figure 3 is a scene graph for data annotation of an in-vehicle image according to an exemplary embodiment of the present application;

[0016] Figure 4 is a scene graph for speech data annotation according to an exemplary embodiment of the present application;

[0017] Figure 5 is a block diagram of a data annotation apparatus according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0019] The following is a detailed description of the technical solutions provided by each embodiment of the present application in conjunction with the accompanying drawings. Figure 1 The data annotation scenario of the exemplary embodiment of the present application is described.

[0020] like Figure 1 As described above, during the driving process of the vehicle, data related to the vehicle can be transmitted to the computer device 100. After receiving the data, the computer device 100 can annotate the data according to the data annotating method of the exemplary embodiment of the present application, and store the annotated data.

[0021] In addition, after receiving the voice data and the corresponding text data, the computer device 100 may also use the text data to annotate the voice data, and store the annotated data as training data.

[0022] It should be noted that the computer device 100 refers to an intelligent electronic device that can obtain instructions by running a predetermined program to perform predetermined processing processes such as numerical calculations and / or logical calculations. Computer devices include but are not limited to servers, personal computers, notebooks, tablet computers and smart terminals.

[0023] In addition, the computer device 100 can be run independently to implement the present application, or can be connected to a network and implement the present application through interactive operations with other computer devices in the network. The network where the computer device is located includes but is not limited to the Internet, a wide area network, a local area network, a metropolitan area network, a VPN network, etc.

[0024] The following will refer to Figure 2 A flowchart of a data annotation method according to an exemplary embodiment of the present application is specifically described.

[0025] In step S210, the vehicle status data is obtained while acquiring the vehicle-mounted image as sample data.

[0026] Specifically, in the prior art, after obtaining a large amount of sample data, the annotator needs to manually determine the annotation information of each sample data one by one, while in the present application, the method can directly obtain the sample data and the annotation information corresponding to the sample data, wherein the annotation information may include one or more types of annotation information, that is, the same sample data can be annotated with different annotation information according to predetermined rules, wherein the predetermined rules can be set according to specific needs.

[0027] Furthermore, in the present application, the annotation information corresponding to the sample data can be determined while the sample data is being acquired. That is, the sample data and the annotation information are generated simultaneously and in real time. Figure 3 and Figure 4 This is described in detail.

[0028] like Figure 3 When the method is applied to the vehicle field, the sample data may include an onboard image of the vehicle, and the onboard image may include an image related to the vehicle acquired by an onboard image acquisition device. Figure 3 As shown, a driving recorder is used to obtain the vehicle-mounted images obtained during the driving process of the vehicle. In addition, other vehicle-mounted image acquisition devices can also be used, for example, an image acquisition device externally mounted on the outside of the vehicle or a reversing visual device that can obtain an image of the rear end of the vehicle.

[0029] Subsequently, while acquiring the vehicle-mounted image, the vehicle status data can be acquired using the vehicle-mounted auxiliary device, wherein the vehicle-mounted auxiliary device can be a device for acquiring the vehicle's operating status, for example, the vehicle-mounted auxiliary device can be a vehicle sensor, which can acquire various status information of the vehicle during operation, such as vehicle speed, temperature of various media, engine operating status, etc., and convert them into electrical signals and transmit them to the computer device. In addition, the vehicle-mounted auxiliary device can also be an on-board diagnostic system (OBD), which can acquire engine-related data in real time. It should be noted that the vehicle-mounted auxiliary system is not limited to the above examples, and all devices that can acquire the vehicle's operating status information can be applied here.

[0030] As Figure 3 As shown in FIG. 1 , the data provided by the vehicle-mounted image acquisition device and the vehicle auxiliary device can be provided to the Figure 1 The computer device 100 in the embodiment can use these data to execute step S210.

[0031] Then, step S220 may be performed to determine the vehicle status information according to the status data. Figure 3 As shown in Figure 3 In implementation, the vehicle driving status information can be determined according to pre-set rules. The status information is not limited to whether the vehicle is driving normally as provided above, but also includes the vehicle driving direction information, for example, the vehicle is driving straight, reversing, turning left, turning right, etc. In addition, the vehicle speed information can also be included, for example, the vehicle is driving more than 80 miles, the vehicle is driving less than 30 miles, etc.

[0032] The state information can be directly obtained from the vehicle auxiliary device, or the state information can be determined based on the state data provided by the vehicle auxiliary device. For example, the state of the vehicle during operation, such as normal driving and dangerous driving, can be determined based on the vehicle's driving speed and the engine's running speed. Finally, the state information can be used as the vehicle's annotation information.

[0033] In practice, the same vehicle image can correspond to different annotation information, that is, for the same vehicle image, various vehicle status information can be obtained and all of this status information can be used as annotation information. For example, the same vehicle image can correspond to the following annotation information: left turn, dangerous driving, and engine abnormality.

[0034] In addition, the method can also be applied to the field of speech. Specifically, a speech acquisition device can be used to acquire the speech emitted by a speaker. For example, when a speaker is giving a speech at a meeting, an audio acquisition device can be used to acquire the audio emitted by the speaker. At the same time, the translation content can be acquired by, for example, a shorthand writer through manual shorthand. The audio acquisition device is a device that can acquire speech, and can include but is not limited to devices such as a voice recorder and a conference recorder.

[0035] Subsequently, the data can be transmitted wirelessly or by wire to Figure 1 The computer device 100 in the embodiment can use these data to execute step S210. In implementation, the voice data is obtained as sample data while the text data corresponding to the voice data is obtained as annotation information.

[0036] Finally, step S230 may be executed to annotate the sample data using the state information as annotation information to generate training data. Specifically, based on a data annotation algorithm, the sample data is annotated using the annotation information to generate training data for subsequent model training. It should be noted that the data annotation algorithm may be an existing data annotation algorithm in the related art. For example, data annotation of the sample data may be achieved by storing the sample data and the annotation information in correspondence.

[0037] An embodiment of the present application also provides a data labeling method, which includes obtaining voice data as sample data and obtaining text data corresponding to the voice data; labeling the sample data using the text data as labeling information to generate training data.

[0038] In summary, according to the data labeling method of the exemplary embodiment of the present application, the labeling information can be determined while obtaining the sample data, and the sample data can be labeled using the labeling information, thereby realizing automatic labeling of the sample data and saving a lot of manpower and material resources. Furthermore, the labeling information can be set in advance to meet different labeling requirements. Furthermore, different labeling information can be obtained for the same sample data, so that the sample data can be more fully utilized. Furthermore, the method can be applied to the vehicle field to realize automatic labeling of vehicle-mounted images. Furthermore, the method can be applied to the voice field to realize automatic labeling of voice, especially conference voice.

[0039] In order to more clearly understand the inventive concept of the exemplary embodiments of the present application, the following will refer to Figure 5 A block diagram of a data annotation device describing an exemplary embodiment of the present application. A person of ordinary skill in the art will understand that: Figure 5 The device in the embodiment only shows the components related to the exemplary embodiment, and the device also includes Figure 5 Common components other than those shown in .

[0040] Figure 5 FIG. 1 is a block diagram showing a data annotation device of an exemplary embodiment of the present application. It should be noted that the data annotation device may be Figure 1 The computer device 100 may also be a computer that executes Figure 2 A device for illustrating a data labeling method is shown.

[0041] refer to Figure 5 At the hardware level, the device includes a processor, an internal bus and a computer-readable storage medium, wherein the computer-readable storage medium includes a volatile memory and a non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory and then runs it. Of course, in addition to the software implementation, this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0042] Specifically, the processor performs the following operations: acquiring the vehicle's onboard image as sample data and acquiring the vehicle's status data; determining the vehicle's status information based on the status data; and annotating the sample data using the status information as annotation information to generate training data.

[0043] Optionally, the processor acquires the vehicle status data while implementing the step of acquiring the vehicle's onboard image as sample data, including: acquiring the vehicle's status data using an onboard auxiliary device while acquiring the vehicle's onboard image as sample data using an onboard image acquisition device.

[0044] Optionally, the vehicle-mounted auxiliary device is a device for acquiring the operating status of the vehicle.

[0045] According to an exemplary embodiment of the present application, the processor may also perform the following operations: while acquiring speech data as sample data, acquire text data corresponding to the speech data; annotate the sample data using the text data as annotation information to generate training data.

[0046] In summary, according to the exemplary embodiment of the present application, the data labeling device can determine the labeling information while acquiring the sample data, and use the labeling information to label the sample data, thereby realizing automatic labeling of the sample data and saving a lot of manpower and material resources. Furthermore, the labeling information can be set in advance to meet different labeling requirements. Furthermore, different labeling information can be obtained for the same sample data, so that the sample data can be more fully utilized. Furthermore, the method can be applied to the vehicle field to realize automatic labeling of vehicle-mounted images. Furthermore, the method can be applied to the voice field to realize automatic labeling of voice, especially conference voice.

[0047] It should be noted that the execution subject of each step of the method provided in Example 1 can be the same device, or the method can be executed by different devices. For example, the execution subject of step 21 and step 22 can be device 1, and the execution subject of step 23 can be device 2; for another example, the execution subject of step 21 can be device 1, and the execution subject of step 22 and step 23 can be device 2; and so on.

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

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

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

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

[0052] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0053] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0054] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0055] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

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

[0057] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A data labeling method, characterized in that: include: While acquiring the vehicle-mounted image of the vehicle as sample data, the driving speed of the vehicle and the operating speed of the engine are acquired; Determine the state information of the vehicle when it is running according to the driving speed and the running speed of the engine, wherein the state information of the vehicle when it is running includes: normal driving or dangerous driving; The state information of the vehicle during operation is used as annotation information to annotate the sample data to generate training data.

2. The method according to claim 1, characterized in that Acquiring the vehicle image as sample data and acquiring the vehicle's running speed and engine speed at the same time includes: While the vehicle-mounted image acquisition device is used to acquire the vehicle-mounted image of the vehicle as sample data, the vehicle-mounted auxiliary device is used to acquire the vehicle's running speed and the engine's operating speed.

3. The method according to claim 2, characterized in that The vehicle-mounted auxiliary device is a device for acquiring the running status of the vehicle.

4. A data labeling device, characterized in that: include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: While acquiring the vehicle-mounted image of the vehicle as sample data, the driving speed of the vehicle and the operating speed of the engine are acquired; Determining the running state information of the vehicle according to the driving speed and the running speed of the engine, wherein the running state information of the vehicle includes: normal driving or dangerous driving; The state information of the vehicle during operation is used as annotation information to annotate the sample data to generate training data.

5. The device according to claim 4, characterized in that The processor acquires the vehicle's driving speed and the engine's operating speed while acquiring the vehicle's onboard image as sample data in the implementation step, including: While the vehicle-mounted image acquisition device is used to acquire the vehicle-mounted image of the vehicle as sample data, the vehicle-mounted auxiliary device is used to acquire the vehicle's running speed and the engine's operating speed.

6. The device according to claim 5, characterized in that The vehicle-mounted auxiliary device is a device for acquiring the running status of the vehicle.

Citation Information

Patent Citations

  • Voice processing method and device based on artificial intelligence

    CN107657947A

  • Intersection detection method based on vehicle-mounted monocular camera

    CN108877267A