Point cloud data labeling method and device, medium, equipment and program product

By obtaining and displaying annotation tips in environmental images during the point cloud data annotation process, the error problem caused by the experience bias of annotators is solved, and the accuracy and efficiency of point cloud data annotation are improved.

CN118644853APending Publication Date: 2024-09-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410685263.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In the process of labeling point cloud data, due to the experience bias of labelers, labeling errors and the difficulty of labeling similar objects increase, affecting the accuracy of the subsequent training process.

Method used

By determining the corresponding position of the cursor point in the environment image in the point cloud annotation interface, the annotation prompt image is obtained and displayed in the annotation interface, helping the annotator to clarify the real environment information of the current location, and improving the accuracy of annotation and the accuracy of the regional scope. sex.

Benefits of technology

It reduces annotation errors based on experience, improves the accuracy of point cloud data annotation and the effectiveness of subsequent processing processes, reduces the number of manual adjustments by annotators, and improves annotation efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644853A
    Figure CN118644853A
Patent Text Reader

Abstract

The invention relates to a point cloud data labeling method and device, a medium, equipment and a program product. The method comprises the following steps: determining a first coordinate of a cursor point in a point cloud labeling interface; a second coordinate corresponding to the first coordinate in an environment image is determined, the environment image is an image acquired at the same time with point cloud data in the point cloud labeling interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image; determining a marking prompt image corresponding to the cursor point from the environment image according to the second coordinate; and displaying the annotation prompt image in the point cloud annotation interface. Therefore, the real environment information at the current cursor point can be displayed for a labeling person when the labeling person carries out labeling, so that the labeling person can more clearly determine the surrounding environment at the current labeling position based on the real environment information, and the labeling person is assisted to carry out labeling, so that the labeling accuracy of point cloud data labeling and the accuracy of the labeling area range are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a point cloud data annotation method, apparatus, medium, device, and program product. Background Art

[0002] With the development of artificial intelligence technology, automatic recognition technology provides more convenience for users. For example, point cloud data of various objects can be collected in advance, so that training data can be obtained by manually annotating the point cloud data, and then artificial intelligence can be trained based on the training data to achieve automatic recognition.

[0003] In the related art, when annotating point cloud data, the data is usually displayed to the annotator in the annotation interface so that the annotator can annotate the corresponding category of the annotated object based on the annotator's experience. In the above process, the annotation of similar objects may be biased based on the annotator's experience, affecting the subsequent training process. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] In a first aspect, the present disclosure provides a point cloud data annotation method, the method comprising:

[0006] Determine the first coordinate of the cursor point in the point cloud annotation interface;

[0007] Determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image;

[0008] Determining, from the environment image, a label prompt image corresponding to the cursor point according to the second coordinate;

[0009] The annotation prompt image is displayed in the point cloud annotation interface.

[0010] In a second aspect, the present disclosure provides a point cloud data annotation device, the device comprising:

[0011] A first determination module, used to determine a first coordinate of a cursor point in a point cloud annotation interface;

[0012] A second determination module is used to determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image;

[0013] A third determining module, configured to determine, from the environment image, a labeling prompt image corresponding to the cursor point according to the second coordinate;

[0014] The first display module is used to display the annotation prompt image in the point cloud annotation interface.

[0015] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the steps of the method described in the first aspect when the computer program is executed by a processing device.

[0016] In a fourth aspect, the present disclosure provides an electronic device, including:

[0017] a storage device having a computer program stored thereon;

[0018] A processing device is used to execute the computer program in the storage device to implement the steps of the method described in the first aspect.

[0019] In a fifth aspect, the present disclosure provides a computer program product, including a computer program, which implements the steps of the method described in the first aspect when executed by a processor.

[0020] In the above technical scheme, in the process of annotating point cloud data, the corresponding position of the cursor point in the environmental image can be determined according to the position of the cursor point, and then a labeling prompt image can be obtained, so that the real environment information at the current cursor point can be displayed to the annotator when the annotator is annotating, so that the surrounding environment at the current annotation position can be more clearly understood based on the real environment information, and the annotator is assisted in the labeling, so as to improve the accuracy of the labeling of the point cloud data, and at the same time, the accuracy of the regional scope of the annotated point cloud data can also be improved, providing reliable data support for the annotator to perform effective labeling, avoiding labeling errors based on the personal experience of the annotator, and at the same time, the accuracy and effectiveness of the subsequent processing process based on the data obtained by the annotation can be improved to a certain extent.

[0021] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:

[0023] Figure 1 It is a flowchart of a point cloud data annotation method provided according to some embodiments of the present disclosure.

[0024] Figure 2 is a schematic diagram of a point cloud annotation interface provided according to some embodiments of the present disclosure.

[0025] Figure 3 is a schematic diagram of corner point types of a labeling box provided according to some embodiments of the present disclosure.

[0026] Figure 4 It is a schematic diagram of the angle between the orientation of the annotation box and the target direction provided according to some embodiments of the present disclosure.

[0027] Figure 5A and Figure 5B It is a schematic diagram of generating a paste box according to some embodiments of the present disclosure.

[0028] Figure 6 is a schematic diagram of a point cloud annotation interface provided according to some embodiments of the present disclosure.

[0029] Figure 7 It is a block diagram of a point cloud data annotation device provided according to some embodiments of the present disclosure.

[0030] Figure 8 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0031] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain 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 construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0032] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0033] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0034] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0035] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0036] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0037] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0038] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0039] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0040] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0041] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0042] As described in the background technology, in the related art, annotators may need to perform data annotation in a variety of scenarios. The applicant's research found that in some scenarios, due to the high similarity between the annotated objects, the annotation error will also increase. For example, in a parking lot scene with point cloud annotation, annotators need to annotate obstacles in the point cloud data, such as cars and people. However, in the parking lot scene, there are many vehicles with the same 3D features, and it is difficult for annotators to determine through their experience which car in the picture is currently annotated in the 3D point cloud. Based on this, the present disclosure provides the following embodiments to assist annotators in the annotation process.

[0043] Figure 1 As shown, it is a flowchart of a point cloud data annotation method provided according to some embodiments of the present disclosure, such as Figure 1 As shown, the method may include:

[0044] In step 11, the first coordinate of the cursor point in the point cloud annotation interface is determined.

[0045] The first coordinate may be a coordinate in a world coordinate system, and the world coordinate system may be used to represent the three-dimensional coordinates of an object in the real world. In this step, the cursor point may be a mouse point on the screen, and after detecting the position of the mouse point, the point cloud data corresponding to the mouse point in the point cloud annotation interface is obtained, and the coordinates in the point cloud data are used as the first coordinate.

[0046] In step 12, determine the second coordinate corresponding to the first coordinate in the environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is the coordinate under the pixel coordinate corresponding to the environment image.

[0047] In this step, the coordinates in the world coordinate system can be mapped to the pixel coordinate system, so that the position of the point cloud data in the corresponding image can be determined. In a camera imaging system, there are usually four coordinate systems: the world coordinate system, the camera coordinate system, the image coordinate system, and the pixel coordinate system. Therefore, in this step, the second coordinate can be determined in the following way:

[0048]

[0049] Among them, the for representing the first coordinate; Used to represent the second coordinate; f is used to represent the image distance, dX and dY are used to represent the physical length of a pixel on the photosensitive plate in the X and Y directions respectively, (u0, v0) is used to represent the coordinates of the center of the photosensitive plate of the image acquisition device in the pixel coordinate system, θ is used to represent the angle between the horizontal and vertical edges of the photosensitive plate, R is used to represent the rotation matrix, and T is used to represent the translation matrix.

[0050] In the pixel coordinate system, it is used to represent the coordinate system corresponding to the camera imaging plane. This coordinate system is used to represent that when the camera imaging is displayed on an electronic device, the upper left corner of the camera imaging is the origin of the coordinate system. The coordinate system can be represented by (u, v), so that based on the obtained second coordinate, it is possible to directly determine which display position the coordinate of the point cloud data corresponds to in the camera imaging.

[0051] In step 13, according to the second coordinate, a label prompt image corresponding to the cursor point is determined from the environment image.

[0052] In step 14, the annotation prompt image is displayed in the point cloud annotation interface.

[0053] As an example, if the position of the cursor point is determined to be inside the environment image according to the second coordinate, that is, the position corresponding to the cursor point is displayed in the environment image, then the environment image can be used as the annotation prompt image, such as Figure 2 As shown in the box K, when the labeling personnel annotate the point cloud data, they can combine the environmental image to more clearly define the labeling classification or labeling edge corresponding to the point cloud data at the current location, thereby improving the labeling efficiency and accuracy of the point cloud data.

[0054] The region position and region size for displaying the annotation prompt image in the point cloud annotation interface can be pre-set, and when the annotation prompt image is displayed, it can be displayed at the region position. As another example, the annotation prompt image can also be adjusted based on the region size, such as being displayed in a cropped or scaled manner, which can be set based on the actual application scenario, and the present disclosure does not limit this.

[0055] In the above technical scheme, in the process of annotating point cloud data, the corresponding position of the cursor point in the environmental image can be determined according to the position of the cursor point, and then a labeling prompt image can be obtained, so that the real environment information at the current cursor point can be displayed to the annotator when the annotator is annotating, so that the surrounding environment at the current annotation position can be more clearly understood based on the real environment information, and the annotator is assisted in the labeling, so as to improve the accuracy of the labeling of the point cloud data, and at the same time, the accuracy of the regional scope of the annotated point cloud data can also be improved, providing reliable data support for the annotator to perform effective labeling, avoiding labeling errors based on the personal experience of the annotator, and at the same time, the accuracy and effectiveness of the subsequent processing process based on the data obtained by the annotation can be improved to a certain extent.

[0056] In some possible embodiments, there are multiple environmental images. For example, in some application scenarios, a point cloud acquisition vehicle is usually provided with multiple image acquisition devices, and when acquiring point cloud data, images can be acquired simultaneously based on the multiple image acquisition devices to obtain environmental images at multiple acquisition angles.

[0057] Correspondingly, determining the annotation prompt image corresponding to the cursor point from the environment image according to the second coordinate may include:

[0058] For each of the environment images, the distance between the coordinates of the center point of the environment image and the second coordinates corresponding to the environment image is determined.

[0059] Among them, the second coordinate is used to represent the position of the point cloud data at the cursor point in the environmental image. In this step, the center point coordinates of the environmental image, that is, the coordinates of the central pixel point of the environmental image in the pixel coordinate system, can be obtained, and then the distance calculation can be performed based on the center point coordinates and the second coordinates, for example, the Euclidean distance between the two can be calculated.

[0060] The annotation prompt image is generated according to the corresponding target environment image with the smallest distance.

[0061] Among them, the smaller the distance between the center point coordinates of the environmental image and the second coordinates corresponding to the environmental image, the closer the point cloud data at the cursor point is to the center position displayed in the environmental image, and the more comprehensive the environmental information of the point cloud data at the cursor point displayed in the environmental image.

[0062] As an example, a target environment image with the smallest corresponding distance can be obtained, and the target environment image can be displayed as a labeling prompt image. When determining the label corresponding to the point cloud data, the labeling personnel can make a comprehensive determination based on the displayed labeling prompt image to improve the accuracy of data labeling.

[0063] As another example, generating the annotation prompt image according to the corresponding target environment image with the smallest distance may include:

[0064] In the target environment image, a local image of the target size is acquired with the second coordinate corresponding to the target environment image as the center.

[0065] Among them, the collected environmental image usually contains a large range of environmental information, and when annotating point cloud data, it is usually annotated for a certain object or a certain area therein. In this embodiment, in order to further improve the matching degree between the annotation prompt image and the point cloud data at the cursor, it can be cropped from the target environmental image to obtain an image that matches the point cloud data at the cursor.

[0066] For example, the image is cropped with the second coordinate as the center to obtain a local image at the current marked position from the target environment image. The target size can be set based on the actual application scenario, and the present disclosure does not limit this. For example, it can be set to 20px, and then a square area, that is, an image in a 20px*20px area centered on the second coordinate, can be obtained as the local image.

[0067] The annotation prompt image is generated based on the partial image.

[0068] As an example, the local part may be used as the annotation prompt image for display, so that the surrounding environment of the point cloud data at the current mouse position in the real world may be displayed in the point cloud annotation interface.

[0069] As another example, the size adjustment coefficient of the partial image may be determined based on the size of the display area of ​​the annotation prompt image in the point cloud annotation interface and the target size. For example, in an application scenario, if the target size is set smaller than the size of the display area, then only the environment around the point cloud data at the cursor can be cropped from the target environment image as much as possible based on the target size, and then the partial image is enlarged by the size adjustment coefficient to be displayed in the display area.

[0070] Therefore, through the above technical solution, it is possible to quickly locate the annotation environment near the point cloud data at the cursor point, and determine the surrounding environment image that is closer to the point cloud data at the cursor point from the environment image, so that the annotator can be more clear about the real environment when annotating, thereby greatly improving the accuracy of the annotation label and the accuracy of the annotation box size, and improving the annotation efficiency and accuracy.

[0071] In actual application scenarios, multiple similar labeled objects may appear in the same labeling scenario. For example, in a parking lot labeling scenario, most vehicles have similar size ranges. In this case, the above solution can be combined with the labeling prompt image to quickly determine which vehicle in the image the point cloud data corresponds to, thereby achieving accurate labeling.

[0072] Furthermore, in this scenario, since the objects to be annotated are similar, after annotating one of them, the other objects can be quickly annotated by copying and pasting the annotation box. For example, the annotator can imagine the environment of the currently annotated vehicle based on his or her own experience, and use the mouse or other tools to generate a 3D box within a certain predicted range, and then copy and manually adjust it multiple times to fit the current annotated object, thereby achieving copying and annotating the annotation box. In the above process, the method of copying and annotating objects of the same or similar size is usually to copy the center point of the current box to the center point of another box. However, due to the center error problem of radar reflection obstacles, multiple adjustments are still required during the copy box annotation process, the annotation efficiency is low, and the user operation is more cumbersome. Based on this, the present disclosure provides the following embodiments to further assist the user in the annotation process and improve the annotation efficiency.

[0073] In some possible embodiments, the method may further include:

[0074] In response to receiving a paste operation on the annotation box, a corner point type corresponding to a paste cursor point corresponding to the paste operation in the paste box is determined.

[0075] The annotation box can be a box that has been annotated in the point cloud annotation interface. For example, if vehicle A has been annotated in the point cloud annotation interface, the annotation box of vehicle A can be copied, and then a position point can be selected in the point cloud annotation interface to paste it. The paste cursor point corresponding to the paste operation is the position point selected for pasting in the point cloud annotation interface, which can be represented based on the coordinates in the world coordinate system corresponding to the pasted mouse point, and the paste box represents the box corresponding to the annotation box after pasting.

[0076] In this embodiment, in order to improve the annotation efficiency of the paste box, the paste cursor point can be used as an edge point to realize the copying and pasting of the annotation box. In the annotation process, the vehicle can be approximated as a rectangle. For the convenience of annotation, the surface corresponding to the lower surface of the vehicle can be used as the annotation surface. The corner point type represents the corresponding position of the edge point in the lower surface, such as the upper left corner, the upper right corner, the lower left corner, and the lower right corner. The upper left corner is used to represent the corner in front of the left side of the driver's seat, and the lower right corner is used to represent the corner behind the right side of the driver's seat. Figure 3 The arrow in the middle indicates the vehicle's forward direction. Forward driving is forward, and reverse driving is backward. Figure 3 As shown, the upper left corner of the vehicle is A1 and the lower right corner is B2.

[0077] As an example, the corner point type may be set based on an actual application scenario, and the determining of the corner point type corresponding to the paste cursor point corresponding to the paste operation in the paste box may include:

[0078] The angle between the orientation of the annotation box and the target direction is obtained.

[0079] The target direction can be set in advance, for example, the target direction can be set to the -X axis direction corresponding to the point cloud collection vehicle, and the -X axis direction can represent the reverse direction of the point cloud collection vehicle. Figure 4 As shown in the figure, the solid line direction is used to indicate the target direction, and the dotted line direction is used to indicate the orientation of the annotation box. The angle between the two can be expressed by Figure 4 The θ in represents the rotation angle of the annotation box. As an example, the angle can be obtained from the rotation.z of the point cloud data.

[0080] According to the angle of the included angle and the angle range corresponding to each corner point type, the corner point type corresponding to the angle range to which the angle of the included angle belongs is determined as the corner point type corresponding to the paste cursor point in the paste box.

[0081] In this step, the angle ranges of different corner point types can be set in advance based on the actual vehicle position relationship and application scenarios. As an example, the corner point types can include upper right corner and lower right corner, and the corresponding angle ranges can be set respectively, where the angle range can be expressed in radians. If the corner point type is lower right corner, the generated paste box is located at the upper left corner of the paste cursor point. Figure 5A As shown, K1 is the marked box, the corner point type corresponding to the determined paste cursor point is the lower right corner, K2 is the generated paste box, D1 is the paste cursor point, and its corresponding angle range can be expressed as (-halfPI, halfPI). If the corner point type is the upper right corner, the generated paste box is located at the lower left corner of the paste cursor point, as shown in FIG. Figure 5B As shown, D2 is the paste cursor point, and its corresponding angle range can be expressed as (-PI, -halfPI) and (halfPI, PI).

[0082] After obtaining the angle, the angle can be matched with the preset angle range. For example, if the angle is 1.5 and belongs to the range (halfPI,PI), the corner point type can be determined as the upper right corner, that is, the generated paste box is located at the lower left corner of the paste cursor point.

[0083] Therefore, through the above technical solution, the related objects between the paste box and the paste position can be determined by the orientation of the annotation box, so as to quickly generate the corresponding paste box. At the same time, taking the paste position as the edge position of the paste box can reduce the deviation of the paste box position caused by the inaccurate center point of the point cloud data to a certain extent, saving the number of times the annotator manually adjusts the paste box, and improving the annotation efficiency.

[0084] Afterwards, based on the corner point type and the size information of the annotation box, the pasting position information of the pasting box is determined.

[0085] After the corner point type is determined, the paste cursor point can be used as the edge point corresponding to the corner point type, and the size information of the annotation box can be used as the size information of the paste box to generate the paste box and determine its paste position.

[0086] As an example, determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box may include:

[0087] If the orientation of the annotation box is consistent with the target direction, the coordinates of the center point of the paste box are determined based on the corner point type, the paste cursor point and the size information of the annotation box.

[0088] If the orientation of the annotation box is consistent with the target direction, it means that the annotation box has not been rotated, and the center point coordinates of the paste box can be determined. As an example, the coordinates of the paste cursor point (a, b, c), the length, width and height of the annotation box size information are represented as x, y, and z respectively, then the center point coordinates of the paste box (centerX, centerY, centerZ) can be expressed as follows:

[0089] If the corner point type is the upper right corner, then centerX = ax / 2, centerY = by / 2, centerZ = c+z / 2 If the corner point type is the lower right corner, then centerX = ax / 2, centerY = b+y / 2, centerZ = c+z / 2

[0090] Based on the size information of the marking box and the center point coordinates, the pasting position information of the pasting box is determined.

[0091] After the center point coordinates are determined, the paste position information of the corresponding paste box can be generated in combination with the size information. This process can be determined based on a common cuboid generation method in the art, which will not be described in detail here.

[0092] Therefore, through the above technical solution, the paste cursor point can be used as the edge point of the paste box to generate a paste box. The annotator does not need to determine the corresponding center point position by himself, and can directly paste from the edge position based on the displayed point cloud data, thereby reducing the number of manual adjustments by the user and improving the user's annotation efficiency.

[0093] In some possible embodiments, determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box may include:

[0094] If the orientation of the marking box is inconsistent with the target direction, the simulated cursor point corresponding to the pasted cursor point is determined based on the angle between the orientation and the target direction, wherein the simulated cursor point is used to represent the position of the pasted cursor point when the orientation is rotated to be consistent with the target direction.

[0095] If the orientation of the annotation box is consistent with the target direction, it means that the annotation box has been rotated. At this time, it is difficult to directly determine the coordinates of the center point of the paste box based on the above method. In this case, a reverse rotation process can be performed first to determine the position (a1, b1, c1) where the paste cursor point should be located when the annotation box is not rotated.

[0096] Among them, the calculation can be performed based on the rotation formula in the art. In this step, when determining the coordinates of the simulated cursor point, the angle value of the angle between the orientation of the annotation box and the target direction can be used as the simulated angle value. In the parking lot annotation scenario, the c value of the pasted cursor point usually does not change. Therefore, a1 and b1 can be determined based on the following rotation formula, where α is used to represent the angle value of the rotation. In the above process, it can be the simulated angle value:

[0097]

[0098] Determine the center point coordinates of the pasting frame based on the corner point type, the simulated cursor point and the size information of the annotation frame;

[0099] Based on the size information of the annotation box and the center point coordinates, simulated pasting position information is determined.

[0100] After the paste cursor point is converted into a simulation cursor point, the simulation paste position information can be determined in the implementation method described above when the orientation of the annotation box is consistent with the target direction, which will not be described in detail here.

[0101] Based on the angle between the orientation and the target direction, the simulated pasting position information is rotated to obtain the pasting position information of the pasting frame.

[0102] Afterwards, the simulated pasting information can be rotated based on the angle between the orientation and the target direction and based on the coordinates of the center point, wherein the way of rotating the cuboid around the center point can be determined based on the rotation formula in the related art, which will not be repeated here.

[0103] As an example, in the above text, based on the angle between the orientation and the target direction, when the simulated cursor point corresponding to the paste cursor point is determined, the orientation is rotated γ degrees clockwise to the target direction. Then, this step can rotate the simulated paste position information counterclockwise by γ degrees to make the orientation of the paste box and the copied annotation box consistent, thereby realizing fast copying and pasting of the annotation box, effectively saving the user's repeated annotation box operation process and improving annotation efficiency.

[0104] Based on the pasting position information, the pasting box is displayed in the annotation interface.

[0105] Therefore, through the above technical solution, the copy and paste operation of the annotation box can be implemented by using the paste cursor point as the edge point. The user does not need to consider the center point position of the annotation object by himself, and can directly select the edge point to be pasted based on the displayed point cloud data, which is convenient for the user to operate. In the case that the center of the radar reflection obstacle object is inaccurate, the pasted annotation box can be quickly fitted to the new annotation object based on the above method, reducing the number of times the user needs to manually fit, thereby improving the annotation efficiency of the point cloud data.

[0106] Among them, the sizes of different objects to be annotated are similar but generally different, and usually need to be manually adjusted by the user to ensure that the annotation box fits the annotated object. The following embodiments are provided in this disclosure. In a possible embodiment, the method may also include:

[0107] Obtain each point cloud data in the paste box corresponding to the paste position information.

[0108] The range of the paste box corresponding to the paste position information can be determined based on the center point coordinates and the size information of the copied annotation box, and the point cloud data within the range of the paste box can be determined based on the coordinates of the point cloud data.

[0109] Based on the projection position of each point cloud data on each side of the pasting box, the target point cloud data closest to each side of the pasting box is determined.

[0110] As an example, the paste box may be a cuboid, which may include six faces, such as M1 to M6. In this step, the projection position of each point cloud data to the six faces may be determined to determine the projection distance, and further based on the projection distance, the target point cloud data closest to each face of the paste box may be determined, such as the target point cloud data closest to M1 may be determined to be Y1, and its corresponding distance is d1.

[0111] The pasting position information is adjusted based on the coordinates of each of the target point cloud data to obtain adjusted pasting position information.

[0112] Among them, for each face of the pasting box, the scaling distance corresponding to the face can be determined based on the coordinates of the target point cloud data corresponding to the face, so that the adjusted face fits on the target point cloud data. For example, for M1, the distance between it and the center point coordinates is initially x / 2, the distance determined in the above steps is d1, and the target point cloud data is the point cloud data inside the pasting box, then d1 is less than or equal to x / 2. If d1 is equal to x / 2, no scaling is required in this direction. If d1 is less than x / 2, the distance between the M1 face and the center point can be scaled to d1, thereby reducing the pasting box. The pasting box corresponding to the adjusted pasting position information can be the minimum circumscribed cuboid corresponding to the target point cloud data.

[0113] Therefore, through the above technical solution, when generating a paste box, the size of the paste box can be automatically adjusted based on the point cloud data inside the paste box, so that the paste box can automatically fit the annotation object at its position, thereby effectively reducing the number of times the user needs to perform manual adjustments and fits, and achieving rapid adjustment of the edge of the annotation box while also improving the accuracy and efficiency of the annotation box size adjustment, effectively improving the annotation efficiency of point cloud data.

[0114] In some possible embodiments, the method may further include:

[0115] In response to a labeling operation on a labeling box, a display box for determining the labeling box in the environment image is generated based on position information of the labeling box.

[0116] Each edge corner point in the position information of the annotation box can be mapped to the environment image, and the display box is formed based on the corner points mapped by the environment image, such as Figure 6 As shown in , the coordinates of the display frame can be mapped to the pixel coordinate system, that is, mapped to the environment image, by the transformation of the coordinate system, and the display frame is generated by the connection relationship between the mapped corner points, as shown in G.

[0117] The environment image and the display frame in the environment image are displayed in the point cloud annotation interface.

[0118] Among them, the display area of ​​the environment image in the point cloud annotation interface can be pre-set, such as Figure 6 As shown, the environment images can be displayed side by side above the interface, and the corresponding display frames can be displayed in the environment images.

[0119] The box corresponding to the point cloud data P shows the point cloud data to be annotated. Figure 6 The specific content of the point cloud data is not shown, and the 3D box displayed in the point cloud data P is the annotation box for annotation. As an example, the top view T1, side view T2 and front view T3 corresponding to the annotation box can also be displayed in the point cloud annotation interface, so that the annotator can further adjust the size of the annotation box in different views to improve the accuracy of point cloud annotation.

[0120] In this way, annotators can further clarify the relationship between their annotated annotation boxes and the actual annotated objects, so as to assist their annotation process and further improve the accuracy and effectiveness of point cloud annotation.

[0121] Based on the same inventive concept, the present disclosure also provides a point cloud data annotation device, such as Figure 7 As shown, the device 10 comprises:

[0122] A first determination module 100 is used to determine a first coordinate of a cursor point in a point cloud annotation interface;

[0123] A second determination module 200 is used to determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image;

[0124] A third determination module 300 is used to determine a label prompt image corresponding to the cursor point from the environment image according to the second coordinate;

[0125] The first display module 400 is used to display the annotation prompt image in the point cloud annotation interface.

[0126] Optionally, there are multiple environment images;

[0127] The third determination module comprises:

[0128] A first determination submodule, configured to determine, for each of the environment images, a distance between the coordinates of a center point of the environment image and a second coordinate corresponding to the environment image;

[0129] The first generating submodule is used to generate the labeling prompt image according to the corresponding target environment image with the smallest distance.

[0130] Optionally, the first generating submodule includes:

[0131] A first acquisition submodule is used to acquire a local image of a target size in the target environment image with the second coordinate corresponding to the target environment image as the center;

[0132] The second generating submodule is used to generate the annotation prompt image based on the local image.

[0133] Optionally, the device further comprises:

[0134] A fourth determination module is used to determine, in response to receiving a paste operation on the annotation box, a corner point type corresponding to the paste cursor point corresponding to the paste operation in the paste box;

[0135] A fifth determining module, configured to determine the pasting position information of the pasting box based on the corner point type and the size information of the annotation box;

[0136] The second display module is used to display the paste box in the annotation interface based on the paste position information.

[0137] Optionally, the fifth determining module includes:

[0138] A second determination submodule is used to determine the coordinates of the center point of the pasting box based on the corner point type, the pasting cursor point and the size information of the annotation box if the orientation of the annotation box is consistent with the target direction;

[0139] The third determining submodule is used to determine the pasting position information of the pasting box based on the size information of the marking box and the center point coordinates.

[0140] Optionally, the fifth determining module includes:

[0141] A fourth determination submodule is used to determine, if the orientation of the annotation box is inconsistent with the target direction, a simulated cursor point corresponding to the pasting cursor point based on the angle between the orientation and the target direction, wherein the simulated cursor point is used to represent the position point where the pasting cursor point is located when the orientation is rotated to be consistent with the target direction;

[0142] A fifth determination submodule, configured to determine the coordinates of the center point of the pasting frame based on the corner point type, the simulated cursor point and the size information of the annotation frame;

[0143] A sixth determination submodule, configured to determine simulated pasting position information based on the size information of the annotation frame and the center point coordinates;

[0144] The seventh determination submodule is used to rotate the simulated pasting position information based on the angle between the orientation and the target direction to obtain the pasting position information of the pasting frame.

[0145] Optionally, the fourth determining module includes:

[0146] A second acquisition submodule is used to acquire the angle between the orientation of the annotation box and the target direction;

[0147] The eighth determination submodule is used to determine the corner point type corresponding to the angle range to which the angle of the included angle belongs as the corner point type corresponding to the paste cursor point in the paste box according to the angle of the included angle and the angle range corresponding to each corner point type.

[0148] Optionally, the device further comprises:

[0149] An acquisition module, used for acquiring each point cloud data in the pasting box corresponding to the pasting position information;

[0150] A sixth determination module, configured to determine the target point cloud data closest to each side of the pasting frame based on the projection position of each point cloud data on each side of the pasting frame;

[0151] The adjustment module is used to adjust the pasting position information based on the coordinates of each target point cloud data to obtain adjusted pasting position information.

[0152] Optionally, the device further comprises:

[0153] A generating module, configured to generate a display frame for determining the marked frame in the environment image based on the position information of the marked frame in response to the marking operation on the marked frame;

[0154] The third display module is used to display the environment image and the display frame in the environment image in the point cloud annotation interface.

[0155] Reference below Figure 8 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0156] like Figure 8As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0157] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0158] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0159] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0160] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0161] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0162] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: determines the first coordinate of the cursor point in the point cloud annotation interface; determines the second coordinate corresponding to the first coordinate in the environmental image, wherein the environmental image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is the coordinate under the pixel coordinate corresponding to the environmental image; according to the second coordinate, determines the annotation prompt image corresponding to the cursor point from the environmental image; and displays the annotation prompt image in the point cloud annotation interface.

[0163] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0164] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0165] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, the first determination module may also be described as a "module for determining the first coordinate of a cursor point in a point cloud annotation interface".

[0166] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0167] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0168] According to one or more embodiments of the present disclosure, Example 1 provides a point cloud data annotation method, the method comprising:

[0169] Determine the first coordinate of the cursor point in the point cloud annotation interface;

[0170] Determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image;

[0171] Determining, from the environment image, a label prompt image corresponding to the cursor point according to the second coordinate;

[0172] The annotation prompt image is displayed in the point cloud annotation interface.

[0173] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, wherein the environment image is multiple;

[0174] The step of determining the annotation prompt image corresponding to the cursor point from the environment image according to the second coordinate includes:

[0175] For each of the environment images, determining the distance between the coordinates of the center point of the environment image and the second coordinates corresponding to the environment image;

[0176] The annotation prompt image is generated according to the corresponding target environment image with the smallest distance.

[0177] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, wherein generating the annotation prompt image according to the corresponding target environment image with the smallest distance includes:

[0178] In the target environment image, taking the second coordinate corresponding to the target environment image as the center, obtaining a local image of the target size;

[0179] The annotation prompt image is generated based on the partial image.

[0180] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 1, wherein the method further includes:

[0181] In response to receiving a paste operation on the annotation box, determining a corner point type corresponding to a paste cursor point corresponding to the paste operation in the paste box;

[0182] Determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box;

[0183] Based on the pasting position information, the pasting box is displayed in the annotation interface.

[0184] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 4, wherein determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box includes:

[0185] If the orientation of the annotation box is consistent with the target direction, determining the coordinates of the center point of the paste box based on the corner point type, the paste cursor point and the size information of the annotation box;

[0186] Based on the size information of the marking box and the center point coordinates, the pasting position information of the pasting box is determined.

[0187] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 4, wherein determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box includes:

[0188] If the orientation of the annotation box is inconsistent with the target direction, a simulated cursor point corresponding to the pasted cursor point is determined based on the angle between the orientation and the target direction, wherein the simulated cursor point is used to represent the position point where the pasted cursor point is located when the orientation is rotated to be consistent with the target direction;

[0189] Determine the center point coordinates of the pasting frame based on the corner point type, the simulated cursor point and the size information of the annotation frame;

[0190] Determine simulated pasting position information based on the size information of the annotation box and the center point coordinates;

[0191] Based on the angle between the orientation and the target direction, the simulated pasting position information is rotated to obtain the pasting position information of the pasting frame.

[0192] According to one or more embodiments of the present disclosure, Example 7 provides the method of Example 4, wherein determining the type of corner point corresponding to the paste cursor point corresponding to the paste operation in the paste box includes:

[0193] Obtaining the angle between the orientation of the annotation box and the target direction;

[0194] According to the angle of the included angle and the angle range corresponding to each corner point type, the corner point type corresponding to the angle range to which the angle of the included angle belongs is determined as the corner point type corresponding to the paste cursor point in the paste box.

[0195] According to one or more embodiments of the present disclosure, Example 8 provides the method of Example 4, wherein the method further includes:

[0196] Acquire each point cloud data in the pasting box corresponding to the pasting position information;

[0197] Based on the projection position of each point cloud data on each side of the pasting frame, determining the target point cloud data closest to each side of the pasting frame;

[0198] The pasting position information is adjusted based on the coordinates of each of the target point cloud data to obtain adjusted pasting position information.

[0199] According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 1, wherein the method further includes:

[0200] In response to a marking operation on a marking frame, generating a display frame for determining the marking frame in the environment image based on position information of the marking frame;

[0201] The environment image and the display frame in the environment image are displayed in the point cloud annotation interface.

[0202] According to one or more embodiments of the present disclosure, Example 10 provides a point cloud data annotation device, the device comprising:

[0203] A first determination module, used to determine a first coordinate of a cursor point in a point cloud annotation interface;

[0204] A second determination module is used to determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image;

[0205] A third determining module, configured to determine, from the environment image, a labeling prompt image corresponding to the cursor point according to the second coordinate;

[0206] The first display module is used to display the annotation prompt image in the point cloud annotation interface.

[0207] According to one or more embodiments of the present disclosure, Example 11 provides a computer-readable medium having a computer program stored thereon, which implements the steps of any of the methods described in Examples 1-9 when executed by a processing device.

[0208] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, including:

[0209] a storage device having a computer program stored thereon;

[0210] A processing device is used to execute the computer program in the storage device to implement the steps of the method described in any one of Examples 1-9.

[0211] According to one or more embodiments of the present disclosure, Example 13 provides a computer program product, including a computer program, which implements the steps of any one of the methods of Examples 1-9 when executed by a processor.

[0212] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0213] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0214] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims

1. A point cloud data annotation method, It is characterized in that The method comprises: Determine the first coordinate of the cursor point in the point cloud annotation interface; Determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image; Determining, from the environment image, a label prompt image corresponding to the cursor point according to the second coordinate; The annotation prompt image is displayed in the point cloud annotation interface.

2. The method according to claim 1, It is characterized in that There are multiple environment images; The step of determining the annotation prompt image corresponding to the cursor point from the environment image according to the second coordinate includes: For each of the environment images, determining the distance between the coordinates of the center point of the environment image and the second coordinates corresponding to the environment image; The annotation prompt image is generated according to the corresponding target environment image with the smallest distance.

3. The method according to claim 2, It is characterized in that The step of generating the annotation prompt image according to the corresponding target environment image with the smallest distance comprises: In the target environment image, taking the second coordinate corresponding to the target environment image as the center, obtaining a local image of the target size; The annotation prompt image is generated based on the partial image.

4. The method according to claim 1, It is characterized in that The method further comprises: In response to receiving a paste operation on the annotation box, determining a corner point type corresponding to a paste cursor point corresponding to the paste operation in the paste box; Determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box; Based on the pasting position information, the pasting box is displayed in the annotation interface.

5. The method according to claim 4, It is characterized in that The determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box includes: If the orientation of the annotation box is consistent with the target direction, determining the coordinates of the center point of the paste box based on the corner point type, the paste cursor point and the size information of the annotation box; Based on the size information of the marking box and the center point coordinates, the pasting position information of the pasting box is determined.

6. The method according to claim 4, It is characterized in that The determining the pasting position information of the pasting box based on the corner point type and the size information of the annotation box includes: If the orientation of the annotation box is inconsistent with the target direction, a simulated cursor point corresponding to the pasted cursor point is determined based on the angle between the orientation and the target direction, wherein the simulated cursor point is used to represent the position point where the pasted cursor point is located when the orientation is rotated to be consistent with the target direction; Determine the center point coordinates of the pasting frame based on the corner point type, the simulated cursor point and the size information of the annotation frame; Determine simulated pasting position information based on the size information of the annotation box and the center point coordinates; Based on the angle between the orientation and the target direction, the simulated pasting position information is rotated to obtain the pasting position information of the pasting frame.

7. The method according to claim 4, It is characterized in that The determining of the type of corner point corresponding to the paste cursor point corresponding to the paste operation in the paste box includes: Obtaining the angle between the orientation of the annotation box and the target direction; According to the angle of the included angle and the angle range corresponding to each corner point type, the corner point type corresponding to the angle range to which the angle of the included angle belongs is determined as the corner point type corresponding to the paste cursor point in the paste box.

8. The method according to claim 4, It is characterized in that The method further comprises: Acquire each point cloud data in the pasting box corresponding to the pasting position information; Based on the projection position of each point cloud data on each side of the pasting frame, determining the target point cloud data closest to each side of the pasting frame; The pasting position information is adjusted based on the coordinates of each of the target point cloud data to obtain adjusted pasting position information.

9. The method according to claim 1, It is characterized in that The method further comprises: In response to a marking operation on a marking frame, generating a display frame for determining the marking frame in the environment image based on position information of the marking frame; The environment image and the display frame in the environment image are displayed in the point cloud annotation interface.

10. A point cloud data annotation device, It is characterized in that The device comprises: A first determination module, used to determine a first coordinate of a cursor point in a point cloud annotation interface; A second determination module is used to determine a second coordinate corresponding to the first coordinate in an environment image, wherein the environment image is an image collected simultaneously with the point cloud data in the point cloud annotation interface, and the second coordinate is a coordinate under a pixel coordinate corresponding to the environment image; A third determining module, configured to determine, from the environment image, a labeling prompt image corresponding to the cursor point according to the second coordinate; The first display module is used to display the annotation prompt image in the point cloud annotation interface.

11. A computer readable medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processing device, the steps of the method according to any one of claims 1 to 9 are implemented.

12. An electronic device, It is characterized in that include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 9.

13. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Point cloud labeling method and device, computer equipment and storage medium

    CN109727312A

  • Point cloud labeling method and device, computer equipment and storage medium

    CN109740487A

  • Point cloud labeling method and device, storage medium and electronic equipment

    CN113160349A

  • Point cloud data labeling method, device and system

    CN114690144A

  • Point cloud data labeling method, labeling system and controller

    CN116503861A