Label data processing method, device, equipment, medium, program product and vehicle

Through the combination of image sensors and point cloud data, depth prediction models and point cloud matching algorithms are used to automatically identify and correct errors in obstacle labeling frames in driverless technology, solving the problem of low labeling efficiency in existing technologies and improving efficiency. Recognition accuracy.

CN118864799APending Publication Date: 2024-10-29BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310465893.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In existing driverless technology, the labeling process of obstacle information relies on manual labeling and manual selection after automated labeling, which is inefficient and difficult to quickly identify and correct errors in automated labeling.

Method used

The image sensor collects obstacle images and point cloud data, uses the depth prediction model and point cloud matching algorithm to obtain the point cloud annotation frame of the obstacle, and projects it into the image to determine the accuracy of the image annotation frame, automatically identify and Correct incorrect annotations.

Benefits of technology

It improves the efficiency of obstacle labeling, can quickly identify and correct errors in image labeling boxes, and improves the accuracy of the recognition model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864799A_ABST
    Figure CN118864799A_ABST
Patent Text Reader

Abstract

The invention discloses an annotation data processing method and device, equipment, a medium, a program product and a vehicle. The method comprises the steps of obtaining a first image of an obstacle and an image annotation box of the obstacle in the first image, and obtaining first point cloud data and a projection relation of the obstacle by using an image sensor parameter and a depth prediction model; second point cloud data of the obstacle and a point cloud marking frame of the obstacle in the second point cloud data are obtained, the pose relation of the first point cloud data and the second point cloud data in the same coordinate system is obtained through a point cloud matching algorithm, and based on the pose relation and the projection relation, the point cloud marking frame is projected into the first image to obtain a projection marking frame; and when the coincidence proportion of the projection annotation box and the image annotation box is smaller than a first preset proportion, determining that the image annotation box of the obstacle in the first image is wrong. Therefore, the first image with the wrong image annotation box can be quickly selected from the plurality of first images, and the annotation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, relates to a method, device, equipment, medium, program product and vehicle for processing labeled data. Background Art

[0002] In the field of unmanned driving technology, the acquisition of obstacle information is crucial. Since image sensors (such as cameras) are relatively low in cost, they are often used as the basic hardware for vehicles to obtain obstacle information. After that, image sensors are used to capture images containing obstacles, and recognition models are used to obtain obstacle information.

[0003] At present, a large amount of training data (i.e., images containing obstacle annotation boxes) is required in the training process of the recognition model. The existing method of obtaining training data is mostly to manually annotate obstacles in the image, which is time-consuming, labor-intensive and inefficient. In addition, there is also a method of obtaining obstacle information from the image using the recognition model in training and automatically annotating it, and then manually selecting the obstacles that are incorrectly annotated, modifying the annotation boxes, and then obtaining new training data, and using the new training data to continue training the recognition model in training to improve the recognition accuracy of the recognition model. Although the method of using automatic marking plus manual selection can improve the annotation efficiency, the efficiency of manual selection is still low. Therefore, if the incorrectly annotated objects can be selected more quickly from the automatically annotated information, it becomes an urgent problem to be solved. Summary of the invention

[0004] Embodiments of the present application provide a method, apparatus, device, medium, program product, and vehicle for processing labeled data to improve the efficiency of video frame labeling.

[0005] In a first aspect, an embodiment of the present application provides a method for processing labeled data, the method comprising:

[0006] Acquire a first image of an obstacle captured by an image sensor, and an image annotation box of the obstacle in the first image;

[0007] Obtaining first point cloud data and projection relationship of the first image using image sensor parameters and a depth prediction model;

[0008] Acquire second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, wherein the second point cloud data is point cloud data directly collected for the obstacle;

[0009] Using a point cloud matching algorithm to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system;

[0010] Based on the posture relationship and the projection relationship, projecting the point cloud annotation box into the first image to obtain a projected annotation box;

[0011] When the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio, it is determined that the image annotation frame of the obstacle in the first image is incorrect.

[0012] In a second aspect, an embodiment of the present application provides a labeling data processing device, the device comprising:

[0013] The device comprises:

[0014] A first acquisition module, used to acquire a first image of an obstacle captured by an image sensor, and an image annotation box of the obstacle in the first image;

[0015] A second acquisition module, used to obtain first point cloud data and projection relationship of the first image by using image sensor parameters and a depth prediction model;

[0016] A third acquisition module is used to acquire second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, wherein the second point cloud data is point cloud data directly collected for the obstacle;

[0017] A first determination module, configured to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system by using a point cloud matching algorithm;

[0018] A projection module, configured to project the point cloud annotation frame into the first image to obtain a projection annotation frame based on the posture relationship and the projection relationship;

[0019] The second determination module is configured to determine that the image annotation frame of the obstacle in the first image is incorrect when the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio.

[0020] In a third aspect, an embodiment of the present application provides a digital data processing device, the device comprising: a processor and a memory storing program instructions;

[0021] When the processor executes the program instructions, the method of the first aspect as described above is implemented.

[0022] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: the labeling data processing device of the second aspect or the labeling data processing device of the third aspect.

[0023] In a fifth aspect, an embodiment of the present application provides a storage medium, characterized in that computer program instructions are stored on the storage medium, and when the computer program instructions are executed by a processor, the method of the first aspect described above is implemented.

[0024] In a sixth aspect, an embodiment of the present application provides a computer program product, characterized in that the computer program product comprises computer program instructions, and when the computer program instructions are executed by a processor, the method of the first aspect described above is implemented.

[0025] The annotation data processing method, device, equipment, medium, program product and vehicle of the embodiment of the present application can obtain the first image of the obstacle and the image annotation frame of the obstacle in the first image, and obtain the first point cloud data and projection relationship of the obstacle by using the image sensor parameters and the depth prediction model; then obtain the second point cloud data of the obstacle and the point cloud annotation frame of the obstacle in the second point cloud data, and use the point cloud matching algorithm to obtain the posture relationship between the first point cloud data and the second point cloud data in the same coordinate system, and project the point cloud annotation frame into the first image based on the posture relationship and the projection relationship to obtain the projection annotation frame; when the overlap ratio of the projection annotation frame and the image annotation frame is less than the first preset ratio, it is determined that the image annotation frame of the obstacle in the first image is wrong. Therefore, the image annotation frame of the obstacle in the first image can be detected by the point cloud annotation frame of the obstacle to determine the accuracy of the image annotation frame of the obstacle in the first image, so that the first image with an incorrect image annotation frame can be quickly selected from multiple first images, thereby improving the efficiency of annotation. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0027] Figure 1 A flowchart of a method for processing labeled data provided in an embodiment of the present application;

[0028] Figure 2 A schematic diagram of the structure of a labeling data processing device provided in an embodiment of the present application;

[0029] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0031] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0032] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described.

[0033] The coordinates in the world coordinate system are expressed as (Xw, Yw, Zw).

[0034] The coordinates in the camera coordinate system are expressed as (Xc, Yc, Zc).

[0035] The coordinates in the image coordinate system are expressed as (x, y).

[0036] Camera internal parameters: Determine the projection relationship of the camera from the three-dimensional space to the two-dimensional image (camera coordinate system → imaging plane coordinate system). The internal parameters are expressed as M (fx, fy, u0, v0), where fx and fy represent the length units of a pixel in the x-direction and y-direction, respectively, that is, the size of the actual physical value represented by a pixel, which is the key to realize the conversion between the image physical coordinate system and the pixel coordinate system. u0 and v0 represent the horizontal and vertical pixel numbers between the center coordinates of the image and the coordinates of the image origin.

[0037] Camera extrinsic parameters: determine the relative position relationship between the camera coordinates and the world coordinate system (world coordinate system → camera coordinate system). The extrinsic parameters are expressed as R and T. R = R (α, β, γ) is the rotation matrix, which is γ around the z-axis of the camera coordinate system, β around the y-axis, and α around the x-axis. T = (Tx, Ty, Tz) is the translation vector. The six parameters (α, β, γ, Tx, Ty, Tz) are the camera extrinsic parameters. Pc = R * Pw + T, where Pw is the world coordinate and Pc is the camera coordinate.

[0038] Point cloud data: Scanned data is recorded in the form of points. Each point contains three-dimensional coordinates, and some may contain color information (RGB) or reflection intensity information (Intensity).

[0039] The embodiments of the present application provide a data transmission method, device, equipment, storage medium and vehicle to solve the above-mentioned technical problems.

[0040] The following first introduces the annotation data processing method provided in the embodiment of the present application.

[0041] Figure 1 The following is a flow chart of the method for processing the labeled data provided in the embodiment of the present application. Figure 1 As shown, the method may include the following steps S101 to S106:

[0042] S101, obtaining a first image of an obstacle captured by an image sensor and an image annotation box of the obstacle in the first image.

[0043] S102, obtaining first point cloud data and a projection relationship of a first image using image sensor parameters and a depth prediction model.

[0044] S103, obtaining second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, wherein the second point cloud data is point cloud data directly collected for the obstacle.

[0045] S104, using a point cloud matching algorithm to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system.

[0046] S105: Based on the posture relationship and the projection relationship, project the point cloud annotation box into the first image to obtain a projected annotation box.

[0047] S106: When the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio, it is determined that the image annotation frame of the obstacle in the first image is incorrect.

[0048] The specific implementation of the above steps will be described in detail below.

[0049] In an embodiment of the present application, the image annotation frame of the obstacle in the first image can be detected by the point cloud annotation frame of the obstacle to determine the accuracy of the image annotation frame of the obstacle in the first image, so that the first image with an incorrect image annotation frame can be quickly selected from multiple first images, thereby improving the efficiency of annotation.

[0050] In S101, a first image of an obstacle captured by an image sensor and an image annotation box of the obstacle in the first image are obtained.

[0051] The above obstacles may include buildings, traffic facilities, trees and other objects. The first image of the obstacle may be captured by a camera or other imaging device, that is, the first image includes the obstacle. For example, the first image of the obstacle may be captured by installing the camera on a vehicle while the vehicle is driving.

[0052] The image annotation box of the obstacle in the first image can be obtained through an image recognition model, and the image recognition model can be a pre-trained model that can recognize obstacles in the first image.

[0053] Specifically, after obtaining the first image of the obstacle, the first image may be directly used to identify the obstacle through an image recognition model to obtain an image annotation box of the obstacle in the first image.

[0054] In S102, first point cloud data and a projection relationship of a first image are obtained using image sensor parameters and a depth prediction model.

[0055] Among them, the depth prediction model can construct a viewing cone space according to the image sensor parameters, divide the image into N*N grids, and predict the depth information of the first image in each grid in the viewing cone space.

[0056] In some embodiments, the above S102 may include the following steps:

[0057] Inputting the image sensor parameters and the first image into a depth prediction model to obtain depth information of the first image;

[0058] Based on the depth information, first point cloud data of the first image is generated, wherein a point cloud data in the first point cloud data corresponds to a pixel point in the first image, and the projection relationship is the correspondence between the point cloud data in the first point cloud data and the pixel points in the image annotation box.

[0059] Specifically, the depth prediction model can be used to generate first point cloud data of the first image, and then the first point cloud data can be aligned with the pixel points in the first image, thereby determining the correspondence, i.e., the projection relationship, between the point cloud data in the first point cloud data and the pixel points in the first image.

[0060] In one example, the image sensor parameters (including viewpoint, viewing cone, projection angle, etc.) are first obtained, the image sensor parameters are input into a depth prediction model to obtain the viewing cone space, and then the first image is divided into N*N grids, and the depth information of the image in each grid in the viewing cone space is predicted; based on the viewing cone space and the depth information of the pixels in each grid in the viewing cone space, the point cloud data of each pixel in the viewing cone space, i.e., the first point cloud data, is obtained.

[0061] The depth prediction model may use an existing model such as an LSS model. In S103, the second point cloud data and the point cloud annotation box of the obstacle in the second point cloud data are obtained.

[0062] The second point cloud data is point cloud data collected directly for the obstacle. Point cloud data refers to a set of vectors in a three-dimensional coordinate system. The point cloud annotation box of the obstacle in the second point cloud data is the three-dimensional annotation box of the obstacle in the collected second point cloud data.

[0063] In some embodiments, the above S103 may include the following steps:

[0064] Collect second point cloud data of obstacles through laser radar;

[0065] The obstacles in the second point cloud data are marked to obtain a point cloud marking box of the obstacles in the second point cloud data.

[0066] Specifically, a laser radar device may be used to perform laser scanning on the same obstacle to obtain second point cloud data, and the obstacle in the second point cloud data may be annotated to obtain a point cloud annotation box of the obstacle.

[0067] Optionally, when marking obstacles in the second point cloud data, the three-dimensional information of the obstacles in the second point cloud data can be identified by using a 3D recognition model based on the second point cloud data, and a point cloud annotation box of the obstacles can be automatically marked in the second point cloud data. The second point cloud data to be obtained is input into the 3D recognition model to obtain a point cloud annotation box of the obstacle. The 3D recognition model can be a model that can identify obstacles in the point cloud data by training a pre-neural network model through the acquisition of multi-line laser radar point cloud data.

[0068] In some examples, the 3D recognition model may be a PointNet, PointNet++, VoxelNet, SECOND or other recognition model.

[0069] Optionally, the obstacles in the second point cloud data may be marked by manually marking a point cloud marking box of the obstacles in the second point cloud data.

[0070] In S104, a point cloud matching algorithm is used to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system.

[0071] Specifically, due to the different ways of acquiring the first point cloud data and the second point cloud data, the coordinate systems of the first point cloud data and the second point cloud data may be different. Therefore, it is necessary to associate the first point cloud data with the second point cloud data to determine the corresponding relationship between the first point cloud data and the second point cloud data in the same coordinate system.

[0072] The first point cloud data is point cloud data in the viewing cone space constructed based on image sensor parameters (such as camera internal and external parameters). Therefore, the point cloud coordinate system of the first point cloud data may be the world coordinate system or the camera coordinate system; and the point cloud coordinate system obtained by parsing the second point cloud data belongs to the lidar coordinate system.

[0073] Therefore, in some embodiments, the above S104 may include the following steps:

[0074] Processing the first point cloud data and the second point cloud data in a coordinate system;

[0075] The point cloud matching algorithm is used to obtain the position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system.

[0076] It should be noted here that the first image and the second point cloud data are data collected for the same obstacle at the same time.

[0077] Specifically, processing the coordinate systems of the first point cloud data and the second point cloud data can be to establish a positional relationship between the relative coordinate systems of the two, and to align the two three-dimensional coordinate systems into one three-dimensional coordinate system (such as a global coordinate system or a world coordinate system) by rotation or translation; after the coordinates of the first point cloud data and the second point cloud data are converted into the same coordinate system, the first point cloud data and the second point cloud data can be matched through a point cloud matching algorithm to obtain the position and posture relationship of the two point cloud sets in the same coordinate system.

[0078] The point cloud matching algorithm may be an ICP algorithm, a PL-ICP algorithm, a NICP algorithm or an IMLS-ICP algorithm, etc., which is not limited in this application. In S105, based on the posture relationship and the projection relationship, the point cloud annotation frame is projected into the first image to obtain a projected annotation frame.

[0079] Specifically, first, based on the posture relationship between the first point cloud data and the second point cloud data, the target point cloud data corresponding to the point cloud data in the point cloud annotation box of the second point cloud data can be determined; then, based on the projection relationship between the first point cloud data and each pixel point in the image annotation box in the second image, the pixel points corresponding to the target point cloud data in the first image are determined to obtain the projection annotation box.

[0080] In one example, the point cloud annotation box in the first point cloud data corresponds to a point in the point cloud and a viewpoint (determined by image sensor parameters) and a line (projection relationship) is used to obtain points where the line coincides with the coordinates of the plane where the first image is located. The points where the coordinates coincide are the projected annotation box obtained by projecting the point cloud annotation box into the first image.

[0081] In S106, when the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio, it is determined that the image annotation frame of the obstacle in the first image is incorrect.

[0082] Specifically, when the overlap ratio between the projection annotation frame and the image annotation frame is less than the first preset ratio, this indicates that the image annotation frame of the obstacle in the first image is inaccurate, and the target obstacle annotation information in the first video frame needs to be corrected.

[0083] In this embodiment, the image annotation box of the obstacle can be compared with the projected annotation box of the point cloud annotation box of the obstacle on the first image, and whether the image annotation box of the obstacle in the first image is wrong can be determined by judging whether the overlap ratio of the two is less than a first preset ratio, thereby quickly screening out the first images with incorrect annotations from multiple first images; for example, the ratio of the overlap area of ​​the projection annotation box and the image annotation box to the area of ​​the image annotation box is used as the overlap ratio, or.

[0084] The overlap ratio may be the ratio of the overlap area between the projection annotation box and the image annotation box to the area of ​​the image annotation box, or the ratio of the overlap area between the projection annotation box and the image annotation box to the area of ​​the projection annotation box, and so on. There is no limitation on the method for obtaining the overlap ratio.

[0085] In some embodiments, after the above S106, the following steps may also be included:

[0086] The image annotation box of the obstacle in the first image is corrected based on the projected annotation box.

[0087] Specifically, the image annotation frame may be updated to a projection annotation frame, or the image annotation frame may be manually modified based on the projection annotation frame.

[0088] In this embodiment, after the projected annotation frame is obtained, the image annotation frame of the obstacle in the first image is corrected by the projected annotation frame to improve the accuracy of the annotation.

[0089] Based on the annotated data processing method provided in the above embodiment, the present application also provides a specific implementation of an annotation device. Please refer to the following embodiment.

[0090] See first Figure 2 The labeling device 200 provided in the embodiment of the present application may include the following modules:

[0091] A first acquisition module 201 is used to acquire a first image of an obstacle captured by an image sensor, and an image annotation box of the obstacle in the first image;

[0092] A second acquisition module 202 is used to obtain first point cloud data and a projection relationship of a first image by using image sensor parameters and a depth prediction model;

[0093] The third acquisition module 203 is used to acquire second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, where the second point cloud data is point cloud data directly collected for the obstacle;

[0094] A first determination module 204 is used to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system by using a point cloud matching algorithm;

[0095] A projection module 205 is used to project the point cloud annotation frame into the first image to obtain a projected annotation frame based on the posture relationship and the projection relationship;

[0096] The second determination module 206 is configured to determine that the image annotation frame of the obstacle in the first image is incorrect when the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio.

[0097] The labeling device provided in the embodiment of the present application can detect the image labeling frame of the obstacle in the first image through the point cloud labeling frame of the obstacle, and determine the accuracy of the image labeling frame of the obstacle in the first image, so as to quickly select the first image with an incorrect image labeling frame from multiple first images, thereby improving the labeling efficiency.

[0098] In some embodiments, the above-mentioned labeling device 200 may include:

[0099] The correction module is used to correct the image annotation frame of the obstacle in the first image based on the projected annotation frame.

[0100] In some embodiments, the second acquisition module 202 may include:

[0101] A first determining unit, configured to input the image sensor parameters and the first image into a depth prediction model to obtain depth information of the obstacle;

[0102] A generating unit is used to generate first point cloud data of the obstacle based on the depth information, wherein a point cloud data in the first point cloud data corresponds to a pixel point in the image annotation frame, and the projection relationship is the correspondence between the point cloud data in the first point cloud data and the pixel points in the image annotation frame.

[0103] In some embodiments, the third acquisition module 203 may include:

[0104] A collection unit, used for collecting second point cloud data of obstacles through a laser radar;

[0105] The marking unit is used to mark the obstacle in the second point cloud data to obtain a point cloud marking box of the obstacle in the second point cloud data.

[0106] In some embodiments, the first determining module 204 may include:

[0107] A processing unit, used for processing the first point cloud data and the second point cloud data in a coordinate system;

[0108] The matching unit is used to obtain the position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system by using a point cloud matching algorithm.

[0109] The above-mentioned embodiments of the present application can detect the image annotation frame of the obstacle in the first image through the point cloud annotation frame of the obstacle, and determine the accuracy of the image annotation frame of the obstacle in the first image, so that the first image with an incorrect image annotation frame can be quickly selected from multiple first images, thereby improving the annotation efficiency.

[0110] Figure 2 Each module / unit in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.

[0111] Based on the labeling device provided in the above embodiment, the present application also provides a vehicle accordingly. The vehicle includes: the above labeling device, and the labeling device is used to implement the labeling data processing method provided in the above embodiment.

[0112] Based on the annotated data processing method provided in the above embodiment, the present application also provides a specific implementation method of the electronic device accordingly. Please refer to the following embodiment.

[0113] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0114] The electronic device may include a processor 301 and a memory 302 storing computer program instructions.

[0115] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0116] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 302 may include a removable or non-removable (or fixed) medium, or the memory 302 is a non-volatile solid-state memory. The memory 302 may be inside or outside the integrated gateway disaster recovery device.

[0117] In one example, the memory 302 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0118] The memory 302 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to any embodiment of the present disclosure.

[0119] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement Figure 1 The method / steps S101 to S103 in the embodiment shown in the figure are achieved Figure 1 The corresponding technical effects achieved by executing the methods / steps in the example shown are not repeated here for the sake of brevity.

[0120] In one example, the electronic device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0121] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0122] Bus 310 includes hardware, software or both, and the components of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0123] Based on the data processing device provided in the above embodiment, accordingly, the present application also provides a vehicle, the vehicle comprising: the above data processing device, the data processing device is used to implement the annotation data processing method provided in the above embodiment.

[0124] In addition, in combination with the annotated data processing method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the annotated data processing methods in the above embodiment is implemented.

[0125] To summarize, the annotation data processing method, device, vehicle equipment and computer storage medium of the embodiments of the present application can detect the image annotation box of the obstacle in the first image through the point cloud annotation box of the obstacle, and determine the accuracy of the image annotation box of the obstacle in the first image, so as to quickly select the first image with an incorrect image annotation box from multiple first images, thereby improving the annotation efficiency.

[0126] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0127] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0128] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0129] The above reference is according to the method of the embodiment of the present application, the flow chart and / or block diagram of the device (system) and the computer program product to describe various aspects of the present application. It should be understood that each box in the flow chart and / or block diagram and the combination of each box in the flow chart 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, or other programmable annotation device to produce a machine so that these instructions executed by the processor of the computer or other programmable annotation device enable the implementation of the function / action specified in one or more boxes of the flow chart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flow chart and the combination of the boxes in the block diagram and / or flow chart can also be implemented by special-purpose hardware that performs a specified function or action, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0130] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for processing labeled data, characterized in that: The method comprises: Acquire a first image of an obstacle captured by an image sensor, and an image annotation box of the obstacle in the first image; Obtaining first point cloud data and projection relationship of the first image using image sensor parameters and a depth prediction model; Acquire second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, wherein the second point cloud data is point cloud data directly collected for the obstacle; Using a point cloud matching algorithm to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system; Based on the posture relationship and the projection relationship, projecting the point cloud annotation box into the first image to obtain a projected annotation box; When the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio, it is determined that the image annotation frame of the obstacle in the first image is incorrect.

2. The method according to claim 1, characterized in that When the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio, after determining that the image annotation frame of the obstacle in the first image is incorrect, the method further includes: The image annotation box of the obstacle in the first image is corrected based on the projected annotation box.

3. The method according to claim 1, characterized in that: The method of obtaining the first point cloud data and the projection relationship of the obstacle by using the image sensor parameters and the depth prediction model includes: Inputting the image sensor parameters and the first image into a depth prediction model to obtain depth information of the obstacle; Based on the depth information, first point cloud data of the obstacle is generated, wherein a point cloud data in the first point cloud data corresponds to a pixel point in the image annotation box, and the projection relationship is the correspondence between the point cloud data in the first point cloud data and the pixel points in the image annotation box.

4. The method according to claim 1, characterized in that: The obtaining of the second point cloud data and the point cloud annotation box of the obstacle in the second point cloud data includes: Collecting second point cloud data of the obstacle by using a laser radar; The obstacle in the second point cloud data is labeled to obtain a point cloud labeling box of the obstacle in the second point cloud data.

5. The method according to claim 1, characterized in that The step of obtaining the position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system by using a point cloud matching algorithm includes: Processing the first point cloud data and the second point cloud data in a coordinate system; The point cloud matching algorithm is used to obtain the position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system.

6. A labeling data processing device, characterized in that: The device comprises: A first acquisition module, used to acquire a first image of an obstacle captured by an image sensor, and an image annotation box of the obstacle in the first image; A second acquisition module, used to obtain first point cloud data and projection relationship of the first image by using image sensor parameters and a depth prediction model; A third acquisition module is used to acquire second point cloud data and a point cloud annotation box of the obstacle in the second point cloud data, wherein the second point cloud data is point cloud data directly collected for the obstacle; A first determination module, configured to obtain a position and posture relationship between the first point cloud data and the second point cloud data in the same coordinate system by using a point cloud matching algorithm; A projection module, configured to project the point cloud annotation frame into the first image to obtain a projection annotation frame based on the posture relationship and the projection relationship; The second determination module is configured to determine that the image annotation frame of the obstacle in the first image is incorrect when the overlap ratio between the projection annotation frame and the image annotation frame is less than a first preset ratio.

7. A labeling data processing device, characterized in that: The device comprises: a processor and a memory storing program instructions; When the processor executes the program instructions, the method according to any one of claims 1 to 5 is implemented.

8. A storage medium, characterized in that: The storage medium stores computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The computer program product comprises computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

10. A vehicle, characterized in that: The vehicle comprises: The labeling data processing apparatus as claimed in claim 6 or the labeling data processing device as claimed in claim 7.

Citation Information

Cited By

  • Data labeling method and device, medium and product

    CN119296105A

  • Data annotation methods, equipment, media and products

    CN119296105B