Panoramic target detection method, device, vehicle and storage medium
By generating a bird's-eye view panoramic scene image in the panoramic imaging system and integrating ranging information, the problem of image misalignment in the image splicing area is solved, accurate measurement and labeling of targets around the vehicle is achieved, and the driver can avoid obstacles in a timely manner. .
Patent Information
- Application Number
- CN202410066056.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-01-16
AI Technical Summary
The panoramic imaging system has image misalignment defects in the splicing area of multiple camera angles, causing the target object to disappear from the display or making it difficult to determine its position relative to the vehicle body, affecting the timely detection and avoidance of obstacles.
By obtaining the scene images collected by each camera around the vehicle, a panoramic scene image from a bird's-eye view is generated, and the identified targets in the image overlapping areas are determined for adjacent scene images, and the measurement is fused according to the ranging fusion weight in the preset fusion weight table. The distance information is obtained to obtain the unique distance information between the target and the vehicle, and then the target's marking information is generated in the panoramic scene image.
It avoids the image misalignment defects caused by image splicing in the traditional panoramic image system, ensures that the target object does not disappear in the display screen, and accurately determines its relative position to the vehicle body, thereby improving the driver's understanding of the obstacles around the vehicle, thereby Achieve timely avoidance.
Smart Images

Figure CN118247765B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of assisted driving technology, and in particular to a panoramic target detection method, device, vehicle and storage medium. Background Art
[0002] The panoramic image system is designed to enhance driving experience, safety and convenience, and plays an important role especially in low-speed driving scenarios.
[0003] However, in the related art, there are some blind spots or dead angles in the detection of panoramic imaging systems. For example, in the stitching area of multiple camera perspectives, the panoramic imaging system may have image misalignment defects. This may cause the target object to disappear on the display screen or its position relative to the vehicle body to be difficult to judge, thereby causing the driver to misjudge the existence and relative distance of the target object, which may affect the timely detection and avoidance of obstacles. Summary of the invention
[0004] The main purpose of the present application is to provide a panoramic target detection method, device, vehicle and storage medium, aiming to solve the problem in the related art that due to the processing defects of the image stitching area, the panoramic imaging system detection may have blind spots and dead angles, causing the target object to disappear on the display screen or the relative position relative to the vehicle body is difficult to judge.
[0005] To achieve the above objectives, in a first aspect, the present application provides a panoramic target detection method, comprising:
[0006] Obtain scene images collected by cameras around the vehicle;
[0007] Based on all scene images, a panoramic scene image with a bird's-eye view is generated;
[0008] For each two adjacent scene images, an identified target in an image overlap region between the two scene images is determined, and ranging information between the identified target and the vehicle obtained by two current cameras respectively; wherein the two current cameras are cameras corresponding to the two adjacent scene images respectively, and in a preset fusion weight table, the two current cameras respectively have ranging fusion weights;
[0009] For every two adjacent scene images, based on the ranging fusion weights of the two current cameras, the two ranging information are fused to obtain the unique ranging information between the identified target and the vehicle;
[0010] Based on the unique ranging information, the marking information of the identified target is generated in the panoramic scene image.
[0011] Optionally, based on all scene images, a panoramic scene image from a bird's-eye view is generated, including:
[0012] Convert the scene image to obtain a bird's-eye view image;
[0013] For each image overlap area between two adjacent bird's-eye view images, determine the pixel fusion weights of any two adjacent bird's-eye view images from a preset fusion weight table;
[0014] For each two adjacent bird's-eye view images, based on two pixel fusion weights, a fusion process is performed on the image overlap areas of the two adjacent bird's-eye view images to obtain fused adjacent bird's-eye view images;
[0015] Based on all the fused adjacent bird's-eye view images, a panoramic scene image is generated.
[0016] Optionally, for each two adjacent scene images, determining the identified target in the image overlap region between the two scene images includes:
[0017] Input each scene image into the target detection model to obtain the identified target; the identified target has classification confidence and location confidence;
[0018] Obtaining a comprehensive confidence according to the classification confidence and the location confidence of the target image area of the identified target;
[0019] The identified target whose comprehensive confidence is greater than the preset confidence is output as the final identified target.
[0020] Optionally, outputting the identified target whose comprehensive confidence is greater than a preset confidence as the final identified target includes:
[0021] The identified target whose comprehensive confidence is greater than the preset confidence is regarded as the identified target;
[0022] Update the current target detection set based on the identified targets;
[0023] Output all identified targets in the current target detection set.
[0024] Optionally, for each two adjacent scene images, based on the respective ranging fusion weights of the two current cameras, two ranging information are fused to obtain unique ranging information between the identified target and the vehicle, including:
[0025] If the identified target appears in the overlapping area of the images, the image features corresponding to the identified target are identified in the two scene images respectively;
[0026] According to the pixel position information of the image features in the binocular imaging system, the binocular ranging information of the identified target is determined; the binocular imaging system is composed of two cameras corresponding to the two scene images;
[0027] Based on the two ranging fusion weights and the binocular fusion weight of the binocular ranging information, the binocular ranging information is fused with the two ranging information to obtain the unique ranging information of the identified target.
[0028] Optionally, for each two adjacent scene images, based on the respective ranging fusion weights of the two current cameras, two ranging information are fused to obtain unique ranging information between the identified target and the vehicle, including:
[0029] Acquire the perceived information of the identified target collected by the perception sensor;
[0030] Determine the perception fusion weight corresponding to the perception sensor from the preset fusion weight table;
[0031] Based on the perception fusion weight and the two ranging fusion weights, the two ranging information and the identified target perception information are fused to obtain the unique ranging information of the identified target.
[0032] Optionally, for each two adjacent scene images, after fusing two ranging information based on the ranging fusion weights of the two current cameras to obtain unique ranging information between the identified target and the vehicle, the method further includes:
[0033] Determine the alarm level of the identified target based on the unique ranging information of each identified target;
[0034] From all identified targets, determine the alarm target corresponding to the highest alarm level;
[0035] Determine the target camera to which the alarm target belongs;
[0036] Displays the scene image from the target camera.
[0037] In a second aspect, to achieve the above-mentioned purpose, the present application further provides a panoramic target detection device, the panoramic target detection device comprising:
[0038] An acquisition module acquires scene images collected by cameras around the vehicle;
[0039] A panoramic image generation module generates a panoramic scene image based on all scene images;
[0040] A ranging module, for each two adjacent scene images, determines the identified target in the image overlap area between the two scene images, and determines the ranging information between the identified target and the vehicle obtained by two current cameras respectively; wherein the two current cameras are cameras corresponding to the two adjacent scene images respectively, and in a preset fusion weight table, the two current cameras respectively have ranging fusion weights;
[0041] The fusion module, for each two adjacent scene images, fuses the two ranging information based on the ranging fusion weights of the two current cameras to obtain the unique ranging information between the identified target and the vehicle;
[0042] The recognition module generates marking information of the recognized target in the panoramic scene image based on the unique ranging information.
[0043] On the third aspect, to achieve the above-mentioned objectives, the present application continues to provide a vehicle, including: a processor, a memory, and a panoramic target detection program stored in the memory, and the panoramic target detection program implements the steps of the above-mentioned panoramic target detection method when executed by the processor.
[0044] In a fourth aspect, in order to achieve the above-mentioned objectives, the present application continues to provide a computer-readable storage medium, on which a panoramic target detection program is stored, and when the panoramic target detection program is executed by a processor, the above-mentioned panoramic target detection method is implemented.
[0045] It is not difficult to see that the present application performs relevant processing on the scene image obtained by the vehicle body camera to generate a 360° bird's-eye view panoramic image around the vehicle, and for the identified target in the image overlap area of two adjacent scene images, determines the distance measurement information between the identified target and the vehicle obtained by the two cameras respectively, and then for the two distance measurement information, according to the distance measurement fusion weight preset in the fusion weight table, the two distance measurement information are fused to obtain more accurate unique distance measurement information between the target and the vehicle, and then the position information of the target relative to the vehicle body can be calculated based on the unique distance measurement information, and the marking information of the identified target can be generated in the generated panoramic scene image according to the position information.
[0046] Through this embodiment, the acquisition of 360-degree bird's-eye view scene information around the vehicle is realized, and the information of the target objects around the vehicle is accurately measured through the range fusion weight, so that the identification target is marked in the panoramic scene image. It can be understood that by marking the identified target in the panoramic scene image, the problem that the target disappears on the display screen or the position relative to the vehicle body is difficult to determine due to the defect of image misalignment during image splicing in the traditional panoramic image system can be avoided. The vehicle driver can accurately understand the situation of obstacles around the vehicle based on the marking information in the panoramic scene image, so as to achieve timely avoidance. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of the structure of the vehicle of this application;
[0048] Figure 2 This is a flow chart of the first embodiment of the panoramic target detection method of the present application;
[0049] Figure 3 This is a detailed flowchart of step S200 of the first embodiment of the panoramic target detection method of the present application;
[0050] Figure 4 This is a flow chart of a second embodiment of the panoramic target detection method of the present application;
[0051] Figure 5 This is a flow chart of step S330 of the second embodiment of the panoramic target detection method of the present application;
[0052] Figure 6 This is a flow chart of a third embodiment of the panoramic target detection method of the present application;
[0053] Figure 7 This is a schematic diagram of the binocular imaging system of this application;
[0054] Figure 8 This is a flow chart of a fourth embodiment of a panoramic target detection method of the present application;
[0055] Fig. 9 This is a flowchart of a fifth embodiment of the panoramic target detection method of the present application;
[0056] Fig.10 This is a schematic diagram of the first structure of the present application example;
[0057] Fig.11 This is a second structural diagram of an example of this application;
[0058] Fig.12 This is a schematic diagram of the third structure of the present application example.
[0059] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] The panoramic image system is designed to enhance driving experience, safety and convenience, and plays an important role especially in low-speed driving scenarios.
[0062] However, in the related art, the detection of the panoramic imaging system may have some blind spots or dead angles. For example, in the stitching area of multiple camera perspectives, the panoramic imaging system may have image misalignment defects. This may cause the target object to disappear on the display screen or its position relative to the vehicle body to be difficult to judge, thereby causing the driver to misjudge the existence and relative distance of the target object, which may affect the timely detection and avoidance of obstacles.
[0063] Embodiments of the present application In the following, the panoramic target detection method device, vehicle and storage medium used in the technical implementation of the present application will be described:
[0064] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a vehicle in the hardware operating environment involved in the embodiment of the present application.
[0065] like Figure 1 As shown, the vehicle may include: a processor 1001, such as a CPU, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a voice pickup module, such as a microphone array, etc., and the optional user interface 1003 may also be a display screen (Display), an input unit such as a keyboard (Keyboard), etc. The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0066] It is understandable that the vehicle may further include a network interface 1004, which may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). Optionally, the vehicle may further include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
[0067] Those skilled in the art will understand that Figure 1 The vehicle structure shown in the figure does not constitute a limitation on the vehicle, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0068] Based on the hardware structure of the above vehicle but not limited to the above hardware structure, the present application provides a first embodiment of a panoramic target detection method. Figure 2 , Figure 2 A flow chart of a first embodiment of a panoramic target detection method of the present application is shown.
[0069] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown here.
[0070] In this embodiment, the panoramic target detection method includes:
[0071] Step S100, acquiring scene images captured by cameras around the vehicle.
[0072] Step S200: Generate a panoramic scene image from a bird's-eye view based on all scene images.
[0073] In this embodiment, cameras are arranged around the vehicle, and each camera can collect scene information within the camera's field of view to generate a scene image.
[0074] It is understandable that the fisheye camera can obtain scene information with a wider viewing angle range than other cameras. Specifically, in this embodiment, taking the fisheye camera as an example, four fisheye cameras are arranged in the front, back, left, and right directions of the vehicle to ensure that the scene image of the 360-degree scene information around the vehicle can be obtained.
[0075] It can be understood that the perspective of the scene image collected by the fisheye camera is usually a horizontal perspective, while the bird's-eye view image can provide a more three-dimensional scene observation angle compared to the horizontal perspective, helping the driver and the vehicle to more comprehensively understand the information around the vehicle. Therefore, in this embodiment, the collected scene image is subjected to corresponding perspective transformation processing and image stitching operations to generate a panoramic scene image from a bird's-eye view perspective containing 360-degree scene information around the vehicle.
[0076] Further, if Figure 3 As shown, as a specific implementation, step S200 includes:
[0077] Step S210, converting the perspective of the scene image to obtain a bird's-eye view image.
[0078] Specifically, in this embodiment, the scene image from the fisheye camera is dedistorted, and based on the dedistorted horizontal perspective scene image, the horizontal perspective scene image is transformed into a bird's-eye view image by utilizing the homography matrix for conversion between the horizontal perspective and the bird's-eye view.
[0079] In a specific example, a horizontal scene image with a calibration cloth can be first obtained through a fisheye camera installed on a vehicle, wherein the calibration cloth needs to be placed at the four corners of the vehicle, and adjacent calibration cloths need to be kept on the same horizontal line. After the horizontal scene image is obtained, a dedistortion operation is performed on the horizontal scene image, and feature points of the calibration cloth are selected on the dedistorted horizontal image, such as the corner points of the calibration cloth and other feature-obvious points. At the same time, the feature points of the calibration cloth in the undistorted scene image under the bird's-eye view corresponding to the horizontal view are found. According to the spatial relationship between the corresponding feature points in the dedistorted horizontal view image and the undistorted bird's-eye view image, the homography matrix for the conversion between the horizontal view image and the bird's-eye view is calculated. It can be understood that each fisheye camera on the vehicle corresponds to a homography matrix, and the calculated homography matrix is saved for the subsequent conversion of the bird's-eye view of the scene picture taken by the fisheye camera. See Formula 1 for the specific application method:
[0080]
[0081] in, It represents the homogeneous coordinates of the corresponding points in the horizontal viewing angle image taken by a fisheye camera on the vehicle, and H represents the homography matrix corresponding to the camera. Represents the homogeneous coordinates of the corresponding points in the bird's-eye view image obtained after the horizontal view image is transformed into a bird's-eye view.
[0082] It is worth mentioning that in the example, the horizontal perspective image can be dedistorted by pixel fitting. It can be understood that the known horizontal perspective image is a distorted fisheye image, and the process of dedistorting the horizontal perspective image is the process of finding the mapping relationship between the horizontal perspective image and each point in the dedistorted horizontal perspective image. Specifically, the fisheye camera on the vehicle can be used to shoot calibration objects with known three-dimensional coordinates at various angles, and record their corresponding two-dimensional coordinates in the image. The fisheye camera is calibrated using the known three-dimensional coordinates and the corresponding two-dimensional coordinates in the captured image. During the camera calibration process, the internal parameters of the camera (such as focal length, principal point position) are estimated, and the distortion fitting coefficient is also estimated. Since the radial distortion of the camera is usually nonlinear, the optimization algorithm (such as the least squares method) is used during the camera calibration process to perform nonlinear optimization on the distortion fitting coefficient to find the optimal distortion fitting coefficient and record it. In practical applications, the specific dedistortion method is shown in Formula 2:
[0083] x′=x(1+k1r 2 +k2r 4 +k3r 6 +k4r 8 );
[0084] y′=y(1+k1r 2 +k2r 4 +k3r 6 +k4r 8 );
[0085] In Formula 2, (x', y') represents the normalized coordinates of the corresponding point in the horizontal viewing image before dedistortion, (x, y) represents the normalized image coordinates of the corresponding point in the undistorted horizontal viewing image, k1, k2, k3, k4 represent distortion fitting coefficients, and r represents the distance from the corresponding point in the undistorted horizontal viewing image to the center point of the image.
[0086] It can be understood that the perspective conversion of the scene image collected by the fisheye camera realizes the stereoscopic scene observation from the horizontal perspective to the bird's-eye perspective, providing more comprehensive surrounding information for the driver and the vehicle. Through de-distortion processing and bird's-eye conversion, the distorted scene image around the vehicle is successfully converted into a distortion-free bird's-eye perspective image, which improves the geometric accuracy and information restoration of the image.
[0087] Step S220 : for each image overlap region between two adjacent bird's-eye view images, determine the pixel fusion weights of any two adjacent bird's-eye view images from a preset fusion weight table.
[0088] In this embodiment, the image overlap area between the bird's-eye view images is the overlapped portion of the bird's-eye view images corresponding to the viewing angle range between two adjacent fisheye cameras on the vehicle. The pixel fusion weight represents the weight proportion of each pixel point in the overlapped area when the bird's-eye view images are stitched.
[0089] Specifically, after the horizontal perspective images captured by two adjacent fisheye cameras are transformed into the corresponding bird's-eye view images by looking down, the overlapping parts of each bird's-eye view image are confirmed, and the weight proportion of the corresponding pixel points in the overlapping part is determined from the fusion weight table. It can be understood that the fusion weight table records the fusion weight proportion of each pixel point in the overlapping area of the bird's-eye view images corresponding to each fisheye camera on the vehicle. In this embodiment, the sum of the pixel fusion weights of the corresponding pixel points in the overlapping area of the two adjacent bird's-eye view images is 1, and the weight proportion of each bird's-eye view image is confirmed according to the fusion effect. In a specific example, for the overlapping area of the two adjacent bird's-eye view images, the pixel fusion weight of the corresponding pixel point of one of the bird's-eye view images is increased from 0 to 1 in sequence, and the fusion weight of the corresponding pixel point of the other bird's-eye view image is correspondingly decreased from 1 to 0, and the fusion weight with the best statistical fusion effect is recorded in the fusion weight table for subsequent image fusion processing.
[0090] By constructing and recording the pixel fusion weight table, the optimal fusion of the bird's-eye view images taken by adjacent fisheye cameras in the overlapping area is achieved. The optimal fusion effect is determined by gradually adjusting the pixel fusion weights in the overlapping area of adjacent bird's-eye view images, so that the image transition in the overlapping area is natural and seamless.
[0091] Step S230 , for every two adjacent bird's-eye view images, based on two pixel fusion weights, a fusion process is performed on the image overlapped areas of the two adjacent bird's-eye view images to obtain fused adjacent bird's-eye view images.
[0092] In this embodiment, for every two adjacent bird's-eye view images, the pixel fusion weights corresponding to the pixels in the two images are used to perform fusion processing on the overlapping areas of the images.
[0093] Specifically, according to the pixel fusion weights in the predetermined fusion weight table, weighted fusion is performed on the pixel points in the overlapping area of the adjacent bird's-eye view images.
[0094] Step S240: Generate a panoramic scene image from a bird's-eye view based on all the fused adjacent bird's-eye view images.
[0095] In this embodiment, an overall image formed by combining all fused adjacent bird's-eye view images is a panoramic scene image.
[0096] It can be understood that the final panoramic scene image reflects the overall situation of the vehicle's surrounding environment, which can provide a more comprehensive information basis for subsequent target detection, provide more detailed and accurate environmental cognition for driving, and ensure the safe driving of the vehicle under complex road conditions.
[0097] Step S300: for every two adjacent scene images, determine the identified target in the image overlap area between the two scene images, and determine the distance measurement information between the identified target and the vehicle obtained by the two current cameras respectively.
[0098] The two current cameras are cameras corresponding to two adjacent scene images respectively, and in the preset fusion weight table, the two current cameras have ranging fusion weights respectively.
[0099] Step S400: for every two adjacent scene images, based on the respective ranging fusion weights of the two current cameras, two ranging information are fused to obtain unique ranging information between the identified target and the vehicle.
[0100] In this embodiment, the identified target is a target object identified in the scene image, for example, a person, dog, or other target object in the scene image that may affect the driving of a vehicle. It can be understood that the scene images taken by two cameras at the same time may contain the same identified target object in the overlapping area of the image.
[0101] The distance information indicates the measured distance between the identified target and the vehicle in the world coordinates. It is understandable that due to the influence of camera errors, the distance information of the identified target calculated according to the scene images captured by different cameras may be different.
[0102] The distance fusion weight represents the weight proportion corresponding to the distance information between the identified target and the vehicle in the scene image captured by each camera. In this embodiment, the distance detection is performed on each identified target in the scene image, and the corresponding distance information is determined, and the distance information is weighted and fused to obtain more accurate unique distance information.
[0103] Specifically, by calculating the ratio of world coordinates to pixel coordinates, after obtaining this ratio, the distance information of the identified target from the camera in the world coordinates can be calculated by calculating the pixel distance of the identified target in the scene image. For details, see Formula 3:
[0104]
[0105] In formula 3, l world is the world coordinate of the identified target, l pixel is the pixel coordinate of the identified target in the scene image, Δdistance pixel is the pixel distance of the identified target in the scene image, Δdistance world It is the distance information of the identified target in world coordinates.
[0106] After calculating the distance information between the identified target and the vehicle respectively obtained by the two current cameras, the two distance information are weightedly fused according to the distance fusion weights of the two cameras.
[0107] In this embodiment, the ranging fusion weight of each camera is determined by the ranging error of the camera in the image fusion area. It is understandable that due to algorithm errors, camera performance and other reasons, the calculated ranging information between the identified target and the camera may have a certain error with the actual distance. The distance information between two adjacent cameras and the same target at different positions can be calculated respectively, and the distance information can be compared with the actual distance to obtain the error distribution of the two adjacent cameras. According to the error distribution, the ranging fusion weight of the two adjacent cameras is determined, and the ranging fusion weight is recorded in the weight fusion table to facilitate the determination of the unique ranging information in the subsequent actual target recognition process.
[0108] It can be understood that in this embodiment, for the overlapping area of the viewing angles of two adjacent cameras, the ranging information corresponding to each camera is weightedly fused according to the ranging fusion weight of the ranging information between each camera and the identified target, so as to obtain more accurate unique distance information between the vehicle and the target object, which helps to reduce the uncertainty caused by the ranging error of a single camera and improve the overall ranging accuracy.
[0109] Step S500: Generate marking information of the identified target in the panoramic scene image based on the unique ranging information.
[0110] It can be understood that after determining the unique ranging information between the identified target and the vehicle, the position coordinate information of the identified target relative to the vehicle can be determined based on the unique ranging information. For example, in the world coordinate system (centered on the vehicle), based on the unique ranging information of the target object and the angle between the identified target and the vehicle, the position coordinates of the identified target in the world coordinate system can be determined. Based on the conversion relationship between the world coordinate system and the image coordinate system of the panoramic scene image, the position information corresponding to the identified target in the panoramic scene image is determined, and the marking information of the identified target is generated at the corresponding position. It can be understood that the marking information allows the vehicle driver to intuitively see the relative position and relative distance between the identified target and the vehicle.
[0111] It is not difficult to see that the present application realizes the acquisition of 360-degree bird's-eye view scene information around the vehicle, and accurately measures the target information around the vehicle through the ranging fusion weight, so as to realize the marking of the identified target in the panoramic scene image. It can be understood that by marking the identified target in the panoramic scene image, the problem that the target disappears on the display screen or the position relative to the vehicle body is difficult to determine due to the defect of image misalignment during image splicing in the traditional panoramic image system can be avoided. The vehicle driver can accurately understand the situation of obstacles around the vehicle based on the marking information in the panoramic scene image, so as to achieve timely avoidance.
[0112] Further, see Figure 4 , Figure 4 The flowchart of the second embodiment of the panoramic target detection method of the present application is shown. In this embodiment, step S300 includes:
[0113] Step S310, input each scene image into the target detection model respectively to obtain an identified target; the identified target has a classification confidence and a positioning confidence.
[0114] Step S320, obtaining a comprehensive confidence according to the classification confidence and the positioning confidence of the target image area of the identified target.
[0115] Step S330, outputting the identified target whose comprehensive confidence is greater than the preset confidence as the final identified target.
[0116] In this embodiment, each camera around the vehicle corresponds to a target detection model, and the target detection model can be used to detect identified targets in the scene image captured by the corresponding vehicle camera. Identified targets are obstacles that need to be avoided during driving, such as people, other vehicles, and dogs. In this embodiment, the classification confidence represents the confidence of the target detection model in the category to which the identified target belongs. Specifically, for each target identified by the target detection model, the classification confidence measures the probability or confidence level that the target belongs to a specific category. For example, if the model detects that a certain target object is a vehicle, the classification confidence indicates how likely it is that the area is indeed a vehicle.
[0117] The localization confidence represents the confidence of the object detection model in the accuracy of the position of the identified object in the image. Specifically, for each object detected by the object detection model, the localization confidence measures how confident the model is in the accuracy of the position of the object in the image.
[0118] The comprehensive confidence represents a comprehensive measure of the confidence of the target detection model in both classification and location of the identified target. Specifically, the comprehensive confidence is obtained by multiplying the classification confidence and location confidence of the target image area. The comprehensive confidence can more comprehensively reflect the overall confidence level of the model for each identified target. The higher the comprehensive confidence, the more confident the model is about the category and location information of the identified target. Specifically, the identified target with a comprehensive confidence greater than the preset confidence can be used as the final output.
[0119] In a specific example, data of the target object to be identified in the actual application scenario is collected offline, including images under different angles, different lighting, different environments, different backgrounds and other conditions, and the images are annotated and input into machine learning models, neural network models and other models that can perform image recognition and parsing tasks for training. The prediction information output by the model reasoning is compared with the manually annotated verification data set to confirm the convergence state of the model training, and finally the required target detection model is obtained. The target detection model will output the positioning confidence, classification confidence, 2D detection box and key points of the identified target.
[0120] It is understandable that the target detection model may output multiple overlapping detection frames for the same identified target. In order to avoid duplicate counting, these detection frames need to be screened. In this embodiment, the Weighted NMS (weighted non-maximum suppression) algorithm is used to perform weighted fusion on each detection frame, and the detection frame with the highest confidence is selected as the final detection result.
[0121] Specifically, first obtain the location confidence and classification confidence of each detection frame of the identified target, preliminarily screen out the detection frames below a specific location confidence threshold through the location confidence, then select the classification result with the largest classification confidence from each detection frame after the preliminary screening as the category of each detection frame, and classify and merge these detection frames.
[0122] Then, the detection frame with the highest confidence in the fixed position of the detection frame after classification and merging is used as the reference frame, and the intersection and union ratio of other detection frames and this detection frame is calculated. According to the size of the intersection and union ratio, the weight factor of each detection frame is confirmed. The detection frame with a larger intersection and union ratio has a higher weight factor. The detection frames after classification and merging are weighted and fused according to the weight factor to obtain the only detection frame to be output for the same identified target. It can be understood that all identified targets in a scene image can be detected and marked in the above manner, and each different identified target corresponds to a unique detection frame to be output.
[0123] Each identified target is further screened, and different confidence thresholds are set according to different target types. The positioning confidence and classification confidence of the detection box to be output in each identified target are multiplied to obtain a comprehensive confidence. The comprehensive confidence is used as the standard for determining whether the target is a real target, and the identified targets with a comprehensive confidence higher than the preset confidence are output.
[0124] It can be understood that this embodiment is a process of identifying targets in scene images captured by each vehicle camera. By introducing comprehensive confidence as a criterion for determining whether the identified targets are correct, it provides a more comprehensive and reliable target perception capability and improves the accuracy and robustness of target recognition.
[0125]
[0126]
[0127] In order to verify the detection accuracy and recall rate of the target detection in this example, public data sets and custom scene data sets were used for test comparison, and various performance indicators were analyzed and compared. A data set of 10,137 pictures in complex scenes was used as the test set, with a total of 39,418 labels. The original target detection model was first used to test the data set. After statistics, the data in Table 1 was used as a reference for the performance indicators of the original algorithm model.
[0128]
[0129] Next, the target detection model of this example was used to test the same batch of data sets. After statistics, Table 2 was obtained as a reference for the performance indicators of the self-developed algorithm.
[0130] The performance indicators of the original algorithm model and the algorithm model provided in this example are compared to obtain Table 3 as a reference. It can be seen from Table 3 that compared with the original algorithm model, the detection accuracy and recall rate of the target detection model in this example are improved to varying degrees, which further demonstrates that this embodiment provides a more comprehensive and reliable target perception capability and improves the accuracy of target object recognition.
[0131]
[0132] Further, as a specific implementation method, refer to Figure 5 In this embodiment, step S330 includes:
[0133] Step S331, taking the identified target whose comprehensive confidence is greater than the preset confidence as the final identified target.
[0134] Step S332, updating the current target detection set based on the final identified target.
[0135] Step S333, output all identified targets in the current target detection set.
[0136] In this embodiment, the target detection set is a set of all recognized targets in the captured previous frame of scene image.
[0137] The present embodiment is a process for dynamic identification of targets in the scene around the vehicle. Specifically, after identifying the target in the scene image of the current frame, the identified target whose comprehensive confidence is greater than the preset confidence is taken as the final identified target, and the final identified target identified in the current frame is searched and matched with the identified target in the previous frame in the target detection set, and the target detection set is updated, and then the targets in the updated target detection set are synchronized with the corresponding annotations in the panoramic scene image.
[0138] In a specific example, the current frame scene image collected by each camera of the vehicle is input into the target detection model for prediction to obtain each recognized target. If the current frame is the first frame, the relevant data of the recognized target is directly saved to the target detection set, which mainly includes the horizontal coordinate information and vertical coordinate information of the center point of the lower edge of the detection frame of the recognized target, and the width and length of the detection frame. If the current frame is not the first frame, the recognized target of the current frame is matched with the recognized target of the previous frame in the target detection set in sequence.
[0139] Specifically, if the identified target in the current frame successfully matches a target identified in the previous frame in the target detection set, it is considered that the identified target in the current frame and the successfully matched identified target in the previous frame are the same target, and the Kalman filter algorithm is used to update the state of the identified target in the previous frame. The relevant data of the identified target in the previous frame is weightedly fused with the relevant data of the identified target in the current frame to output more stable and smooth updated data.
[0140] If the recognized target in the current frame cannot find a matching recognized target in the previous frame in the target detection set, the recognized target in the current frame is considered to be a new target and is saved in the target detection set.
[0141] If there is an identified target in the target detection set and no matching identified target in the current frame appears in three consecutive frames, it is considered that the identified target in the target detection set has gone out of the vehicle detection range and is removed from the tracking algorithm list.
[0142] It can be understood that by determining the target with a comprehensive confidence higher than the preset threshold as the final identified target, the system can timely and accurately identify the target in the current frame scene image, and then dynamically update the target detection set through search matching, Kalman filtering and fusion processing. This effectively reduces data redundancy, realizes smooth tracking of the target motion state, and automatically processes newly appeared targets and targets that move out of the field of view, improves the system's perception of dynamic targets in the scene around the vehicle, and provides more accurate and reliable input information for subsequent processing.
[0143] Further, see Figure 6 , Figure 6 The flowchart of the third embodiment of the panoramic target detection method of the present application is shown. In this embodiment, step S400 includes:
[0144] Step S410: If the identified target appears in the image overlap area, image features corresponding to the identified target are identified in the two scene images respectively.
[0145] Step S420, determining binocular ranging information of the identified target according to the pixel position information of the image feature in the binocular imaging system.
[0146] Step S430 , based on the two ranging fusion weights and the binocular fusion weight of the binocular ranging information, the binocular ranging information is fused with the two ranging information to obtain unique ranging information of the identified target.
[0147] The binocular imaging system consists of two cameras corresponding to two scene images. The binocular fusion weight indicates the weight ratio of the binocular ranging information when confirming the unique ranging information.
[0148] In this embodiment, the binocular distance measurement information refers to the distance information of the identified target in the image fusion area obtained by the binocular imaging system. It can be understood that the two cameras with overlapping viewing areas on the vehicle can be regarded as a binocular imaging system. Figure 7 As shown in FIG, based on the binocular imaging principle, the binocular ranging information of the identified target relative to the binocular imaging system can be determined. Figure 7 Where Ol, Or are the optical centers of two adjacent cameras, xl, xr are the pixel positions of the ranging reference point P of the identified target on the s1 imaging plane and the s2 imaging plane, and Z is the binocular ranging information between the ranging reference point P and the binocular imaging system.
[0149] Specifically, obtain the distance measurement reference point of the identifiable target in the image overlap area of one scene image, and search for the distance measurement reference point corresponding to the identified target in the other scene image through the feature matching algorithm. According to the pixel position information of the two distance measurement reference points on the corresponding image, the binocular distance measurement information of the identified target relative to the binocular imaging system can be inferred. See Formula 5 for details:
[0150] Z = f*B / D;
[0151] In Formula 5, D is the parallax between the two cameras in the binocular imaging system, which can be determined by the pixel position information of the ranging reference points corresponding to the two cameras, B is the baseline distance between the two cameras, f is the corrected focal length of the two cameras in the binocular imaging system, and Z is the binocular ranging information.
[0152] After the binocular ranging information is confirmed, the binocular ranging information and the ranging information of the two adjacent cameras will be weightedly fused according to the ranging fusion weights corresponding to the two adjacent cameras and the binocular fusion weights corresponding to the binocular imaging system to calculate the unique ranging information.
[0153] It is understandable that the binocular fusion weight can also be found in the fusion weight table. The binocular fusion weight in the fusion weight table can be determined by calculating the error distribution of binocular ranging information and actual ranging information between the binocular imaging system and the target at different positions.
[0154] It can be understood that by combining the binocular ranging information with the ranging information of two adjacent cameras, the accuracy and robustness of the overall ranging can be further improved.
[0155] Further, see Figure 8 , Figure 8 The flowchart of the fourth embodiment of the panoramic target detection method of the present application is shown. In this embodiment, step S400 includes:
[0156] Step S440, obtaining the identified target perception information collected by the perception sensor.
[0157] Step S450: determining the perception fusion weight corresponding to the perception sensor from a preset fusion weight table.
[0158] Step S460: Based on the two ranging fusion weights and the perception fusion weight, the two ranging information and the identified target perception information are fused to obtain unique ranging information of the identified target.
[0159] In this embodiment, the perception sensor may be an environmental perception device such as an ultrasonic radar, a millimeter wave radar, etc. The recognized target perception information may be the distance information from the recognized target to the vehicle body detected by the perception sensor in the overlapping area of the viewing angle. The perception fusion weight may be the weight of the visual perception information measured by each perception sensor when being fused.
[0160] Specifically, the perception fusion weight corresponding to the sensor can be obtained from the fusion weight table, and the ranging information and the target perception information are weightedly fused according to the perception fusion weight and the ranging fusion weight to obtain unique ranging information.
[0161] After confirming the perception fusion weights corresponding to each sensor, the target perception information (ranging information) measured by n perception sensors (including cameras) can be weighted and fused to obtain the final unique ranging information.
[0162] It can be understood that this embodiment combines the ranging information of the target object obtained by the camera and the perception sensor, and uses the ranging fusion weights and perception fusion weights corresponding to the camera and the perception sensor in the fusion weight table to achieve the fusion of multi-source ranging information of the same target, thereby improving the accuracy and reliability of the target ranging information and reducing the error with the actual distance.
[0163] Further, see Fig. 9 , Fig. 9 The flowchart of the fourth embodiment of the panoramic target detection method of the present application is shown. In this embodiment, after step S400, the following steps are further included:
[0164] Step S600, determining the alarm level of each identified target based on the unique distance measurement information of each identified target.
[0165] Step S700: Determine the alarm target corresponding to the highest alarm level from all identified targets.
[0166] Step S800, determining the target camera to which the alarm target belongs.
[0167] Step S900: displaying the scene image of the target camera.
[0168] In this embodiment, the alarm level is divided according to the distance between the identified target and the vehicle body. For example, according to the distance between the target object and the vehicle body, the alarm level is divided from low to high into safety, normal alarm, and danger alarm. It can be understood that when the alarm level is in danger alarm, it means that the identified target is too close to the vehicle body. At this time, the driver can be prompted to pay attention by issuing an alarm signal.
[0169] Specifically, in this embodiment, the unique distance measurement information of the identified target is used as the standard for judging the alarm level, the unique distance measurement information of all identified targets in the panoramic scene image is detected, and the identified target whose unique distance measurement information meets the highest alarm level is determined as the alarm target. Subsequently, the target camera that detects the alarm target is determined, and the scene image captured by the camera at the current moment is displayed. The distance information of the identified target from the vehicle body is marked at the corresponding position of the image to provide a reference for the driver.
[0170] It can be understood that this embodiment divides the alarm level based on the unique ranging information of the identified target, further determines the alarm target and displays the corresponding scene image, realizes accurate detection and alarm prompts of panoramic targets, improves the driver's perception and response ability to the surrounding environment, and thus enhances driving safety.
[0171] In order to enable those skilled in the art to better understand the present embodiment, the technical solution of the present embodiment is explained below through specific implementation examples in specific application scenarios. It can be understood that the following examples are only used to explain the present application and are not used to limit the scope of protection of the claims of the present application.
[0172] like Fig.10 As shown, Fig.10 This is a schematic diagram of the structure of a panoramic target detection system in this example. In this example, the system includes a camera, which is arranged as follows: Fig.11 The method shown is installed on the target vehicle, and the camera transmits the AHD signal to the image capture module.
[0173] The image capture module is used to provide the image frames transmitted by the camera to the subsequent surround view module, calibration module and AI module for different algorithm processing.
[0174] The calibration module can be used to configure the parameters of all modules within the system and synchronize the parameters to each module. Specifically, the calibration module is configured with the internal parameters of each camera, the distortion fitting coefficient required for image dedistortion, the weight fusion table required for weight fusion, and the homography matrix information required for overhead transformation.
[0175] It is worth mentioning that during the parameter configuration process, the calibration module will select the relevant parameters of the effective area within the camera's field of view for configuration. For example, the relevant configuration information of the camera obtaining scene information far away from the vehicle body will not be configured in the calibration module. This allows other modules to only search for relevant information in the effective area when performing related operations such as table lookup, reducing the calculation time of the algorithm.
[0176] The stitching module can be used to perform perspective conversion and stitching processing on the same frame of images from various cameras. After processing, a complete 360-degree panoramic stitching picture is obtained, and the picture is output to the display screen.
[0177] The AI model is used to parse and select the designated target in the image from each camera, and the distance information of the designated target is calculated.
[0178] The fusion module uses a weighted fusion algorithm to fuse and associate the same target objects in each image frame in the image stitching area, so as to obtain more accurate target distance information. At the same time, based on the target distance information, the position of the target object relative to the vehicle body is determined, and the corresponding position in the panoramic scene image of the display screen is marked to generate corresponding marking information.
[0179] like Fig.12 As shown in the figure, this example divides different alarm levels in the panoramic scene image. The alarm level range can be flexibly configured between 0-10 meters, divided into normal alarm area and dangerous alarm area, and displays the detected target with a visual tracking mark on the display screen. According to the target distance information output by the fusion module, different levels of alarm sounds and color changes of the tracking circle are used to remind the driver in different dangerous areas, which greatly reduces the burden of handling invalid information.
[0180] It can be understood that the error between the target distance information output by the fusion module and the actual distance is smaller, which not only ensures that when the target is at the edge of the alarm area, there will be no missed alarms or false alarms due to precision loss, thereby improving the accuracy of the alarm, but also ensures that when the target is in the overlapping area of the camera's field of view, it will not switch back and forth between adjacent cameras due to data instability, thereby improving efficiency and safety.
[0181] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the above-mentioned storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0182] Based on the same inventive concept, the present application also provides a panoramic target detection device, which includes:
[0183] An acquisition module is used to acquire scene images collected by cameras around the vehicle;
[0184] A panoramic image generation module, used to generate a panoramic scene image from a bird's-eye view based on all scene images;
[0185] A ranging module is used to determine, for each two adjacent scene images, an identified target in an image overlap region between the two scene images, and to determine ranging information between the identified target and the vehicle obtained by two current cameras respectively; wherein the two current cameras are cameras corresponding to the two adjacent scene images respectively, and in a preset fusion weight table, the two current cameras respectively have ranging fusion weights;
[0186] A fusion module is used to fuse two ranging information for each two adjacent scene images based on the ranging fusion weights of the two current cameras to obtain unique ranging information between the identified target and the vehicle;
[0187] The recognition module is used to generate marking information of the recognized target in the panoramic scene image based on the unique ranging information.
[0188] It should be noted that the various embodiments of the panoramic target detection device in this embodiment and the technical effects achieved therein can refer to the various implementation methods of the panoramic target detection method in the aforementioned embodiments, which will not be described in detail here.
[0189] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the above-mentioned storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0190] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
Claims
1. A panoramic target detection method, characterized in that: The method comprises: Obtain scene images collected by cameras around the vehicle; Based on all the scene images, generating a panoramic scene image from a bird's-eye view; For each two adjacent scene images, an identified target in an image overlap region between the two scene images is determined, and ranging information between the identified target and the vehicle obtained by two current cameras respectively; wherein the two current cameras are cameras corresponding to the two adjacent scene images respectively, and in a preset fusion weight table, the two current cameras respectively have ranging fusion weights; For every two adjacent scene images, based on the respective ranging fusion weights of the two current cameras, the two ranging information are fused to obtain unique ranging information between the identified target and the vehicle; Based on the unique ranging information, generating marking information of the identified target in the panoramic scene image, so that the driver can accurately avoid obstacles based on the marking information; The step of generating the marking information of the identified target in the panoramic scene image based on the unique ranging information comprises: Determine the position coordinates of the identified target based on the unique ranging information and the angle information between the identified target and the vehicle; Generating marking information of the identified target at a position corresponding to the position coordinates in the panoramic scene image; The step of determining, for each two adjacent scene images, a recognized target in an image overlap region between the two scene images comprises: Inputting each of the scene images into a target detection model respectively to obtain an identified target; the identified target has a classification confidence and a positioning confidence; Obtaining a comprehensive confidence according to the classification confidence and the positioning confidence of the target image area of the identified target; Outputting the identified target whose comprehensive confidence is greater than the preset confidence as the final identified target; The target detection model outputs multiple overlapping detection frames for the same identified target; the step of obtaining the comprehensive confidence according to the classification confidence and the positioning confidence of the target image area of the identified target comprises: For each detection frame of the identified target, determining a location confidence and a classification confidence corresponding to the detection frame; Screening out all the detection frames whose fixed position confidences are less than a preset position confidence threshold, to obtain a preliminary screening detection frame set; For each detection frame in the initial screening detection frame set, determining a classification result with the largest classification confidence as the target category of the identified target corresponding to the detection frame; Merging the detection frames in the preliminary screening detection frame set based on the target category to obtain a merged detection frame set; Using a weighted non-maximum algorithm, weighted fusion is performed on all the detection frames in the combined detection frame set to obtain a unique detection frame corresponding to the identified target; Based on the classification confidence and positioning confidence of the unique detection frame, the comprehensive confidence is obtained; the comprehensive confidence=classification confidence×positioning confidence; The step of fusing the two ranging information for each two adjacent scene images based on the ranging fusion weights of the two current cameras to obtain unique ranging information between the identified target and the vehicle includes: If the identified target appears in the overlapping area of the images, identifying image features corresponding to the identified target in the two scene images respectively; Determine the binocular ranging information of the identified target according to the pixel position information of the image feature in the binocular imaging system; the binocular imaging system is composed of the two cameras corresponding to the two scene images; Based on the two ranging fusion weights and the binocular fusion weight of the binocular ranging information, the binocular ranging information is fused with the two ranging information to obtain unique ranging information of the identified target; the ranging fusion weight is determined based on the error distribution of distance information when the same target is located at different positions in the camera area.
2. The panoramic target detection method according to claim 1, characterized in that: The step of generating a panoramic scene image from a bird's-eye view based on all the scene images comprises: Converting the scene image to obtain a bird's-eye view image; For each image overlap area between two adjacent bird's-eye view images, determining the pixel fusion weights of any two adjacent bird's-eye view images from the preset fusion weight table; For each two adjacent bird's-eye view images, based on the two pixel fusion weights, fusing the image overlapped areas of the two adjacent bird's-eye view images to obtain fused adjacent bird's-eye view images; Based on all the fused adjacent bird's-eye view images, a panoramic scene image from the bird's-eye view is generated.
3. The panoramic target detection method according to claim 1, characterized in that: The step of outputting the identified target whose comprehensive confidence is greater than a preset confidence as a final identified target comprises: The identified target whose comprehensive confidence is greater than the preset confidence is taken as the identified target; Updating a current target detection set based on the identified target; Output all identified targets in the current target detection set.
4. The panoramic target detection method according to claim 1, characterized in that: For each two adjacent scene images, based on the respective ranging fusion weights of the two current cameras, the two ranging information are fused to obtain unique ranging information between the identified target and the vehicle, including: Acquire the perceived information of the identified target collected by the perception sensor; Determine the perception fusion weight corresponding to the perception sensor from the preset fusion weight table; Based on the perception fusion weight and the two ranging fusion weights, the two ranging information and the identified target perception information are fused to obtain unique ranging information of the identified target.
5. The panoramic target detection method according to claim 1, characterized in that: After fusing the two ranging information for each two adjacent scene images based on the ranging fusion weights of the two current cameras to obtain unique ranging information between the identified target and the vehicle, the method further includes: Determining the alarm level of the identified target according to the unique ranging information of each identified target; From all identified targets, determine the alarm target corresponding to the highest alarm level; Determine the target camera to which the alarm target belongs; The scene image of the target camera is displayed.
6. A panoramic target detection device, characterized in that: The panoramic target detection device comprises: An acquisition module is used to acquire scene images collected by cameras around the vehicle; A panoramic image generation module, used to generate a panoramic scene image from a bird's-eye view based on all the scene images; A ranging module, for determining, for each two adjacent scene images, an identified target in an image overlap region between the two scene images, and determining ranging information between the identified target and the vehicle obtained by two current cameras respectively; wherein the two current cameras are cameras corresponding to the two adjacent scene images respectively, and in a preset fusion weight table, the two current cameras respectively have ranging fusion weights; the ranging fusion weights are determined based on the error distribution of distance information between the current camera and the same target object at different positions; A fusion module, configured to fuse the two ranging information for each two adjacent scene images based on the ranging fusion weights of the two current cameras, so as to obtain unique ranging information between the identified target and the vehicle; A recognition module, configured to generate marking information of the recognized target in the panoramic scene image based on the unique ranging information, so that the driver can accurately avoid obstacles based on the marking information; The recognition module is further configured to determine the position coordinates of the identified target based on the unique ranging information and the angle information between the identified target and the vehicle; and generate marking information of the identified target at a position corresponding to the position coordinates in the panoramic scene image; The distance measurement module is further used to input each of the scene images into the target detection model respectively to obtain an identified target; the identified target has a classification confidence and a positioning confidence; according to the classification confidence and the positioning confidence of the target image area of the identified target, a comprehensive confidence is obtained; and the identified target whose comprehensive confidence is greater than the preset confidence is output as the final identified target; The target detection model outputs multiple overlapping detection frames for the same identified target; the ranging module is further used to determine the location confidence and classification confidence corresponding to each detection frame of the identified target; screen out all detection frames whose location confidence of the detection frames is less than a preset location confidence threshold to obtain a preliminary screening detection frame set; for each detection frame in the preliminary screening detection frame set, determine the classification result with the largest classification confidence as the target category of the identified target corresponding to the detection frame; merge the detection frames in the preliminary screening detection frame set based on the target category to obtain a merged detection frame set; use a weighted non-maximum algorithm to weightedly fuse all the detection frames in the merged detection frame set to obtain a unique detection frame corresponding to the identified target; obtain the comprehensive confidence based on the classification confidence and location confidence of the unique detection frame; the comprehensive confidence = classification confidence × location confidence; The fusion module is further used for respectively identifying image features corresponding to the identified target in the two scene images if the identified target appears in the image overlap area; determining binocular ranging information of the identified target according to pixel position information of the image features in the binocular imaging system; the binocular imaging system is composed of two cameras corresponding to the two scene images; based on the two ranging fusion weights and the binocular fusion weight of the binocular ranging information, the binocular ranging information is fused with the two ranging information to obtain unique ranging information of the identified target; the ranging fusion weight is determined based on the error distribution of distance information when the same target is located at different positions in the camera area.
7. A vehicle, characterized in that: include: A processor, a memory, and a panoramic target detection program stored in the memory, wherein the panoramic target detection program, when executed by the processor, implements the steps of the panoramic target detection method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a panoramic target detection program, and when the panoramic target detection program is executed by the processor, the panoramic target detection method as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Vehicle-mounted panoramic image imaging and target detection fusion display method
CN112801880A
Obstacle target detection method and device, domain controller and vehicle
CN113093178A
AVM image fusion method and device, vehicle and readable storage medium
CN116051379A
Distance calculation device
JP2015206798A
