Three-dimensional target detection method and device, vehicle and storage medium
Through the image processing network and multi-sensor data fusion, the three-dimensional detection frame and weight are adjusted to solve the problem of insufficient three-dimensional target detection accuracy of a single sensor in harsh environments, and achieve more efficient three-dimensional target detection.
Patent Information
- Application Number
- CN202410565201.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-09-06
AI Technical Summary
A single sensor has the problem of insufficient accuracy in three-dimensional target detection. Especially in bad weather and low light conditions, lidar has poor detection effect on long-distance targets and small targets, and it is difficult for cameras to detect accurately under the influence of light sources.
By inputting the detection image of the area to be measured into the image processing network, an initial three-dimensional detection frame is generated, and combined with the point cloud data of millimeter-wave radar and lidar, the depth of the detection frame is adjusted and the weight is determined, integrating the advantages of different sensors, and quickly and accurately 3D target detection.
It improves the accuracy and reliability of three-dimensional target detection, solves the problem of insufficient detection of a single sensor in harsh environments, and enhances the detection capability of long-distance and small targets.
Smart Images

Figure CN118609115A
Abstract
Description
Technical Field
[0001] The present application relates to the field of target detection technology, and more specifically, to a three-dimensional target detection method, device, vehicle and storage medium. Background Art
[0002] Three-dimensional object detection has a wide range of applications in many fields, such as autonomous driving; as user demand increases, the requirements for the accuracy of three-dimensional object detection are getting higher and higher.
[0003] In the related art, three-dimensional target detection is usually performed based on a single sensor. A single sensor has its inevitable disadvantages, which makes it difficult to improve the accuracy of three-dimensional target detection. Summary of the invention
[0004] In view of the above problems, the present invention proposes a three-dimensional target detection method, device, vehicle and storage medium.
[0005] In a first aspect, an embodiment of the present application provides a three-dimensional target detection method, the method comprising: inputting a detection image of an area to be measured into an image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be measured in the detection image; adjusting the depth of the initial three-dimensional detection frame according to the distribution of a millimeter-wave radar detection point cloud of the area to be measured in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; determining a second three-dimensional detection frame of the target to be measured according to the lidar detection point cloud of the area to be measured; determining a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be measured in the area to be measured; and determining a target three-dimensional detection frame of the target to be measured according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight.
[0006] In the second aspect, an embodiment of the present application also provides a three-dimensional target detection device, including: an initial detection module, a first determination module, a second determination module, a weight determination module and a target determination module; wherein the initial detection module is used to input the detection image of the area to be measured into an image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be measured in the detection image; the first detection module is used to adjust the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be measured in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; the second detection module is used to determine the second three-dimensional detection frame of the target to be measured according to the lidar detection point cloud of the area to be measured; the weight determination module is used to determine the first weight corresponding to the first three-dimensional detection frame and the second weight corresponding to the second three-dimensional detection frame according to the position of the target to be measured in the area to be measured; the target determination module is used to determine the target three-dimensional detection frame of the target to be measured according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight.
[0007] In a third aspect, an embodiment of the present application further provides a vehicle comprising one or more processors, a memory, and one or more applications; wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the three-dimensional target detection method described in the first aspect above.
[0008] In a fourth aspect, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program code, and the program code can be called by a processor to execute the three-dimensional object detection method as described in the first aspect above.
[0009] The technical solution provided by the present invention obtains an initial three-dimensional detection frame corresponding to the target to be measured in the detection image by inputting a detection image of the area to be measured into an image processing network; adjusts the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be measured in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; determines a second three-dimensional detection frame of the target to be measured according to the lidar detection point cloud of the area to be measured; determines a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be measured in the area to be measured; determines a target three-dimensional detection frame of the target to be measured according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight, thereby integrating the advantages of different sensors and performing three-dimensional target detection quickly and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0011] Figure 1 A schematic diagram of an application environment involved in an embodiment of the present application is shown.
[0012] Figure 2 A schematic flow chart of a three-dimensional target detection method provided in an embodiment of the present application is shown.
[0013] Figure 3 A schematic diagram of target detection point matching provided in an embodiment of the present application is shown.
[0014] Figure 4 A schematic diagram showing different distance ranges provided by an embodiment of the present application is shown.
[0015] Figure 5 A schematic structural diagram of a three-dimensional target detection device provided in an embodiment of the present application is shown.
[0016] Figure 6 A schematic structural diagram of a vehicle provided in an embodiment of the present application is shown.
[0017] Figure 7 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0019] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0020] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0021] Three-dimensional object detection has a wide range of applications in many fields. For example, in the field of autonomous driving, autonomous vehicles need to perceive the environmental information around the vehicle (such as vehicles, pedestrians, etc.) in real time while driving. As user demand increases, the requirements for the accuracy of three-dimensional object detection are getting higher and higher.
[0022] In related technologies, three-dimensional target detection is usually performed based on a single sensor, such as using laser radar, cameras, etc. to detect the surrounding environment. However, a single sensor has its inevitable disadvantages. For example, a camera has high resolution and color recognition capabilities, and can accurately classify obstacle categories. However, it is affected by the light source and is difficult to accurately detect in bad weather and low light conditions. For another example, laser radar can accurately measure the position of obstacles in bad weather and low light conditions, but due to its scanning distance and vertical resolution limitations, the point cloud obtained for long-distance targets, small targets, etc. is very sparse, which leads to poor detection results.
[0023] It can be seen that a single sensor has its inevitable disadvantages, which makes it difficult to improve the accuracy of three-dimensional target detection.
[0024] In order to improve the above-mentioned problems, the inventors have proposed the three-dimensional target detection method, device, vehicle and storage medium provided by the present application. The method obtains an initial three-dimensional detection frame corresponding to the target to be detected in the detection image by inputting a detection image of the area to be detected into an image processing network; the initial three-dimensional detection frame is adjusted according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain the target three-dimensional detection frame; a first target detection result of the target to be detected is determined according to the detection image, the millimeter-wave radar detection points and the target three-dimensional detection frame; a second target detection result of the target to be detected is determined according to the lidar detection point cloud of the area to be detected; a first weight corresponding to the first target detection result and a second weight corresponding to the second target detection result are determined according to the position of the target to be detected in the area to be detected; the three-dimensional target detection result of the target to be detected is determined according to the first target detection result, the second target detection result, the first weight and the second weight, so that the advantages of different sensors can be integrated to perform three-dimensional target detection quickly and accurately.
[0025] The following is an introduction to the application environment of the three-dimensional object detection method provided by the present invention. In this embodiment, the application of the method to a vehicle is used as an example for description.
[0026] See also Figure 1 , Figure 1 is a schematic diagram of an application scenario of a three-dimensional target detection method provided by an embodiment of the present invention, such as Figure 1 As shown, the vehicle 100 includes: a laser radar 110, an image acquisition device 120, a millimeter wave radar 130 and a controller 140.
[0027] The laser radar 110 can be used to obtain the laser radar detection point cloud of the area to be measured; the laser radar 110 can determine the distance and position of the area to be measured by emitting laser pulses and measuring the time of light reflected back from the area to be measured, and generate a high-precision laser radar detection point cloud, that is, a three-dimensional point cloud image, providing detailed spatial position and depth information. Due to the limitation of the laser beam distribution, the laser radar 110 has dense point clouds in the near distance, sparse point clouds in the far distance, and basically no point clouds in the very near distance. The area with basically no point clouds in the very near distance is the detection blind area of the laser radar, and the laser radar cannot detect targets in the blind area; due to the sparse point clouds in the distant area, the detection accuracy of the laser radar is low.
[0028] The image acquisition device 120 can be used to obtain a detection image of the area to be detected; the image acquisition device 120 can be a camera, a photoelectric sensor, etc.
[0029] The millimeter wave radar 130 can be used to obtain the millimeter wave radar detection point cloud of the area to be tested; the millimeter wave radar 130 uses millimeter waves in the frequency band of 20 to 300 GHz for detection. The millimeter wave radar has a wide frequency band, a short wavelength, and a long detection distance. It can perceive the surrounding environment at a long distance and provide speed information for moving targets.
[0030] In the embodiments of the present application, the advantages of the three detection devices are fully utilized to solve the technical problem of insufficient three-dimensional target detection accuracy in the related art, which will be explained in detail below in conjunction with specific embodiments.
[0031] See also Figure 2 , the embodiment of the present application provides a three-dimensional target detection method, which can be applied to the above-mentioned vehicle, such as Figure 2 As shown, the method includes steps 210 to 250.
[0032] Step 210: input the detection image of the area to be detected into the image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be detected in the detection image.
[0033] In an embodiment of the present application, an image acquisition device obtains a detection image of the area to be tested, and inputs the detection image into a pre-trained image processing network for processing. The image processing network can extract image features in the detection image and generate a key point heat map, thereby obtaining an initial three-dimensional detection frame corresponding to the target to be tested based on the key point heat map.
[0034] In some embodiments, the image processing network can estimate the two-dimensional detection frame and depth information of the target to be detected based on the input detection image, and then generate an initial three-dimensional detection frame corresponding to the target to be detected based on the two-dimensional detection frame and the depth information.
[0035] In some embodiments, the image processing network may adopt a deep learning network, such as a fully convolutional backbone network. The image processing network may include at least 6 detection heads, which are used to detect the center point, the center point offset, the two-dimensional width and height, the depth information, the distance and the rotation angle. In an embodiment of the present application, unlike the traditional two-dimensional target detection, in order to facilitate the subsequent fusion of the millimeter wave radar and the image detection results, the image processing network provided in the embodiment of the present application not only outputs an accurate two-dimensional boundary area in the image space, but also outputs a preliminary three-dimensional detection area. In the subsequent processing link, the millimeter wave radar will be used to make further adjustments to the three-dimensional detection area.
[0036] The targets to be detected in the detection image may include pedestrians, vehicles, etc.
[0037] Step 220: adjust the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame.
[0038] An accurate two-dimensional detection frame can be obtained based on the detection image acquired by the image acquisition device. However, the depth information of the target to be detected obtained based on the detection image has low accuracy. In order to improve this problem, in an embodiment of the present application, a millimeter-wave radar detection point cloud is used to adjust the depth of the three-dimensional detection area to obtain a first three-dimensional detection frame with more accurate depth.
[0039] In some implementations, step 220 may include the following steps.
[0040] (1) Determine the target detection point located in the initial three-dimensional detection frame in the millimeter-wave radar detection point cloud of the area to be tested.
[0041] (2) adjusting the initial three-dimensional detection frame according to the depth of the target detection point to obtain the target three-dimensional detection frame; wherein the depth of the target detection point represents the distance between the target detection point and the image acquisition device, and the image acquisition device is used to acquire the detection image of the area to be detected.
[0042] like Figure 3 As shown, Figure 3 In the process, the detection image is obtained by the image acquisition device 130, and the detection image can be processed through the image processing network to obtain the two-dimensional detection frame A and the initial three-dimensional detection frame B of the target to be detected. The image acquisition device 130 is used as the origin, and a frustum C is generated on the camera plane with the two-dimensional detection frame A. At the same time, the radar detection point detected by the millimeter wave radar can be transformed by coordinate conversion, that is, from the coordinate system of the millimeter wave radar to the vehicle body coordinate system, and then from the vehicle body coordinate system to the corresponding camera coordinate system, and finally projected into the image space.
[0043] When the radar detection point projected into the image space falls entirely or partially into one of the frustums, it is considered that the radar detection point matches the initial three-dimensional detection frame corresponding to the frustum.
[0044] The radar detection point with the smallest depth value among all matched radar detection points is used as the target detection point. The depth value of the target detection point is used to adjust the initial 3D detection frame.
[0045] Since the depth information of the millimeter-wave radar is unstable, if there is occlusion between the front and rear targets, it is easy to cause mismatching. In order to improve the accuracy, the step of determining the target detection point located in the initial three-dimensional detection frame in the millimeter-wave radar detection point cloud of the area to be tested includes the following steps.
[0046] (1.1) Determine the three-dimensional detection area corresponding to each detection point in the millimeter-wave radar detection point cloud of the area to be tested.
[0047] (1.2) The detection points of the stereoscopic detection area that are at least partially located in the initial three-dimensional detection frame are taken as target detection points.
[0048] In some embodiments, each detection point in the millimeter-wave radar detection point cloud of the area to be tested can be expanded into a three-dimensional stereo area, for example, a three-dimensional cube, i.e., the above-mentioned stereo detection area, and the target detection point is determined by detecting the matching relationship between the stereo detection area and the frustum corresponding to the initial three-dimensional detection frame, i.e., if part or all of the stereo detection area of the detection point falls into the frustum corresponding to the initial three-dimensional detection frame, then it is determined that the detection point matches the initial three-dimensional detection frame.
[0049] In some implementations, the step of adjusting the initial three-dimensional detection frame according to the depth of the target detection point to obtain the target three-dimensional detection frame includes the following steps.
[0050] (2.1) If the number of target detection points is one, the depth of the target detection point is used as the target depth, and the depth of the initial three-dimensional detection frame is adjusted to the target depth to obtain a first three-dimensional detection frame.
[0051] (2.2) If there are multiple target detection points, the smallest depth among the multiple target detection points is used as the target depth, and the depth of the initial three-dimensional detection frame is adjusted to the target depth to obtain a first three-dimensional detection frame.
[0052] In some implementations, the depth d of the initial 3D detection frame may be adjusted to the depth of the target detection point, that is, the initial 3D detection frame may be translated along the center line of the frustum C until it reaches a position consistent with the depth of the target detection point.
[0053] Step 230: determine a second three-dimensional detection frame of the target to be measured based on the laser radar detection point cloud of the area to be measured.
[0054] The area to be measured can be detected by the laser radar, and the three-dimensional detection area of the target in the area to be measured, that is, the second three-dimensional detection frame, can be obtained by extracting the information of the laser radar detection point cloud.
[0055] In some implementations, the lidar detection point cloud may be processed by a pre-trained neural network to determine a second three-dimensional detection box.
[0056] Step 240: Determine a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be detected in the area to be detected.
[0057] Since the detection accuracy of the laser radar and image acquisition device is different at different positions in the area to be measured, for example, in the blind spot of the laser radar, the detection accuracy of the image acquisition device is greater than the detection accuracy of the laser radar. In order to combine the advantages of different detection devices, different weights can be assigned to the three-dimensional detection areas obtained by different detection devices according to the detection accuracy of the detection devices in different areas. The ones with high detection accuracy can be assigned higher weights, thereby further improving the detection accuracy.
[0058] In some implementations, the area to be tested can be divided into multiple different areas according to the distance from the vehicle, and weights can be set according to the accuracy of different detection devices in different areas. Figure 4 As shown, the area to be measured can be divided into a short-distance area Q1, a medium-distance area Q2 and a long-distance area Q3.
[0059] In close-range areas, the laser radar has blind spots and its detection accuracy is limited, so a higher weight can be given to the three-dimensional detection area obtained by the image acquisition device.
[0060] In the medium range, the laser radar can provide accurate position information, so the three-dimensional detection area obtained by the laser radar can be given a higher weight for the position information. And the image acquisition device can provide accurate images, which can be used to provide a higher value reference for category determination.
[0061] At long distances, the point cloud of the laser radar for small targets in the distance is sparse and the detection accuracy is limited. Therefore, a higher weight can be given to the three-dimensional detection area obtained by the image acquisition device.
[0062] In some embodiments, step 240 includes the following steps.
[0063] (1) If the position of the target to be measured in the measured area is outside the detection blind area of the laser radar, and the distance between the target to be measured and the laser radar is less than a preset distance threshold, the farther the distance between the target to be measured and the laser radar, the smaller the first weight corresponding to the first three-dimensional detection frame, and the larger the second weight corresponding to the second three-dimensional detection frame; wherein the laser radar is used to obtain the laser radar point cloud.
[0064] In some embodiments, the detection blind area of the laser radar is 0 to 5 m. It is understandable that in other embodiments, the range of the detection blind area can be adjusted according to the type of the laser radar, etc.
[0065] In some embodiments, the preset distance threshold may be 50 m. It is to be understood that in other embodiments, the preset distance threshold may be adjusted according to the actual conditions of the image acquisition device and the lidar.
[0066] If the target to be measured is outside the detection blind area, that is, the distance between the target to be measured and the laser radar is greater than 5m, and the distance between the target to be measured and the laser radar is less than 50m, then the target to be measured is in the medium and long distance range. Within this distance range, the detection accuracy of the position information detected by the laser radar is higher. Within this distance range, the farther the distance between the target to be measured and the laser radar, the smaller the first weight corresponding to the first three-dimensional detection frame, and the larger the second weight corresponding to the second three-dimensional detection frame; wherein, the laser radar is used to obtain the laser radar point cloud.
[0067] In some implementations, step 240 also includes the following steps.
[0068] (2) If the position of the target to be detected in the detected area is located in the detection blind area of the laser radar, the first weight corresponding to the first three-dimensional detection frame is greater than the second weight corresponding to the second three-dimensional detection frame.
[0069] The detection blind area is a close-range range. In some implementations, the laser radar has fewer or no point clouds in the detection blind area and cannot perform effective detection. For this reason, a higher weight can be given to the three-dimensional detection area obtained by the image acquisition device.
[0070] In some implementations, step 240 also includes the following steps.
[0071] If the distance between the target to be detected and the laser radar is greater than a preset distance threshold, the first weight corresponding to the first three-dimensional detection frame is greater than the second weight corresponding to the second three-dimensional detection frame.
[0072] The distance between the target to be measured and the laser radar is greater than the preset distance threshold, that is, the target to be measured is located in the long-distance range. Since the laser point cloud in the long-distance range is sparse, the laser radar detection accuracy is limited. Therefore, a higher weight can be given to the three-dimensional detection area obtained by the image acquisition device.
[0073] Step 250: determine a target three-dimensional detection frame of the target to be detected according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight, and the second weight.
[0074] In some embodiments, the first three-dimensional detection frame includes a first three-dimensional detection frame, the second three-dimensional detection frame includes a second three-dimensional detection frame, each three-dimensional detection frame corresponds to a weight (for example, it can be expressed as a confidence level, with a value between 0 and 1), and the positions of the two three-dimensional detection frames can be fused according to the corresponding weights to obtain a target three-dimensional detection frame.
[0075] In some implementations, the WBF (Weighted Boxes Fusion) method can be used for fusion. WBF calculates the IOU (Intersection over Union) of two 3D detection frames, and then performs a weighted average of the center point coordinates, length, width, and height of the two detection frames according to the different weights of the two 3D detection frames, and finally obtains a fused target 3D detection frame.
[0076] Therefore, by making full use of the advantages of different detection devices and adopting a variety of fusion methods, we can solve the problem of category confusion that is easy to occur in lidar detection, and also solve the problem of low detection rate of lidar blind spots near the target and small targets at long distances.
[0077] See also Figure 5 An embodiment of the present application provides a three-dimensional target detection device 300, which includes: an initial detection module 310, a first detection module 320, a second detection module 330, a weight determination module 330 and a target determination module 340.
[0078] The initial detection module 310 is used to input the detection image of the area to be detected into the image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be detected in the detection image;
[0079] The first detection module 320 is used to adjust the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame;
[0080] The second detection module 330 is used to determine a second three-dimensional detection frame of the target to be detected based on the laser radar detection point cloud of the area to be detected;
[0081] The weight determination module 340 is used to determine a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be detected in the area to be detected;
[0082] The target determination module 350 is used to determine a target three-dimensional detection frame of the target to be detected according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight.
[0083] It should be noted that, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Any processing method described in the method embodiment can be implemented by the corresponding processing module in the device embodiment, and will not be described one by one in the device embodiment.
[0084] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0085] See also Figure 6 Based on the above-mentioned offset control method, an embodiment of the present application also provides a vehicle 400 that can execute the above-mentioned three-dimensional target detection method.
[0086] In an embodiment of the present application, the vehicle 400 includes one or more processors 410, a memory 420, and one or more applications. The one or more applications are stored in the memory 420, wherein the memory 420 stores a program that can execute the content of the aforementioned embodiment, and the processor 410 can execute the program stored in the memory.
[0087] Among them, the processor 410 may include one or more cores for processing data and a message matrix unit. The processor 410 uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the cooking device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor 410 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 410 can integrate one or more combinations of a central processing unit 510 (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 410, but may be implemented separately through a communication chip.
[0088] The memory 420 may include a random access memory (RAM) or a read-only memory (ROM). The memory 420 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the terminal during use, etc.
[0089] Please refer to Figure 7 , which shows a structural block diagram of a computer-readable storage medium 500 provided in an embodiment of the present application. The computer-readable storage medium 500 stores a program code 510, and the program code 510 can be called by a processor to execute the three-dimensional object detection method described in the above method embodiment.
[0090] The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program codes that execute any method steps in the above-mentioned three-dimensional object detection method. These program codes 510 can be read from or written to one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0091] In summary, the embodiments of the present application provide a three-dimensional target detection method, device, vehicle and storage medium, which obtains an initial three-dimensional detection frame corresponding to the target to be detected in the detection image by inputting a detection image of the area to be detected into an image processing network; adjusts the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; determines a second three-dimensional detection frame of the target to be detected according to the lidar detection point cloud of the area to be detected; determines a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be detected in the area to be detected; determines a target three-dimensional detection frame of the target to be detected according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight, thereby integrating the advantages of different sensors and performing three-dimensional target detection quickly and accurately.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A three-dimensional target detection method, characterized in that: The method comprises: Inputting the detection image of the area to be detected into the image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be detected in the detection image; Adjust the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; Determine a second three-dimensional detection frame of the target to be measured according to the laser radar detection point cloud of the area to be measured; Determine a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to the position of the target to be detected in the area to be detected; A target three-dimensional detection frame of the target to be detected is determined according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight, and the second weight.
2. The three-dimensional target detection method according to claim 1, characterized in that: The step of adjusting the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame includes: Determine a target detection point located in the initial three-dimensional detection frame in the millimeter-wave radar detection point cloud of the area to be detected; The initial three-dimensional detection frame is adjusted according to the depth of the target detection point to obtain a target three-dimensional detection frame; wherein the depth of the target detection point represents the distance between the target detection point and an image acquisition device, and the image acquisition device is used to acquire a detection image of the area to be detected.
3. The three-dimensional target detection method according to claim 2, characterized in that: The step of determining a target detection point located in the initial three-dimensional detection frame in the millimeter-wave radar detection point cloud of the area to be detected comprises: Determine a three-dimensional detection area corresponding to each detection point in the millimeter-wave radar detection point cloud of the area to be detected; Detection points of the stereoscopic detection area that are at least partially located in the initial three-dimensional detection frame are used as target detection points.
4. The three-dimensional target detection method according to claim 2, characterized in that: The step of adjusting the initial three-dimensional detection frame according to the depth of the target detection point to obtain a first three-dimensional detection frame includes: If the number of the target detection point is one, taking the depth of the target detection point as the target depth, and adjusting the depth of the initial three-dimensional detection frame to the target depth, to obtain a first three-dimensional detection frame; If there are multiple target detection points, the smallest depth among the multiple target detection points is used as the target depth, and the depth of the initial three-dimensional detection frame is adjusted to the target depth to obtain a first three-dimensional detection frame.
5. The three-dimensional target detection method according to any one of claims 1 to 4, characterized in that: The determining, according to the position of the target to be detected in the region to be detected, a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame comprises: If the position of the target to be measured in the area to be measured is outside the detection blind area of the laser radar, and the distance between the target to be measured and the laser radar is less than a preset distance threshold, the farther the distance between the target to be measured and the laser radar is, the smaller the first weight corresponding to the first three-dimensional detection frame is, and the larger the second weight corresponding to the second three-dimensional detection frame is; Wherein, the laser radar is used to obtain the laser radar point cloud.
6. The three-dimensional target detection method according to claim 5, characterized in that: The determining, according to the position of the target to be detected in the region to be detected, a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame also includes: If the position of the target to be detected in the area to be detected is located in a detection blind area of the laser radar, the first weight corresponding to the first three-dimensional detection frame is greater than the second weight corresponding to the second three-dimensional detection frame.
7. The three-dimensional target detection method according to claim 5, characterized in that: The determining, according to the position of the target to be detected in the region to be detected, a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame also includes: If the distance between the target to be detected and the laser radar is greater than the preset distance threshold, the first weight corresponding to the first three-dimensional detection box is greater than the second weight corresponding to the second three-dimensional detection box.
8. A three-dimensional target detection device, characterized in that: include: An initial detection module is used to input a detection image of the area to be detected into an image processing network to obtain an initial three-dimensional detection frame corresponding to the target to be detected in the detection image; A first detection module, configured to adjust the depth of the initial three-dimensional detection frame according to the distribution of the millimeter-wave radar detection point cloud of the area to be detected in the initial three-dimensional detection frame to obtain a first three-dimensional detection frame; A second detection module, used to determine a second three-dimensional detection frame of the target to be detected based on the laser radar detection point cloud of the area to be detected; A weight determination module, configured to determine a first weight corresponding to the first three-dimensional detection frame and a second weight corresponding to the second three-dimensional detection frame according to a position of the target to be detected in the area to be detected; A target determination module is used to determine a target three-dimensional detection frame of the target to be detected according to the first three-dimensional detection frame, the second three-dimensional detection frame, the first weight and the second weight.
9. A vehicle, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the three-dimensional target detection method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the three-dimensional object detection method as described in any one of claims 1-7.
Citation Information
Patent Citations
Target detection method based on vision, laser radar and millimeter wave radar
CN111352112A
Three-dimensional target detection model training method, electronic equipment and computer storage medium
CN115376122A
Method and device for determining height of target object, electronic equipment and storage medium
CN116087987A
Three-dimensional target detection method, device and equipment and storage medium
CN116229451A
System and method for calibrating at least one camera and a light detection and ranging sensor
US10841483B1
