Error processing method and device, electronic equipment and storage medium

CN118570308APending Publication Date: 2024-08-30ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410652528.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30

Smart Images

  • Figure CN118570308A
    Figure CN118570308A
Patent Text Reader

Abstract

The invention discloses an error processing method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the fitting according to the track information of a vehicle, and obtaining a plane where a vehicle track is located, and the plane where the vehicle track is located comprises a first plane parameter; a local coordinate system is established, the track coordinates of the vehicle are converted into the local coordinate system, and the local coordinate system comprises a second plane parameter; and traversing each pixel point in the camera image, and obtaining an error processing result according to the first plane parameter and the second plane parameter. According to the method and the device, the error of road fluctuation is reduced, so that a more accurate corresponding relation between the two-dimensional pixel points and the three-dimensional points is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of error processing, and in particular to an error processing method, device, electronic device, and storage medium. Background Art

[0002] When the camera is installed on the roadside pole and the camera's internal and external parameters are calibrated, the liftprojective algorithm is used to generate the correspondence between each pixel on the image and the three-dimensional coordinates of the ground point. For example, if you randomly select a point where the wheel of a car touches the ground in the image and know its two-dimensional coordinates on the image, you can use this algorithm to get the three-dimensional coordinate value of this contact point in the real world.

[0003] The existing lift projection process on the roadside uses a plane to fit the road surface. When the road is undulating, the error will increase significantly when the lift projection algorithm is used, which is particularly serious for the long-range camera on the roadside pole. Summary of the invention

[0004] The embodiments of the present application provide an error processing method, device, electronic device, and storage medium to reduce the error between the correspondence between two-dimensional pixel points and three-dimensional points.

[0005] The present application embodiment adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides an error processing method, wherein the method comprises:

[0007] According to the trajectory information of the vehicle, a plane where the vehicle trajectory is located is obtained by fitting, wherein the plane where the vehicle trajectory is located includes a first plane parameter;

[0008] Establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters;

[0009] Each pixel in the camera image is traversed, and an error processing result is obtained according to the first plane parameter and the second plane parameter.

[0010] In some embodiments, the first plane parameters include:

[0011] By fitting the plane where the vehicle trajectory is located, the plane normal vector n0 and the coordinates of the plane center point (x0, y0, z0) are calculated;

[0012] The second plane parameters include:

[0013] According to the overlapping intervals in the y direction in the trajectory, each preset interval is regarded as a local ground, and the plane normal vector n of the local ground is calculated i and the coordinates of the center point of the plane (xi ,y i , z i ).

[0014] In some embodiments, establishing a local coordinate system and converting the trajectory coordinates of the vehicle to the local coordinate system includes:

[0015] A local coordinate system is established with n0 as the Z axis, the road direction as the Y axis, and the direction perpendicular to the road as the X axis;

[0016] The trajectory coordinates of the vehicle are transformed into the local coordinate system.

[0017] In some embodiments, traversing each pixel point in the camera image and determining the error between the two-dimensional pixel point and the three-dimensional correspondence according to the first plane parameter and the second plane parameter includes:

[0018] Traverse each pixel point in the camera image, use the ground normal vector n0 and the coordinates of the plane center point (x0, y0, z0) to perform initial lift projection processing, and obtain the 3D coordinate y value corresponding to the pixel point;

[0019] Find the y-coordinate index value of the plane center point of the local ground that is closest to the current y value;

[0020] According to the y-coordinate index value j of the plane center point of the local ground, use the plane normal vector n of the local ground j and the coordinates of the center point of the plane (x j ,y j , z j ) performs a second lifting projection process to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

[0021] In some embodiments, the method further comprises:

[0022] Except for the edge points in the camera image, find the plane normal vectors and local center points of two adjacent local ground planes according to the y value, perform linear interpolation to obtain the normal vector and center point of the current point, and use the plane normal vector n of the local ground plane to obtain the normal vector and center point of the current point. k and the coordinates of the center point of the plane (x k ,y k , z k ) performs a second lifting projection to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

[0023] In some embodiments, the method further includes obtaining three-dimensional coordinates and camera extrinsics of two trajectories along the road direction in advance during the non-stop calibration process.

[0024] In some embodiments, the method further comprises:

[0025] The vehicle output trajectory position is converted to the ground to obtain the vehicle trajectory information.

[0026] In a second aspect, an embodiment of the present application further provides an error processing device, wherein the device comprises:

[0027] A fitting module, used for fitting a plane where the vehicle trajectory is located according to the vehicle trajectory information, wherein the plane where the vehicle trajectory is located includes a first plane parameter;

[0028] An establishing module, used for establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes a second plane parameter;

[0029] The traversal module is used to traverse each pixel point in the camera image and obtain an error processing result according to the first plane parameter and the second plane parameter.

[0030] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to perform the above method.

[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the above method.

[0032] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: according to the trajectory information of the vehicle, the plane where the vehicle trajectory is located is fitted, and the plane where the vehicle trajectory is located includes the first plane parameter. A local coordinate system is established, and the trajectory coordinates of the vehicle are converted to the local coordinate system, and the local coordinate system includes the second plane parameter. By traversing each pixel point in the camera image, the error processing result is obtained according to the first plane parameter and the second plane parameter. Through the above method, the error caused by the longitudinal undulation of the road can be simply and effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0034] Figure 1 Schematic diagram of the error processing method in the embodiment of the present application;

[0035] Figure 2 This is a schematic diagram of the effect of the error processing method in the embodiment of the present application;

[0036] Figure 3 A comparative schematic diagram of different error processing methods used in the embodiments of the present application;

[0037] Figure 4 This is a schematic diagram of the structure of the error processing device in the embodiment of the present application;

[0038] Figure 5 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0040] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0041] The present application embodiment provides an error processing method, such as Figure 1 As shown, a schematic flow chart of an error processing method in an embodiment of the present application is provided, and the method at least includes the following steps S110 to S130:

[0042] Step S110, fitting a plane where the vehicle trajectory is located according to the vehicle trajectory information, wherein the plane where the vehicle trajectory is located includes a first plane parameter.

[0043] The vehicle's trajectory information refers to two (eg, one way and one way back) trajectory information obtained along the road during the non-stop calibration process. The vehicle passes through a positioning device and obtains multiple trajectory points.

[0044] The plane where the vehicle track is located is obtained after fitting according to the track information of the vehicle, and the plane where the vehicle track is located includes first plane parameters. The first plane parameters include but are not limited to the plane center normal vector and the plane center coordinate point.

[0045] Step S120 , establishing a local coordinate system, and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters.

[0046] Then, a local coordinate system is established, and the trajectory coordinates of the vehicle are converted to the local coordinate system. The local coordinate system is a local coordinate system relative to the world coordinate system and the ground coordinate system. The local coordinate system includes the second plane parameters. The second plane parameters include, but are not limited to, the plane normal vector of the local ground and the plane center point coordinates of the local ground.

[0047] Step S130, traverse each pixel point in the camera image, and obtain an error processing result according to the first plane parameter and the second plane parameter.

[0048] For a camera image, it is necessary to traverse each pixel point in the camera image, and then calculate based on the first plane parameter and the second plane parameter to obtain the error processing result of the three-dimensional coordinate point of a two-dimensional coordinate point at any position in the image in the real world.

[0049] Through the above method, the two collected trajectory information along the road are used to segmentally fit the road surface, thereby solving the problem of inaccurate lift projection (two-dimensional coordinate to three-dimensional coordinate conversion error) caused by road undulations.

[0050] Through the above method, the error result is processed by vehicle trajectory information without additionally collecting ground information, and it can be applied to the calculation of the correspondence between the two-dimensional pixel coordinates of the image in the scene captured by the roadside close-view camera and the long-view camera and the real three-dimensional coordinates of the ground.

[0051] In one embodiment of the present application, the first plane parameter includes: the plane normal vector n0 and the coordinates of the plane center point (x0, y0, z0) calculated by fitting the plane where the RTK trajectory of the vehicle is located; the second plane parameter includes: according to the overlapping intervals in the trajectory in the y direction, each preset interval is regarded as a local ground, and the plane normal vector n of the local ground is calculated i and the coordinates of the center point of the plane (x i ,y i , z i ).

[0052] like Figure 2 As shown, it includes the camera position, track 1 and track 2. Track 1 and track 2 are collected by the RTK equipment on the vehicle, so they are suspended relative to the ground. At the same time, the ground is not a plane but a curved ground. The first plane parameters included in the plane where the vehicle track is located specifically include:

[0053] After fitting the plane where the vehicle's RTK trajectory is located, the plane normal vector n0 and the coordinates of the plane center point (x0, y0, z0) are further calculated.

[0054] Similarly, the second plane parameters included in the local coordinate system specifically include:

[0055] According to the overlapping intervals in the y direction in the trajectory, each preset interval is regarded as a local ground, and the plane normal vector n of the local ground is calculated i and the coordinates of the center point of the plane (x i ,y i , z i ).like Figure 2 As shown, take out the overlapping interval of the two trajectories in the y direction (the overlapping part of the two trajectories along the road direction constitutes a plane), and take every n meters as a local ground surface, and calculate the plane normal vector n of the local ground surface i and the coordinates of the center point of the plane (x i ,y i , z i ).

[0056] In one embodiment of the present application, establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system includes: establishing a local coordinate system with n0 as the Z axis, the road direction as the Y axis, and the direction perpendicular to the road as the X axis; converting the trajectory coordinates of the vehicle into the local coordinate system.

[0057] like Figure 2 As shown, first establish a local coordinate system with n0 as the Z axis, the road direction as the Y axis, and the perpendicular road direction as the X axis. Then convert the trajectory coordinates to the local coordinate system, the Z value of the trajectory coordinates is close to 0, the x value is close to equal, and the y value is evenly distributed along the road direction.

[0058] In one embodiment of the present application, each pixel point in the camera image is traversed, and the error between the two-dimensional pixel point and the three-dimensional correspondence is determined according to the first plane parameter and the second plane parameter, including: traversing each pixel point in the camera image, using the ground normal vector n0 and the plane center point coordinates (x0, y0, z0) to perform an initial lift projection process to obtain the 3D coordinate y value corresponding to the pixel point; finding the y coordinate index value j of the plane center point of the local ground that is closest to the current y value; according to the y coordinate index value j of the plane center point of the local ground, using the plane normal vector n0 of the local ground j and the coordinates of the center point of the plane (x j ,y j , z j ) performs a second lifting projection process to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

[0059] According to the calculated first plane parameters and the second plane parameters, traverse each point in the image, first use the global ground normal vector n0 and the plane center point coordinates (x0, y0, z0) to perform the initial lift projection, and obtain the 3D coordinate y value corresponding to the point. In other words, first use the first plane parameters for initialization to obtain the 3D coordinate y value corresponding to the pixel point. The x value needs to be further calculated.

[0060] Further, find the y coordinate index value j of the plane center point closest to this value, and use the plane normal vector n in the second plane parameter j and the coordinates of the center point of the plane (x j ,y j , z j ) performs a second lifting projection to obtain the final 3D coordinates.

[0061] In one embodiment of the present application, the method further includes: removing the edge points in the camera image, finding two adjacent local normal vectors and the local center point according to the y value, performing linear interpolation to obtain the normal vector and the center point of the current point, and using the plane normal vector n of the local ground k and the coordinates of the center point of the plane (x k ,y k , z k ) performs a second lifting projection to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

[0062] Optionally, after calculating the initial lift projection and obtaining the 3D coordinate y value corresponding to the point, you can also find two adjacent local normal vectors and the local center point based on the y value, perform linear interpolation to obtain the normal vector and center point of the current point, perform a second lift projection, and obtain the final 3D coordinates.

[0063] It should be noted that the above method needs to find two adjacent local normal vectors and the local center point according to the y value in addition to the edge points.

[0064] Specifically, the mathematical formula for the above lift projection calculation is as follows:

[0065] d refers to the height from the camera to the constructed plane (i.e., the projection component of the line length from the origin of the camera coordinate system to the center point of the plane of the local ground on the plane normal vector of the local ground).

[0066] Pray(c) represents the unit vector of the current pixel point (u,v) passing through the pinhole to reach the virtual unit imaging plane in the camera coordinate system.

[0067] P(c) is the representation of the real 3D point represented by the pixel (u,v) in the camera coordinate system after this lift projection. P(g) is the transformation of P(c) to the global coordinate system using external parameters, which is the position of the 3D point required by this application.

[0068]

[0069]

[0070]

[0071]

[0072] Where O is the coordinate of the local ground center point, n is the local ground normal vector, and K is the camera internal parameter.

[0073] (u,v) is the pixel value to be calculated, R is the rotation matrix,

[0074] t is the translation vector, (c) represents the camera coordinate system, and (g) represents the global coordinate system.

[0075] In one embodiment of the present application, the method further includes obtaining in advance the three-dimensional coordinates and camera extrinsic parameters of two trajectories along the road direction during the non-stop calibration process.

[0076] It can be understood that the three-dimensional coordinates of the two trajectories along the road direction can be obtained through the process of non-stop calibration. The process of non-stop calibration is the process of determining the external parameters and internal parameters of the roadside equipment, which is a calibration process known to those skilled in the art and will not be described in detail here. In addition, the camera external parameters are also obtained in advance.

[0077] In one embodiment of the present application, the method further includes: converting the vehicle output trajectory position to the ground to obtain the vehicle trajectory information.

[0078] After subtracting the height offset of the vehicle, the trajectory position output by the vehicle is converted to the ground to obtain the trajectory information of the vehicle.

[0079] To better illustrate the implementation principle of the error processing method in the embodiment of the present application, please refer to Figure 3 ,like Figure 3 As shown, the calculation process of the correspondence between the pixel coordinates and the ground real coordinates of the scene captured by the roadside near-view camera and the long-view camera. When the road surface is completely on an ideal plane, this method is consistent with the old method (assuming the ground is a plane), but if the road surface has longitudinal undulations, the method of this application has a significant effect compared to the old method, as shown in the figure below: the old method is on the left, and the effect of this method is on the right.

[0080] The embodiment of the present application also provides an error processing device 400, such as Figure 4 As shown, a schematic diagram of the structure of the error processing device in an embodiment of the present application is provided, wherein the device 400 at least includes: a fitting module 410, an establishment module 420 and a traversal module 430, wherein:

[0081] In one embodiment of the present application, the fitting module 410 is specifically used to fit the plane where the vehicle trajectory is located according to the trajectory information of the vehicle, and the plane where the vehicle trajectory is located includes a first plane parameter.

[0082] The vehicle's trajectory information refers to two (for example, one round trip) trajectory information obtained along the road direction during the non-stop calibration process of the vehicle, and multiple trajectory points are obtained by the positioning device on the vehicle.

[0083] The plane where the vehicle track is located is obtained after fitting according to the vehicle track information, that is, the plane where the RTK track is located, and the plane where the vehicle track is located includes the first plane parameters. The first plane parameters include but are not limited to the plane center normal vector and the plane center coordinate point.

[0084] In one embodiment of the present application, the establishing module 420 is specifically used to: establish a local coordinate system and transform the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters.

[0085] Then, a local coordinate system is established, and the trajectory coordinates of the vehicle are converted to the local coordinate system. The local coordinate system is a local coordinate system relative to the world coordinate system and the ground coordinate system. The local coordinate system includes the second plane parameters. The second plane parameters include, but are not limited to, the plane normal vector of the local ground and the plane center point coordinates of the local ground.

[0086] In one embodiment of the present application, the traversal module 430 is specifically used to: traverse each pixel point in the camera image, and obtain an error processing result according to the first plane parameter and the second plane parameter.

[0087] For a camera image, it is necessary to traverse each pixel point in the camera image, and then calculate based on the first plane parameter and the second plane parameter to obtain the error processing result of the three-dimensional coordinate point of a two-dimensional coordinate point at any position in the image in the real world.

[0088] It can be understood that the above-mentioned error processing device can implement each step of the error processing method provided in the above-mentioned embodiment, and the relevant explanations about the error processing method are applicable to the error processing device and will not be repeated here.

[0089] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 5At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0090] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0091] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0092] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an error handling device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0093] According to the trajectory information of the vehicle, a plane where the vehicle trajectory is located is obtained by fitting, wherein the plane where the vehicle trajectory is located includes a first plane parameter;

[0094] Establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters;

[0095] Each pixel in the camera image is traversed, and an error processing result is obtained according to the first plane parameter and the second plane parameter.

[0096] The above application Figure 1The method performed by the error processing device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0097] The electronic device may also perform Figure 1 The method executed by the error processing device in Figure 1 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0098] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 1 The method performed by the error processing device in the illustrated embodiment is specifically used to perform:

[0099] According to the trajectory information of the vehicle, a plane where the vehicle trajectory is located is obtained by fitting, wherein the plane where the vehicle trajectory is located includes a first plane parameter;

[0100] Establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters;

[0101] Each pixel in the camera image is traversed, and an error processing result is obtained according to the first plane parameter and the second plane parameter.

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

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

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

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

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

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

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

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

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

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

Claims

1. An error processing method, wherein: The method comprises: According to the trajectory information of the vehicle, a plane where the vehicle trajectory is located is obtained by fitting, wherein the plane where the vehicle trajectory is located includes a first plane parameter; Establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes second plane parameters; Each pixel in the camera image is traversed, and an error processing result is obtained according to the first plane parameter and the second plane parameter.

2. The method of claim 1, wherein: The first plane parameters include: By fitting the plane where the vehicle trajectory is located, the plane normal vector n0 and the coordinates of the plane center point (x0, y0, z0) are calculated; The second plane parameters include: According to the overlapping intervals in the y direction in the trajectory, each preset interval is regarded as a local ground, and the plane normal vector n of the local ground is calculated i and the coordinates of the center point of the plane (x i ,y i , z i ).

3. The method of claim 2, wherein: The step of establishing a local coordinate system and converting the trajectory coordinates of the vehicle to the local coordinate system includes: A local coordinate system is established with n0 as the Z axis, the road direction as the Y axis, and the direction perpendicular to the road as the X axis; The trajectory coordinates of the vehicle are transformed into the local coordinate system.

4. The method of claim 2, wherein: Traversing each pixel point in the camera image, and determining the error between the two-dimensional pixel point and the three-dimensional correspondence according to the first plane parameter and the second plane parameter, including: Traverse each pixel point in the camera image, use the ground normal vector n0 and the coordinates of the plane center point (x0, y0, z0) to perform initial lift projection processing, and obtain the 3D coordinate y value corresponding to the pixel point; Find the y-coordinate index value j of the plane center point of the local ground that is closest to the current y value; According to the y-coordinate index value j of the plane center point of the local ground, use the plane normal vector n of the local ground j and the coordinates of the center point of the plane (x j ,y j , z j ) performs a second lifting projection process to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

5. The method of claim 4, wherein: The method further comprises: Except for the edge points in the camera image, find the plane normal vectors and local center points of two adjacent local ground planes according to the y value, perform linear interpolation to obtain the normal vector and center point of the current point, and use the plane normal vector n of the local ground plane to obtain the normal vector and center point of the current point. k and the coordinates of the center point of the plane (x k ,y k , z k ) performs a second lifting projection to obtain the final 3D coordinates as the error processing result of the correspondence between the two-dimensional pixel points and the three-dimensional correspondence.

6. The method of claim 1, wherein: The method also includes three-dimensional coordinates of two trajectories along the road direction and camera extrinsics obtained in advance during the non-stop calibration process.

7. The method of claim 1, wherein: The method further comprises: The vehicle output trajectory position is converted to the ground to obtain the vehicle trajectory information.

8. An error processing device, wherein: The device comprises: A fitting module, used for fitting a plane where the vehicle trajectory is located according to the vehicle trajectory information, wherein the plane where the vehicle trajectory is located includes a first plane parameter; An establishing module, used for establishing a local coordinate system and converting the trajectory coordinates of the vehicle into the local coordinate system, wherein the local coordinate system includes a second plane parameter; The traversal module is used to traverse each pixel point in the camera image and obtain an error processing result according to the first plane parameter and the second plane parameter.

9. An electronic device, comprising: processor; as well as A memory arranged to store computer executable instructions, which when executed cause the processor to perform the method of any one of claims 1 to 7.

10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to execute any one of the methods of claims 1 to 7.