In-vehicle 360-degree surround view and video assistance system based on AI video recognition

By combining the intelligent image detection model with historical frame information, we can evaluate the position changes of obstacles and optimize the image generation of the vehicle-mounted 360 surround view system, which solves the problem of wasted computing power and improves system efficiency and accuracy.

CN118494344BActive Publication Date: 2024-09-24徐州众图智控通信科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410958260.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-24
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing vehicle-mounted 360-degree surround view and video assistance systems consume a lot of computing power to generate 360-degree surround images when the position of obstacles does not change significantly, resulting in waste.

Method used

The intelligent image detection model detects the video frames captured by the camera and combines historical frame information to determine whether a 360-degree surround image needs to be regenerated. The distance and motion trajectory regularity score of the obstacles is used to determine whether to adjust or generate the image.

Benefits of technology

It saves computing power consumption, reduces unnecessary computing requirements, and improves the efficiency and accuracy of generating 360-degree surround images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118494344B
    Figure CN118494344B
Patent Text Reader

Abstract

The present invention provides a vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition, and relates to the field of video image processing technology. The system includes: a camera and a processor, and the processor is used to: receive a monitoring video frame, detect the target area where the obstacle in the monitoring video frame is located; determine the detection distance between the obstacle and the camera; obtain target feature information and historical target feature information, and determine the first obstacle and its first quantity; determine whether it is necessary to regenerate a 360-degree surround view image; if not, obtain the 360-degree surround view image at the i-th moment according to the target area, the historical target area and the 360-degree surround view image at the i-th moment. According to the present invention, when the necessity of generating a 360-degree surround view image is not high, the 360-degree surround view image at the i-th moment can be adjusted to generate a 360-degree surround view image at the i-th moment, thereby saving computing power and reducing the waste of computing power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video image processing, and in particular to a vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition. Background Art

[0002] In the related art, the use of on-board 360-degree surround view and video assistance systems can help drivers detect obstacles around the vehicle and improve driving safety. However, synthesizing a 360-degree surround view image using video frames shot by multiple cameras installed around the vehicle consumes a lot of computing power. In addition, when the position changes of obstacles around the vehicle are small, it is not necessary to generate a 360-degree surround view image frame by frame, resulting in a large waste of computing power.

[0003] The information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0004] The present invention provides a vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition, which can reduce the waste of computing power in the process of generating 360-degree surround view images.

[0005] According to a first aspect of the present invention, there is provided an in-vehicle 360-degree surround view and video assistance system based on AI video recognition, comprising: cameras and a processor arranged at multiple positions of a vehicle body;

[0006] Wherein, the camera is used to capture monitoring video frames around the vehicle body and transmit the video frames to the processor;

[0007] The processor is used to:

[0008] Receive monitoring video frames captured by each camera at the i-th moment;

[0009] Through the intelligent image detection model, each monitoring video frame is detected and processed to obtain the target area where the obstacle is located in each monitoring video frame, wherein the target area is the area where the rectangular frame that selects the obstacle using the minimum circumscribed rectangle of the obstacle's outline is located;

[0010] According to the external parameters of each camera, determine the detection distance between each obstacle and the camera;

[0011] By using the intelligent image detection model, target feature information of each target area is obtained, and historical target feature information of historical target areas in historical monitoring video frames captured by each camera received at the i-1th moment and the i-2th moment is obtained;

[0012] Determine, according to the target feature information and the historical target feature information, a first obstacle that appears in both the monitoring video frame and the historical monitoring video frames at the i-1th moment and the i-2th moment;

[0013] Counting a first number of obstacles in each monitoring video frame;

[0014] Determining whether it is necessary to regenerate a 360-degree surround view image according to the target area, the historical target area, the detection distance, and the first obstacle;

[0015] If the 360-degree surround image does not need to be regenerated, the 360-degree surround image at the i-th moment is obtained according to the target area, the historical target area and the 360-degree surround image at the i-1-th moment;

[0016] If the 360-degree surround image needs to be regenerated, the 360-degree surround image at the i-th moment is generated according to each monitoring video frame at the i-th moment.

[0017] Technical effect: According to the present invention, obstacles in the monitoring video frames taken by each camera at the i-th moment can be detected, and based on the comparison with the historical monitoring video frames at the i-1th moment and the i-2th moment, it is determined whether it is necessary to regenerate the 360-degree surround image. Therefore, when the necessity of generating the 360-degree surround image is not high, the 360-degree surround image at the i-1th moment is adjusted to generate the 360-degree surround image at the i-th moment, thereby saving computing power and reducing the waste of computing power. When determining the distance demand score, the ratio of the number of obstacles that are close to the vehicle and have safety hazards among the obstacles detected in the monitoring video frame to the preset safety number can be determined by a conditional function, and then the maximum value of the ratio is used to describe the maximum demand for a higher-precision 360-degree surround image and the necessity of regenerating the 360-degree surround image, thereby improving the accuracy and objectivity of the distance demand score. When determining the first obstacle need score, the need for the first obstacle to regenerate the 360-degree surround view image can be determined by the regularity of the first obstacle's motion trajectory, and the maximum value of the need can be used to objectively describe the necessity of regenerating the 360-degree surround view image, thereby improving the accuracy and objectivity of the first obstacle need score. When determining the second obstacle need score, the necessity of regenerating a higher-precision 360-degree surround view image and making the driver understand the relative position between the second obstacle and the vehicle can be determined by the number proportion of the second obstacles newly appearing at the i-th moment and their safety, thereby improving the accuracy and objectivity of the second obstacle need score. When determining the generation need score, the generation need score can be determined based on the distance need score, the first obstacle need score, and the objects described by the second obstacle need score, so that the generation need score accurately and objectively describes the need for each obstacle to regenerate the 360-degree surround view image.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present invention. Other features and aspects of the present invention will become more apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic diagram of an in-vehicle 360-degree surround view and video assistance system based on AI video recognition according to an embodiment of the present invention is exemplarily shown. DETAILED DESCRIPTION

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

[0022] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0023] Figure 1 A schematic diagram of a vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition according to an embodiment of the present invention is exemplarily shown, wherein the system comprises: cameras and a processor arranged at multiple positions on the vehicle body;

[0024] Wherein, the camera is used to capture monitoring video frames around the vehicle body and transmit the video frames to the processor;

[0025] The processor is used to:

[0026] Receive monitoring video frames captured by each camera at the i-th moment;

[0027] Through the intelligent image detection model, each monitoring video frame is detected and processed to obtain the target area where the obstacle is located in each monitoring video frame, wherein the target area is the area where the rectangular frame that selects the obstacle using the minimum circumscribed rectangle of the obstacle's outline is located;

[0028] According to the external parameters of each camera, determine the detection distance between each obstacle and the camera;

[0029] By using the intelligent image detection model, target feature information of each target area is obtained, and historical target feature information of historical target areas in historical monitoring video frames captured by each camera received at the i-1th moment and the i-2th moment is obtained;

[0030] Determine, according to the target feature information and the historical target feature information, a first obstacle that appears in both the monitoring video frame and the historical monitoring video frames at the i-1th moment and the i-2th moment;

[0031] Counting a first number of obstacles in each monitoring video frame;

[0032] Determining whether it is necessary to regenerate a 360-degree surround view image according to the target area, the historical target area, the detection distance, and the first obstacle;

[0033] If the 360-degree surround image does not need to be regenerated, the 360-degree surround image at the i-th moment is obtained according to the target area, the historical target area and the 360-degree surround image at the i-1-th moment;

[0034] If the 360-degree surround image needs to be regenerated, the 360-degree surround image at the i-th moment is generated according to each monitoring video frame at the i-th moment.

[0035] According to the embodiment of the present invention, the vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition can detect obstacles in the monitoring video frames taken by each camera at the i-th moment, and determine whether it is necessary to regenerate the 360-degree surround view image based on the comparison with the historical monitoring video frames at the i-1th moment and the i-2th moment. Therefore, when the necessity of generating a 360-degree surround view image is not high, the 360-degree surround view image at the i-1th moment is adjusted to generate the 360-degree surround view image at the i-1th moment, thereby saving computing power and reducing the waste of computing power.

[0036] According to one embodiment of the present invention, cameras may be arranged at multiple positions on the vehicle body, for example, cameras may be arranged at the front, front side, side, rear side, and rear positions of the vehicle body, so that videos from multiple perspectives around the vehicle can be captured, which is convenient for the driver to observe obstacles around the vehicle and improve driving safety. The monitoring video frame captured by each camera may have a timestamp. After each camera transmits the monitoring video frame to the processor, the processor may synthesize the monitoring video frames from multiple perspectives with the same timestamp to obtain a 360-degree surround image, that is, an image of the vehicle and obstacles around the vehicle observed from a bird's-eye view. The present invention does not limit the specific position of the camera on the vehicle body.

[0037] According to one embodiment of the present invention, at the ith moment (for example, the current moment), the processor receives monitoring video frames taken by each camera, and can use multiple monitoring video frames with a timestamp of the ith moment to determine the necessity of regenerating a 360-degree surround view image. If the necessity is high, the monitoring video frames taken by multiple cameras can be used to generate a 360-degree surround view image at the ith moment. Otherwise, the 360-degree surround view image at the previous moment (i-1th moment) can be adjusted to obtain the 360-degree surround view image at the ith moment.

[0038] According to one embodiment of the present invention, obstacles in each monitoring video frame can be detected by an intelligent image detection model, and the target area where the obstacle is located can be framed out. The obstacle can include pedestrians, other vehicles or fixed obstacles (e.g., trees, etc.). The present invention does not limit the type of obstacle. The intelligent image detection model can be a deep learning neural network model, such as a convolutional neural network model, which can be used to detect obstacles around the vehicle that may affect the vehicle's driving, and frame the area where the obstacle is located in the monitoring video frame.

[0039] According to one embodiment of the present invention, each camera can be calibrated in advance, and the external parameters obtained by the calibration can be used to determine the relative position relationship between the position corresponding to any position in the image captured by the camera in the geographic coordinate system and the camera, for example, in the geographic coordinate system, the distance between the position and the camera, and the angle between the line connecting the position and the camera and the optical axis of the camera. Therefore, based on the external parameters of the camera, the detection distance between the obstacle in the monitoring video frame captured by the camera and the camera can be determined. For example, the center position of the target area where the obstacle is located can be determined, and the distance between the center position of the target area and the camera can be determined based on the external parameters as the detection distance between the obstacle and the camera.

[0040] According to one embodiment of the present invention, the target feature information of the target area where the obstacle is located can be extracted through the intelligent image detection model. For example, the feature information in the form of a vector can be extracted using a convolutional layer as the target feature information. In addition, the historical monitoring video frames taken by each camera at the i-1th moment and the i-2th moment, as well as the historical target areas in the historical monitoring video frames can be searched in the historical records. For example, for the same camera, the target feature information of the target area in the monitoring video frames taken by it can be obtained through the intelligent image detection model, and the historical target feature information of the historical target area in the historical monitoring video frames taken by it at the i-1th moment and the i-2th moment can be obtained through the intelligent image detection model, so that further comparison can be performed.

[0041] According to an embodiment of the present invention, the first obstacle that appears in the monitoring video frame and the historical monitoring video frames at the i-1th moment and the i-2th moment can be determined based on the target feature information and the historical target feature information. For example, for a certain obstacle in the monitoring video frame, the target feature information of its target area can be obtained, and it is determined whether there is historical feature information in the historical target feature information of the obstacle in the historical monitoring video frame at the i-1th moment whose feature similarity (for example, cosine similarity) with the target feature information is greater than or equal to a preset threshold. If so, the obstacle corresponding to the historical target feature information is determined as the obstacle that appears in the monitoring video frame and the historical monitoring video frame at the i-1th moment. Similarly, it can be determined whether there is an obstacle that appears in the monitoring video frame and the historical monitoring video frame at the i-2th moment. If a certain obstacle appears in the monitoring video frame, the historical monitoring video frame at the i-1th moment, and the historical monitoring video frame at the i-2th moment, the obstacle is determined as the first obstacle. All obstacles in the monitoring video frame can be traversed, and the first obstacle therein can be screened out.

[0042] According to an embodiment of the present invention, the first number of obstacles in each monitoring video frame may be counted. For example, the number of target areas in each monitoring video frame may be counted as the number of obstacles in each monitoring video frame.

[0043] According to one embodiment of the present invention, determining whether it is necessary to regenerate a 360-degree surround view image according to the target area, the historical target area, the detection distance and the first obstacle includes: determining a distance demand score according to the detection distance between each obstacle and the camera and a preset safety distance; determining a first obstacle demand score according to the detection distance, the target area of ​​the first obstacle, the historical target area of ​​the first obstacle at the i-1th moment, and the historical target area of ​​the first obstacle at the i-2th moment; determining a second obstacle that appears in a monitoring video frame and does not appear in the historical monitoring video frames at the i-1th moment and the i-2th moment according to the target feature information and the historical target feature information; obtaining a second number of the second obstacles; determining a second obstacle demand score according to the detection distance, the first number and the second number; determining a generation demand score according to the distance demand score, the first obstacle demand score and the second obstacle demand score; if the generation demand score is greater than or equal to the preset demand score, determining that the 360-degree surround view image needs to be regenerated.

[0044] According to an embodiment of the present invention, the distance necessity score is a score describing the necessity of regenerating the 360-degree surround view image from the perspective of the detection distance between the obstacle and the camera. Determining the distance necessity score according to the detection distance between each obstacle and the camera and the preset safety distance includes: determining the distance necessity score according to formula (1): ,

[0045] (1)

[0046] in, is the detection distance of the kth obstacle in the jth monitoring video frame at the i-th moment, is the preset safety distance, if is the conditional function, and max is the maximum value function. To preset a safe number, is the number of obstacles in the jth monitoring video frame, n is the number of monitoring video frames, k≤ , 1≤j≤n, k, j, n and All are positive integers.

[0047] According to one embodiment of the present invention, in formula (1), Indicates that if , then the conditional function value is 1, otherwise it is 0. Therefore, It represents the ratio between the number of obstacles whose detection distance from the jth camera is less than or equal to the safety distance (for example, 3 meters) and the preset safety number (for example, 3) in the jth monitoring video frame. The higher the ratio, the closer the number of obstacles with potential safety hazards is to the preset safety number (that is, the more obstacles with potential safety hazards are), and the higher the demand for a higher-precision 360-degree surround view image (that is, the higher the driver's observation demand for obstacles with potential safety hazards is). Furthermore, although the 360-degree surround view image at the i-th moment generated based on the monitoring video frame consumes a high computing power, its accuracy is higher than the 360-degree surround view image at the i-1th moment generated by adjusting the 360-degree surround view image at the i-1th moment. Therefore, the higher the above ratio, the higher the necessity of regenerating the 360-degree surround view image. The maximum value of the above ratios corresponding to multiple monitoring video frames can be taken as the distance demand score, thereby describing the maximum demand for a higher-precision 360-degree surround view image, and using the maximum demand to objectively describe the necessity of regenerating the 360-degree surround view image.

[0048] In this way, the ratio of the number of obstacles that are close to the vehicle and pose safety hazards to the preset safety number among the obstacles detected in the monitoring video frame can be determined through a conditional function, and the maximum value of the ratio can be used to describe the maximum demand for higher-precision 360-degree surround images and the necessity of regenerating 360-degree surround images, thereby improving the accuracy and objectivity of the distance demand score.

[0049] According to one embodiment of the present invention, the first obstacle necessity score is a score that describes the necessity of regenerating the 360-degree surround view image from the perspective of the first obstacle that appears in both the monitoring video frame and the historical monitoring video frames at the i-1th moment and the i-2th moment. Determining the first obstacle need score according to the detection distance, the target area of ​​the first obstacle, the historical target area of ​​the first obstacle at the i-1th moment, and the historical target area of ​​the first obstacle at the i-2th moment includes: determining a first center position of the target area of ​​the first obstacle, a second center position of the historical target area of ​​the first obstacle at the i-1th moment, and a third center position of the historical target area of ​​the first obstacle at the i-2th moment; determining a first relative position relationship between the first center position and the camera, a second relative position relationship between the second center position and the camera, and a third relative position relationship between the third center position and the camera through external parameters of the camera; establishing a coordinate system with the position of the camera as the origin, the optical axis of the camera as the X-axis, the vertical direction as the Z-axis, and the direction perpendicular to the X0Z plane as the Y-axis; determining a first position coordinate of the first center position in the coordinate system according to the first relative position relationship, determining a second position coordinate of the second center position in the coordinate system according to the second relative position relationship, and determining a third position coordinate of the third center position in the coordinate system according to the third relative position relationship; determining the first obstacle need score according to the detection distance, the first position coordinate, the second position coordinate, and the third position coordinate.

[0050] According to one embodiment of the present invention, the target area is a rectangular area, the first center position is the position where the center point of the rectangular area is located, similarly, the historical target area is also a rectangular area, the second center position and the third center position are the positions where the center point of the rectangular area is located. The external parameters of the camera can be used to represent the relative position relationship between the position corresponding to any position in the image captured by the camera in the geographic coordinate system and the camera, therefore, through the external parameters of the camera, the first relative position relationship between the first center position and the camera, the second relative position relationship between the second center position and the camera, and the third relative position relationship between the third center position and the camera can be determined.

[0051] According to one embodiment of the present invention, a coordinate system is established with the position of the camera as the origin, the optical axis of the camera as the X-axis, the vertical direction as the Z-axis, and the direction perpendicular to the X0Z plane as the Y-axis, and then based on the above-mentioned first relative position relationship, the relative position relationship between the first center position and the origin of the coordinate system can be obtained, that is, the first position coordinates of the first center position in the coordinate system. Similarly, the second position coordinates of the second center position in the coordinate system and the third position coordinates of the third center position in the coordinate system can be obtained.

[0052] According to an embodiment of the present invention, determining a first obstacle requirement score according to the detection distance, the first position coordinates, the second position coordinates and the third position coordinates includes: determining the first obstacle requirement score according to formula (2): ,

[0053] (2)

[0054] in, is the X-axis coordinate of the first position coordinate corresponding to the sth first obstacle in the jth monitoring video frame, is the Y-axis coordinate of the first position coordinate corresponding to the s-th first obstacle in the j-th monitoring video frame, is the Z-axis coordinate of the first position coordinate corresponding to the s-th first obstacle in the j-th monitoring video frame, is the X-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the Y-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the Z-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the X-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, is the Y-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, is the Z-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, for The transposed vector of is the detection distance of the sth first obstacle in the jth monitoring video frame at the ith moment, max is the maximum value function, is the number of the first obstacle in the jth monitoring video frame at the ith moment, n is the number of monitoring video frames, s≤ , 1≤j≤n, s, j, n and All are positive integers.

[0055] According to one embodiment of the present invention, is the motion vector of the s-th first obstacle between the i-2th moment and the i-1th moment. When the frame rate of the camera is high, the time interval between the moments corresponding to adjacent video frames is short. In a short time interval, the motion of the first obstacle is close to uniform linear motion, unless the motion trajectory of the first obstacle in the coordinate system undergoes a large mutation (it may be that the motion trajectory of the first obstacle itself undergoes a large mutation, or it may be that the motion trajectory of the vehicle undergoes a large mutation, resulting in a large change in the relative position relationship between the camera and the first obstacle). Therefore, when the motion trajectory of the first obstacle in the coordinate system does not undergo a large mutation, the motion trajectory of the first obstacle in the coordinate system is predictable. For example, according to the above assumption of uniform linear motion, As the predicted motion vector of the s-th first obstacle between the i-1th moment and the i-th moment, in this case, the necessity of regenerating the 360-degree surround image is not high, that is, the movement of the first obstacle is highly regular, and only the 360-degree surround image at the i-1th moment needs to be adjusted; otherwise, the movement trajectory of the first obstacle is highly irregular, and it is difficult to predict the movement trajectory of the first obstacle. Therefore, there is a high demand for regenerating a 360-degree surround image with higher accuracy.

[0056] According to one embodiment of the present invention, based on the above analysis, the actual motion vector of the s-th first obstacle between the i-1th moment and the i-th moment can be determined: Phase cosine similarity with the predicted motion vector , and determine the difference between 1 and the cosine similarity. The larger the difference, the lower the cosine similarity between the actual motion vector and the predicted motion vector, that is, there is a large deviation between the actual motion vector and the predicted motion vector, and the motion trajectory of the first obstacle has a high irregularity, and the demand for regenerating a more accurate 360-degree surround view image is high. It represents the ratio of the distance between the sth first obstacle and the camera at the i-1th moment to the detection distance between the sth first obstacle and the camera at the i-1th moment. If the ratio is greater than 1, it means that the detection distance between the sth first obstacle and the camera at the i-1th moment is less than the distance between the sth first obstacle and the camera at the i-1th moment, that is, the first obstacle is approaching the vehicle, and the demand for more accurate determination of the position of the first obstacle is high. Therefore, the demand for regenerating a 360-degree surround view image with higher accuracy is high. By multiplying the above two items, the demand for regenerating a 360-degree surround view image of the sth first obstacle in the jth monitoring video frame can be obtained. The maximum value of the demand for regenerating a 360-degree surround view image of each first obstacle in each monitoring video frame is taken to obtain the first obstacle demand score, which can be used to describe the maximum demand for a higher-precision 360-degree surround view image, and the necessity of regenerating a 360-degree surround view image is objectively described by using the maximum demand.

[0057] In this way, the regularity of the movement trajectory of the first obstacle can be used to determine the need for the first obstacle to regenerate the 360-degree surround view image, and the maximum value of the need can be used to objectively describe the necessity of regenerating the 360-degree surround view image, thereby improving the accuracy and objectivity of the first obstacle need score.

[0058] According to one embodiment of the present invention, for the target feature information of an obstacle in the monitoring video, if the cosine similarity between it and the historical target feature information of all obstacles in the historical monitoring video frame at the i-1th moment is low, and the cosine similarity between it and the historical target feature information of all obstacles in the historical monitoring video frame at the i-2th moment is low, then the obstacle is the second obstacle that did not appear in the historical monitoring video frames at the i-1th moment and the i-2th moment, that is, a new obstacle that appeared in the monitoring video frame at the i-th moment.

[0059] According to one embodiment of the present invention, the second number of second obstacles can be counted and the second obstacle desirability score can be determined. The second obstacle is a new obstacle that appears in the monitoring video frame at the i-th moment and has not appeared in the previous historical monitoring video frames. Therefore, if the second number of second obstacles is large, it is more necessary to regenerate a higher-precision 360-degree surround image and enable the driver to understand the relative position between him and the vehicle.

[0060] According to an embodiment of the present invention, determining a second obstacle requirement score according to the detection distance, the first number and the second number includes: determining the second obstacle requirement score according to formula (3): ,

[0061] (3)

[0062] in, is the detection distance of the t-th second obstacle in the j-th monitoring video frame at the ith moment, is the preset safety distance, if is the conditional function, is the first number of obstacles in the jth monitoring video frame, is the number of the second obstacle in the jth monitoring video frame, n is the number of monitoring video frames, t≤ , 1≤j≤n, t, j, n, and All are positive integers.

[0063] According to one embodiment of the present invention, in formula (3), It can be used as the safety hazard score of the t-th second obstacle in the j-th monitoring video frame at the i-th moment. The conditional function indicates that if the detection distance of the second obstacle is less than or equal to the safety distance, that is, the newly appeared second obstacle has a safety hazard, then the conditional function value is 1, that is, the safety hazard score is directly set to 1, otherwise, the conditional function value is That is, when the detection distance of the second obstacle is greater than the safety distance, the larger the detection distance, the smaller the conditional function value and the smaller the safety hazard.

[0064] According to one embodiment of the present invention, in formula (3), The product of the average safety hazard scores of each second obstacle in the jth monitoring video frame and the ratio of the number of second obstacles to the first number of obstacles can be used as the safety hazard score of the jth monitoring video frame. The higher the safety hazard score of the jth monitoring video frame, the greater the proportion of the number of newly appeared second obstacles detected in the jth monitoring video frame, and the existence of safety hazards. Further, the second obstacle demand score determined by formula (3) can represent the average safety hazard scores of each monitoring video frame. The greater the second obstacle demand score, the greater the proportion of the number of newly appeared second obstacles at the i-th moment, and the higher the danger. Therefore, it is more necessary to regenerate a higher-precision 360-degree surround view image and let the driver understand the relative position between the vehicle and the vehicle.

[0065] In this way, the necessity of regenerating a higher-precision 360-degree surround view image can be determined by the proportion of the number of newly appearing second obstacles at the i-th moment and their safety, and the driver can be made aware of the relative position between them and the vehicle, thereby improving the accuracy and objectivity of the second obstacle necessity score.

[0066] According to an embodiment of the present invention, determining a generation demand score according to the distance demand score, the first obstacle demand score and the second obstacle demand score includes: determining a generation demand score D according to formula (4),

[0067] (4)

[0068] in, Score the desirability of distance, Score the desirability of the first obstacle, Score the desirability of the second obstacle, and The preset weights.

[0069] According to one embodiment of the present invention, in formula (4), the first obstacle necessity score is a score obtained based on the characteristics of the first obstacle, the second obstacle necessity score is a score obtained based on the characteristics of the second obstacle, and the distance necessity score is a score determined based on the distances of all obstacles. Therefore, the distance necessity score describes the necessity of all obstacles for regenerating the 360-degree surround view image. Therefore, the object described is all obstacles. Therefore, the distance necessity score is multiplied by the weighted sum of the first obstacle necessity score and the second obstacle necessity score. The product obtained can be used as the generation necessity score, that is, the score describing the necessity of regenerating the 360-degree surround view image.

[0070] In this way, the generation desirability score can be determined based on the objects described by the distance desirability score, the first obstacle desirability score and the second obstacle desirability score, so that the generation desirability score accurately and objectively describes the desirability of each obstacle for regenerating the 360-degree surround view image.

[0071] According to one embodiment of the present invention, if the generation demand score is greater than or equal to the preset demand score, it is determined that the 360-degree surround image needs to be regenerated, otherwise, the 360-degree surround image does not need to be regenerated, and only the 360-degree surround image at the i-1th moment needs to be adjusted to obtain the 360-degree surround image at the i-th moment.

[0072] According to one embodiment of the present invention, if there is no need to regenerate the 360-degree surround image, the 360-degree surround image at the i-th moment is obtained according to the target area, the historical target area and the 360-degree surround image at the i-1th moment, including: determining the displacement vector of the first obstacle according to the first position coordinates and the second position coordinates; determining the third obstacle other than the first obstacle in each monitoring video frame; determining the fourth position coordinates of the target area corresponding to the third obstacle; determining the transformation relationship between the coordinate system of each camera and the coordinate system of the 360-degree surround image; and determining the fourth position coordinates of the target area corresponding to the third obstacle according to the transformation. The method comprises the following steps: determining the viewing position of the third obstacle in the 360-degree surround image at the i-th moment according to the viewing position of the first obstacle in the 360-degree surround image at the i-1-th moment, the displacement vector and the transformation relationship; and obtaining the 360-degree surround image at the i-th moment according to the viewing position of the first obstacle in the 360-degree surround image at the i-th moment and the viewing position of the third obstacle in the 360-degree surround image at the i-th moment.

[0073] According to one embodiment of the present invention, the displacement vector of the first obstacle is the actual motion vector of the first obstacle between the i-1th moment and the ith moment. , the displacement vector is a displacement vector in the coordinate system established based on the camera, and there is a certain transformation relationship between the coordinate system of each camera and the coordinate system of the 360-degree surround image. Based on the transformation relationship, the displacement vector of the first obstacle can be transformed into the displacement vector of the first obstacle in the 360-degree surround image. Further, based on the sum of the surround position of the first obstacle in the 360-degree surround image at the i-1th moment and the displacement vector of the first obstacle in the 360-degree surround image, the surround position of the first obstacle in the 360-degree surround image at the i-1th moment can be obtained.

[0074] According to one embodiment of the present invention, for a third obstacle other than the first obstacle (for example, a second obstacle that appears in the monitoring video frame at the i-th moment and does not appear in the historical monitoring video frames at the i-1th moment and the i-2th moment, and an obstacle that appears in the monitoring video frame at the i-th moment and the historical monitoring video frame at the i-1th moment and does not appear in the historical monitoring video frame at the i-2th moment), the fourth position coordinates of the center position of its target area in the coordinate system of the camera can be determined, and then through the above-mentioned transformation relationship, the fourth position coordinates can be transformed into the surround view position of the third obstacle in the 360-degree surround view image at the i-th moment.

[0075] According to an embodiment of the present invention, each obstacle can be marked at the above-mentioned surround position of the 360-degree surround image at the i-th moment to obtain the 360-degree surround image at the i-th moment, that is, the 360-degree surround image at the i-th moment can be obtained based on the coordinate adjustment of the obstacle. Therefore, when the necessity of regenerating the 360-degree surround image is not high, it is not necessary to consume high computing power to generate the 360-degree surround image, which can greatly save computing power.

[0076] According to one embodiment of the present invention, if the generation desirability score is greater than or equal to the preset desirability score, that is, the necessity of regenerating the 360-degree surround view image is high, then each monitoring video frame at the i-th moment may be synthesized to obtain the 360-degree surround view image at the i-th moment.

[0077] According to the vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition of the embodiment of the present invention, obstacles in the monitoring video frames taken by each camera at the i-th moment can be detected, and based on the comparison with the historical monitoring video frames at the i-1th moment and the i-2th moment, it is determined whether it is necessary to regenerate the 360-degree surround view image, so that when the necessity of generating the 360-degree surround view image is not high, the 360-degree surround view image at the i-1th moment is adjusted to generate the 360-degree surround view image at the i-1th moment, thereby saving computing power and reducing the waste of computing power. When determining the distance demand score, the ratio of the number of obstacles that are close to the vehicle and have safety hazards among the obstacles detected in the monitoring video frame to the preset safety number can be determined by a conditional function, and then the maximum value of the ratio is used to describe the maximum demand for a higher-precision 360-degree surround view image and the necessity of regenerating the 360-degree surround view image, thereby improving the accuracy and objectivity of the distance demand score. When determining the first obstacle need score, the need for the first obstacle to regenerate the 360-degree surround view image can be determined by the regularity of the first obstacle's motion trajectory, and the maximum value of the need can be used to objectively describe the necessity of regenerating the 360-degree surround view image, thereby improving the accuracy and objectivity of the first obstacle need score. When determining the second obstacle need score, the necessity of regenerating a higher-precision 360-degree surround view image and making the driver understand the relative position between the second obstacle and the vehicle can be determined by the number proportion of the second obstacles newly appearing at the i-th moment and their safety, thereby improving the accuracy and objectivity of the second obstacle need score. When determining the generation need score, the generation need score can be determined based on the distance need score, the first obstacle need score, and the objects described by the second obstacle need score, so that the generation need score accurately and objectively describes the need for each obstacle to regenerate the 360-degree surround view image.

[0078] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A vehicle-mounted 360-degree surround view and video assistance system based on AI video recognition, characterized in that: include: Cameras and processors installed at multiple locations on the vehicle body; Wherein, the camera is used to capture monitoring video frames around the vehicle body and transmit the video frames to the processor; The processor is used to: Receive monitoring video frames captured by each camera at the i-th moment; Through the intelligent image detection model, each monitoring video frame is detected and processed to obtain the target area where the obstacle is located in each monitoring video frame, wherein the target area is the area where the rectangular frame that selects the obstacle using the minimum circumscribed rectangle of the obstacle's outline is located; According to the external parameters of each camera, determine the detection distance between each obstacle and the camera; By using the intelligent image detection model, target feature information of each target area is obtained, and historical target feature information of historical target areas in historical monitoring video frames captured by each camera received at the i-1th moment and the i-2th moment is obtained; Determine, according to the target feature information and the historical target feature information, a first obstacle that appears in both the monitoring video frame and the historical monitoring video frames at the i-1th moment and the i-2th moment; Counting a first number of obstacles in each monitoring video frame; Determining whether it is necessary to regenerate a 360-degree surround view image according to the target area, the historical target area, the detection distance, and the first obstacle; If the 360-degree surround image does not need to be regenerated, the 360-degree surround image at the i-th moment is obtained according to the target area, the historical target area and the 360-degree surround image at the i-1-th moment; If the 360-degree surround image needs to be regenerated, the 360-degree surround image at the i-th moment is generated according to each monitoring video frame at the i-th moment. Determining whether it is necessary to regenerate a 360-degree surround view image according to the target area, the historical target area, the detection distance, and the first obstacle includes: Determine the distance requirement score based on the detection distance between each obstacle and the camera and the preset safety distance; determining a first obstacle desirability score according to the detection distance, the target area of ​​the first obstacle, the historical target area of ​​the first obstacle at the i-1th moment, and the historical target area of ​​the first obstacle at the i-2th moment; Determine, according to the target feature information and the historical target feature information, a second obstacle that appears in the monitoring video frame and does not appear in the historical monitoring video frames at the i-1th moment and the i-2th moment; Obtaining a second quantity of the second obstacle; determining a second obstacle desirability score according to the detection distance, the first number, and the second number; Determining a generation desirability score according to the distance desirability score, the first obstacle desirability score, and the second obstacle desirability score; If the generation necessity score is greater than or equal to the preset necessity score, it is determined that the 360-degree surround view image needs to be regenerated, The distance requirement score is determined based on the detection distance between each obstacle and the camera and the preset safety distance, including: According to the formula ; Determining the distance desirability score ,in, is the detection distance of the kth obstacle in the jth monitoring video frame at the i-th moment, is the preset safety distance, if is the conditional function, and max is the maximum value function. To preset a safe number, is the number of obstacles in the jth monitoring video frame, n is the number of monitoring video frames, k≤ , 1≤j≤n, k, j, n and All are positive integers.

2. The system according to claim 1, characterized in that Determining a first obstacle desirability score according to the detection distance, the target area of ​​the first obstacle, the historical target area of ​​the first obstacle at the i-1th moment, and the historical target area of ​​the first obstacle at the i-2th moment includes: Determine a first center position of the target area of ​​the first obstacle, a second center position of the historical target area of ​​the first obstacle at the i-1th moment, and a third center position of the historical target area of ​​the first obstacle at the i-2th moment; Determine, by means of external parameters of the camera, a first relative position relationship between the first center position and the camera, a second relative position relationship between the second center position and the camera, and a third relative position relationship between the third center position and the camera; A coordinate system is established with the camera position as the origin, the optical axis of the camera as the X-axis, the vertical direction as the Z-axis, and the direction perpendicular to the X0Z plane as the Y-axis; Determine a first position coordinate of a first center position in the coordinate system according to the first relative position relationship, determine a second position coordinate of a second center position in the coordinate system according to the second relative position relationship, and determine a third position coordinate of a third center position in the coordinate system according to the third relative position relationship; A first obstacle need score is determined according to the detection distance, the first position coordinates, the second position coordinates, and the third position coordinates.

3. The system according to claim 2, characterized in that Determining a first obstacle need score according to the detection distance, the first position coordinates, the second position coordinates, and the third position coordinates includes: According to the formula ; Determine the first obstacle desirability score ,in, is the X-axis coordinate of the first position coordinate corresponding to the sth first obstacle in the jth monitoring video frame, is the Y-axis coordinate of the first position coordinate corresponding to the s-th first obstacle in the j-th monitoring video frame, is the Z-axis coordinate of the first position coordinate corresponding to the s-th first obstacle in the j-th monitoring video frame, is the X-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the Y-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the Z-axis coordinate of the second position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-1-th moment, is the X-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, is the Y-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, is the Z-axis coordinate of the third position coordinate corresponding to the s-th first obstacle in the j-th historical monitoring video frame at the i-2-th moment, for The transposed vector of is the detection distance of the sth first obstacle in the jth monitoring video frame at the ith moment, max is the maximum value function, is the number of the first obstacle in the jth monitoring video frame at the ith moment, n is the number of monitoring video frames, s≤ , 1≤j≤n, s, j, n and All are positive integers.

4. The system according to claim 1, characterized in that Determining a second obstacle need score according to the detection distance, the first number, and the second number includes: According to the formula ; Determine the need score for the second obstacle ,in, is the detection distance of the t-th second obstacle in the j-th monitoring video frame at the ith moment, is the preset safety distance, if is the conditional function, is the first number of obstacles in the jth monitoring video frame, is the number of the second obstacle in the jth monitoring video frame, n is the number of monitoring video frames, t≤ , 1≤j≤n, t, j, n, and All are positive integers.

5. The system according to claim 1, characterized in that Determining, according to the distance demand score, the first obstacle demand score, and the second obstacle demand score, to generate a demand score includes: According to the formula ; Determine the generated desirability score D, where Score the desirability of distance, Score the desirability of the first obstacle, Score the desirability of the second obstacle, and The preset weights.

6. The system according to claim 2, characterized in that If the 360-degree surround image does not need to be regenerated, the 360-degree surround image at the i-th moment is obtained according to the target area, the historical target area and the 360-degree surround image at the i-1th moment, including: Determine a displacement vector of a first obstacle according to the first position coordinates and the second position coordinates; Determine a third obstacle other than the first obstacle in each monitoring video frame; Determining a fourth position coordinate of the target area corresponding to the third obstacle; Determine the transformation relationship between the coordinate system of each camera and the coordinate system of the 360-degree surround view image; Determine, according to the transformation relationship and the fourth position coordinates, a surround view position of the third obstacle in the 360-degree surround view image at the i-th moment; Determine the viewing position of the first obstacle in the 360-degree viewing image at the i-th moment according to the viewing position of the first obstacle in the 360-degree viewing image at the i-1th moment, the displacement vector, and the transformation relationship; The 360-degree surround image at the i-th moment is obtained according to the surround position of the first obstacle in the 360-degree surround image at the i-th moment and the surround position of the third obstacle in the 360-degree surround image at the i-th moment.

Citation Information

Patent Citations

  • Dual-thread vehicle-mounted display method and system

    CN108791064A

  • Vehicle rear visibility supporting system

    JP1998211849A

  • Reporting system for vehicle

    JP2009241857A

  • Obstacle detection method and device

    WO2020259284A1