Dual-spectrum radar-vision integrated machine traffic incident monitoring method, system, equipment and medium

By applying visible light, infrared light and millimeter wave radar sensors to unified image coordinate system processing and traffic event detection logic in the dual-spectrum radar all-in-one machine, the problem of inconsistent detection ranges of video visible light and millimeter wave radar is solved, and a more complete system is achieved. Accurate traffic incident monitoring.

CN118097933BActive Publication Date: 2024-09-24BEIJING SINOITS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311804542.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-09-24
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

In the existing technology, the video visible light detection range is inconsistent with the millimeter-wave radar detection range, resulting in limited accuracy in traffic event monitoring, and there are few technical solutions for simultaneous fusion of the three sensors.

Method used

Using a dual-spectrum radar all-in-one machine, the visible light, infrared light sensor and millimeter wave radar sensor are processed in a unified coordinate system of the image, and the pixel coordinates are converted into the Cartesian coordinates of the millimeter wave radar, and the predictive traffic event detection application logic method is used Traffic event detection is performed on the video data collected by the three sensors and a comprehensive score is generated for monitoring.

Benefits of technology

It improves the accuracy of traffic event monitoring. It is more accurate than the monitoring solution with two sensors, and can effectively integrate the data of three sensors for comprehensive monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118097933B
    Figure CN118097933B
Patent Text Reader

Abstract

The present invention discloses a method, system, device and medium for monitoring traffic events using a dual-spectrum radar and vision integrated machine, and relates to the technical field of traffic event monitoring. The method includes: extracting images at fixed intervals from the visible light video collected by the dual-spectrum radar and vision integrated machine after processing based on a unified coordinate system, and inputting the extracted images into an image brightness classifier to obtain a brightness score corresponding to the image; performing traffic event detection on the video data collected by all sensors in the dual-spectrum radar and vision integrated machine within the fixed interval by applying a logic method to predict traffic event detection, and generating a detection result; generating a comprehensive score corresponding to the image based on the brightness score and the detection result, and storing the comprehensive score in association with the image to complete monitoring. The present invention realizes comprehensive monitoring of traffic events through three sensors in the dual-spectrum radar and vision integrated machine, which is more accurate than the solution of monitoring with two sensors in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In terms of fusion strategy and implementation steps, radar-visual fusion perception can be divided into three levels: data layer fusion, feature layer fusion, and decision layer fusion. Figure 1 as well as Figure 2 As shown in the figure, data layer fusion is a primary fusion model, which means that the basic data generated by video analysis and millimeter wave radar are synchronized according to the time axis, detection area, etc., and then the collected target data are uniformly subjected to feature extraction and analysis to achieve detection and extraction of effective targets. The extracted target information is then fused, and the characteristics, attributes and other results of the target are output based on deep learning recognition technology.

[0003] Feature layer fusion is an algorithm-level process fusion. It extracts the features of the target using feature detection technology from each of the multiple sensor data sources, and fuses the feature information extracted by the multiple sensors, such as edge features, corner features, color features, etc., based on the algorithm layer. The target information output by the fusion is then identified using a deep recognition model, and the recognition results are output.

[0004] Decision-level fusion combines analysis results. Each data source is processed separately at the algorithm level, including feature extraction and detection, target feature recognition, and other aspects. The recognition results are then fused and output based on information such as time, space, speed, and viewing angle. This solution requires minimal algorithmic processing and presents minimal fusion challenges. However, it is often limited by the inherent limitations of individual data sources or sensors. Therefore, in this solution, we primarily utilize feature-level fusion, while considering adding data-level and decision-level fusion algorithms for specialized scenarios to ensure overall system reliability.

[0005] Since the visible light detection range of the video is not completely consistent with the detection range of the millimeter wave radar (visible light is about 250 meters, and millimeter wave is about 425 meters), in order to fuse the targets of the two, it is necessary to select the millimeter wave detection targets. The selection principle is to fuse the target data that can be covered by both millimeter waves and visible light, and only display the millimeter wave detection and tracking effects for targets outside the visible light detection range.

[0006] The overall fusion architecture consists of three parts: radar data processing, camera data processing, and fused data processing. Radar data processing includes radar data pre-selection, filter parameter selection, and radar target recognition output. Camera data processing consists of two key modules: video target recognition and lane recognition. Video target recognition utilizes target detection models such as YOLO, while lane recognition utilizes models such as the Hough algorithm and edge recognition. Vehicle and lane recognition results, along with radar target recognition results, are output to the data bus. After data preprocessing and fusion with target recognition and trajectory tracking algorithms, target position, speed, heading angle, and other information are output, along with event alerts and feature attribute information. After receiving target information, the vehicle-road cooperative system (VIC) can issue vehicle or event warnings to vehicles within signal coverage via the roadside RSU antenna. The digital twin platform can then create a real-time digital twin of the real-world traffic flow based on target location, speed, size, attributes, and event information. Currently, the technologies currently available on the market primarily rely on the fusion of millimeter-wave radar and visible light, or visible light and infrared thermal imaging. Few solutions integrate all three sensors simultaneously. Summary of the Invention

[0007] The technical problem to be solved by the present invention is to address the deficiencies of the existing technology and specifically provide a dual-spectrum radar and visual integrated traffic incident monitoring method, system, device and medium, as follows:

[0008] 1) In the first aspect, the present invention provides a traffic incident monitoring method using a dual-spectrum radar and visual integrated device. The specific technical solution is as follows:

[0009] like Figure 3 As shown, S1, performing image unified coordinate system processing on the visible light sensor, infrared light sensor, and millimeter wave radar sensor in the dual-spectrum radar and vision integrated device, and converting the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into Cartesian coordinates of the image collected by the millimeter wave radar sensor;

[0010] S2 extracts images at fixed intervals from the visible light video captured by the dual-spectral radar and visual integrated device after processing based on the unified coordinate system. The extracted images are input into the image brightness classifier to obtain the brightness score corresponding to the image.

[0011] S3, performing traffic event detection on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic event detection, and generating a detection result;

[0012] S4. Generate a comprehensive score corresponding to the image based on the brightness score and the detection result, associate the comprehensive score with the image and store it to complete the monitoring.

[0013] The beneficial effects of the traffic incident monitoring method of the dual-spectrum radar and visual integrated device provided by the present invention are as follows:

[0014] Comprehensive monitoring of traffic incidents is achieved through the three sensors in the dual-spectrum radar and vision integrated machine, which is more accurate than the monitoring solution of two sensors in the existing technology.

[0015] Based on the above solution, the present invention can also be improved as follows.

[0016] Furthermore, the process of converting the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor is as follows:

[0017] Four Cartesian coordinate points are randomly selected within the detection range of the video image corresponding to the millimeter-wave radar sensor, and the conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula. According to the conversion matrix parameters, the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor.

[0018] Furthermore, a traffic incident detection is performed on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic incident detection. The process of generating the detection result is as follows:

[0019] The traffic incident prediction detection application logic method includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic and radar traffic incident detection application logic;

[0020] Performing traffic event detection on the video collected by the visible light sensor within the fixed interval using the visible light traffic event detection application logic to obtain a first detection result, and determining a first distance between a location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device;

[0021] Performing traffic event detection on the video collected by the infrared light sensor within the fixed interval using the infrared light traffic event detection application logic to obtain a second detection result, and determining a second distance between the location of the traffic event in the second detection result and the dual-spectrum radar and video integrated device;

[0022] Performing traffic event detection on the video collected by the millimeter-wave radar sensor within the fixed interval using the radar traffic event detection application logic to obtain a third detection result, and determining a third distance between the location of the traffic event in the third detection result and the dual-spectrum radar and video integrated device;

[0023] The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

[0024] Furthermore, the process of generating a comprehensive score corresponding to the image based on the brightness score and the detection result is as follows:

[0025] A comprehensive score corresponding to the image is generated based on the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight.

[0026] 2) In a second aspect, the present invention further provides a traffic incident monitoring system using a dual-spectrum radar and visual integrated device. The specific technical solution is as follows:

[0027] The conversion module is used to: perform image unified coordinate system processing on the visible light sensor, infrared light sensor and millimeter wave radar sensor in the dual-spectrum radar and vision integrated device, and convert the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor;

[0028] The processing module is used to extract images at fixed intervals from the visible light video captured by the dual-spectrum radar and visual integrated device after processing based on the unified coordinate system, and input the extracted images into the image brightness classifier to obtain the brightness score corresponding to the image;

[0029] The detection module is used to: perform traffic event detection on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic event detection, and generate a detection result;

[0030] The monitoring module is used to generate a comprehensive score corresponding to the image based on the brightness score and the detection result, associate the comprehensive score with the image and store it to complete the monitoring.

[0031] Based on the above solution, the present invention can also be improved as follows.

[0032] Furthermore, the conversion module is specifically configured to:

[0033] Four Cartesian coordinate points are randomly selected within the detection range of the video image corresponding to the millimeter-wave radar sensor, and the conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula. According to the conversion matrix parameters, the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor.

[0034] Furthermore, the detection module is specifically used to:

[0035] The traffic incident prediction detection application logic method includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic and radar traffic incident detection application logic;

[0036] Performing traffic event detection on the video collected by the visible light sensor within the fixed interval using the visible light traffic event detection application logic to obtain a first detection result, and determining a first distance between a location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device;

[0037] Performing traffic event detection on the video collected by the infrared light sensor within the fixed interval using the infrared light traffic event detection application logic to obtain a second detection result, and determining a second distance between the location of the traffic event in the second detection result and the dual-spectrum radar and video integrated device;

[0038] Performing traffic event detection on the video collected by the millimeter-wave radar sensor within the fixed interval using the radar traffic event detection application logic to obtain a third detection result, and determining a third distance between the location of the traffic event in the third detection result and the dual-spectrum radar and video integrated device;

[0039] The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

[0040] Furthermore, the monitoring module is specifically used to:

[0041] A comprehensive score corresponding to the image is generated based on the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight.

[0042] 3) In a third aspect, the present invention further provides a computer device, comprising a processor coupled to a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor so that the computer device implements any of the above methods.

[0043] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to enable a computer to implement any of the above methods.

[0044] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Other features, objects and advantages of the present invention will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0046] Figure 1 This is a flowchart of the fusion strategy and implementation steps of radar-visual fusion perception;

[0047] Figure 2 This is a schematic diagram of the integration of existing patents;

[0048] Figure 3 Schematic diagram of a flow chart of a traffic incident monitoring method using a dual-spectrum radar and visual integrated device according to an embodiment of the present invention;

[0049] Figure 4 It is a structural framework diagram of computer equipment;

[0050] Figure 5 Schematic diagram of selecting pixel coordinates corresponding to the coordinates of 6 points within the radar video detection range. DETAILED DESCRIPTION

[0051] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

[0052] like Figure 1 As shown, a traffic incident monitoring method using a dual-spectrum radar and visual integrated device according to an embodiment of the present invention includes the following steps:

[0053] Processing the visible light sensor, infrared light sensor, and millimeter-wave radar sensor in the dual-spectrum radar and vision integrated device in a unified image coordinate system, and converting the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into Cartesian coordinates of the image collected by the millimeter-wave radar sensor;

[0054] The visible light video collected by the dual-spectrum radar and vision integrated device after processing based on the unified coordinate system is extracted at fixed intervals, and the extracted images are input into the image brightness classifier to obtain the brightness score corresponding to the image;

[0055] Perform traffic event detection on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic event detection, and generate a detection result;

[0056] Based on the brightness score and the detection result, a comprehensive score corresponding to the image is generated, and the comprehensive score is associated with the image and stored to complete the monitoring.

[0057] The beneficial effects of the traffic incident monitoring method of the dual-spectrum radar and visual integrated device provided by the present invention are as follows:

[0058] Comprehensive monitoring of traffic incidents is achieved through the three sensors in the dual-spectrum radar and vision integrated machine, which is more accurate than the monitoring solution of two sensors in the existing technology.

[0059] The visible light sensor, infrared light sensor, and millimeter-wave radar sensor in the dual-spectrum radar and vision integrated device are processed into a unified image coordinate system, and the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor.

[0060] Four Cartesian coordinate points are randomly selected within the detection range of the video image corresponding to the millimeter-wave radar sensor, and the conversion matrix parameters are determined based on the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula. The pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor according to the conversion matrix parameters.

[0061] That is, the PnP (Perspective-n-Point) method is used for calibration. The pixel coordinates corresponding to the coordinates of the six points in the video detection range of the radar are selected. According to the PnP conversion formula, the conversion matrix parameters between the radar and the visible light video and infrared video are obtained. The pixel coordinates of the visible light and infrared can be converted into the Cartesian coordinates of the radar.

[0062] Calibration using the PnP (Perspective-n-Point) method means calibrating the target's position in the radar Cartesian coordinate system and the video pixel coordinate system through the PnP method.

[0063] The process of selecting the pixel coordinates corresponding to the six points within the radar's video detection range is as follows:

[0064] like Figure 5 As shown, a person holds a corner reflector and stands within the range detectable by both radar and video. Six points at 1 / 3 and 2 / 3 of the width and height of the picture are selected, namely the gray circles in the figure, to collect radar and pixel coordinates.

[0065] Video detection range refers to the range that can be seen on the video screen

[0066] The pixel coordinates corresponding to the six points within the radar's video detection range are:

[0067] When a person stands at the four points mentioned above with a corner reflector, the pixel coordinates P(x, y) of the person's position can be seen through the video screen, and the radar coordinates R(x, y) of the corner reflector can be collected by radar.

[0068] The PnP conversion formula is as follows:

[0069] Suppose the world coordinates of a spatial feature point are Pw(X, Y, Z), and its corresponding pixel coordinates are p(u, v). List the current conditions. The camera intrinsic parameters K are known (obtained through camera calibration, and the intrinsic parameters do not change with the movement of the object). What is required is the rotation matrix R and the translation matrix t. The world coordinate -> pixel coordinate conversion can be listed as the following equation (in order to express it in the form of matrix multiplication and simplify the operation, all are converted to homogeneous coordinates).

[0070]

[0071] Multiply both sides of the equality sign by the inverse of K and define the transformation matrix T = [R|t], which is expanded as follows:

[0072]

[0073] Express K inverse in the third row and substitute it into the first two rows to simplify and obtain two constraints:

[0074]

[0075] Here, the row vector of the transformation matrix T is defined as:

[0076]

[0077] Then the above two constraint equations can be transformed into:

[0078] T t1 P w -T t3 P w u=0;

[0079] T t2 P w -T t3 P w v=0.

[0080] The unknown quantity is Tt, and the others are known. One characteristic point provides two equations. If there are n characteristic points, the equations are as follows:

[0081]

[0082] The transformation matrix has 12 parameters, so at least 6 pairs of feature matching points are required to find a linear solution.

[0083] The visible light video collected by the dual-spectrum radar and vision integrated device after processing based on the unified coordinate system is extracted at fixed intervals, and the extracted images are input into the image brightness classifier to obtain the brightness score corresponding to the image.

[0084] The fixed interval is defined according to the requirements and is not specifically limited here.

[0085] Image brightness classifiers are trained using a convolutional neural network (CNN). The network has a three-layer architecture: the first layer uses 32 3x3 convolution kernels with Relu activation, followed by a 2x2 pooling layer; the second layer uses 64 3x3 convolution kernels with Relu activation, followed by a 2x2 pooling layer; the third layer uses 128 3x3 convolution kernels with Relu activation, followed by a 2x2 pooling layer; this is followed by a fully connected layer with 128 neurons and Relu activation; and the final layer is an output layer with Sigmoid activation. The output values ​​are mapped to a range of 0-1, with 0 representing low brightness and 1 representing high brightness, with higher scores indicating brighter images.

[0086] A frame of visible light video is captured at time T and fed into the image brightness classifier to obtain a score, denoted as SL. A frame is captured at fixed intervals (T1, T2, T3, etc.), yielding the image brightness scores SL1, SL2, SL3, etc. at the current moment. That is, the brightness score of a frame is measured at time T1, and the brightness score of a frame is measured at interval T2. The brightness of all video frames between T1 and T2 uses the score at time T1.

[0087] Traffic incident detection is performed by applying a logical method to the video data collected by all sensors in the dual-spectrum radar and video integrated machine within the fixed interval to generate a detection result.

[0088] in:

[0089] The application logic method for predicting traffic incident detection includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic, and radar traffic incident detection application logic. Among them:

[0090] The application logic of visible light traffic event detection refers to: judging whether the target has any abnormal situation, such as parking, driving in the wrong direction, changing lanes, etc., based on the target's movement trajectory.

[0091] The application logic of infrared light traffic event detection means: judging whether the target has any abnormal situation, such as parking, driving in the wrong direction, changing lanes, etc., based on the target's movement trajectory. Special infrared can detect abnormally high temperatures.

[0092] The application logic of radar traffic incident detection refers to: judging whether the target has any abnormal situation, such as parking, driving in the wrong direction, changing lanes, speeding, slowing down, etc., based on the target's movement trajectory.

[0093] Traffic event detection is performed on the video captured by the visible light sensor within the fixed interval using visible light traffic event detection application logic to obtain a first detection result, and a first distance between the location of the traffic event in the first detection result and the dual-spectrum radar and video integrated device is determined. Wherein:

[0094] The process of performing traffic event detection on the video collected by the visible light sensor within the fixed interval through the visible light traffic event detection application logic is as follows: for example, in the case of a parking event, the vehicle target frame is detected through the YOLO algorithm, and then the target frame detection and deepsort target tracking logic of continuous frames are used to determine whether the vehicle has been stationary for a fixed time and exceeds the parking time threshold, which is considered a parking event.

[0095] The process of determining the first distance between the location of the traffic incident in the first detection result and the dual-spectrum radar and video integrated device is specifically as follows:

[0096] The event pixel coordinates P(x, y) detected in the video can be converted to the radar's Cartesian coordinates R(x, y) through the PnP conversion matrix.

[0097] Traffic event detection is performed on the video captured by the infrared light sensor within the fixed interval using the infrared light traffic event detection application logic to obtain a second detection result, and a second distance between the location of the traffic event in the second detection result and the dual-spectrum radar and video integrated device is determined.

[0098] The infrared light traffic event detection application logic is used to perform traffic event detection on the video collected by the infrared light sensor within the fixed interval, and the process of obtaining the second detection result is specifically as follows: for example, in the case of a parking event, the vehicle target frame is detected through the YOLO algorithm, and then the target frame detection of continuous frames and the deepsort target tracking logic are used to determine whether the vehicle is stationary within a fixed time and exceeds the parking time threshold, that is, it is determined to be a parking event.

[0099] The process of determining the second distance between the location of the traffic incident in the second detection result and the dual-spectrum radar and visual integrated device is specifically as follows:

[0100] The event pixel coordinates P(x, y) detected in the infrared video can be converted into the Cartesian coordinates R(x, y) of the radar through the PnP conversion matrix.

[0101] Traffic event detection is performed on the video collected by the millimeter-wave radar sensor within the fixed interval through the radar traffic event detection application logic to obtain a third detection result, and a third distance between the location where the traffic event occurred in the third detection result and the dual-spectrum radar and video integrated device is determined.

[0102] in:

[0103] The process of performing traffic event detection on the video collected by the millimeter-wave radar sensor within the fixed interval by using the radar traffic event detection application logic to obtain the third detection result is specifically as follows:

[0104] For example, in a parking event, the vehicle position is detected by radar, and the tracking logic of continuous frames is used to determine whether the vehicle has been stationary for a fixed time and exceeds the parking time threshold, which is considered a parking event.

[0105] The process of determining the third distance between the location of the traffic incident in the third detection result and the dual-spectrum radar and visual integrated device is specifically as follows:

[0106] The Cartesian position of the radar itself where the event occurred.

[0107] The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

[0108] When multiple sensors report the same event at the same time, a time window WT and a distance window WP are set so that the events within the window period are merged into one event.

[0109] The same traffic incident refers to incidents with the same behaviors such as parking, driving against traffic, and changing lanes.

[0110] By setting a time window WT and a distance window WP, the events that fall within the window period are: for example, the video detects a parking event at 17:55:00, and the radar detects a parking event at 17:54:50. Since the two sensors detect the same event only 10 seconds apart, they are considered to be the same event.

[0111] Based on the brightness score and the detection result, a comprehensive score corresponding to the image is generated, and the comprehensive score is associated with the image and stored to complete the monitoring.

[0112] The event weights of the three sensors, visible light, infrared light, and millimeter wave radar, are set to WVI, WIR, and WRD respectively. WVI, WIR, and WRD are different for each event and can be configured using default experience values ​​or manually adjusted.

[0113] That is, the weights are determined based on the traffic events that have been merged.

[0114] Set the position weights of video (including visible light and infrared) and radar to PVI and PRD, respectively. The weights are 0.5 for positions within 200 meters. For positions beyond 200 meters, the PVI decreases by 0.1 and the PRD increases by 0.1 for every 30 meters increase. At 350 meters and above, the PVI is 0 and the PRD is 1. (This takes into account that the radar detection effect does not decay with distance, but the video is more affected, and the farther the target, the worse the detection effect.)

[0115] Then, the final score S is obtained by using the above event weight, position weight, and the brightness score at the current moment. The calculation formula for S is as follows:

[0116] S=WVI*PVI*SL+WIR*PVI*(1-SL)+WRD*PRD

[0117] The system can set the reporting threshold of S. When the system requires a high recall rate for events, the reporting threshold of S can be set to a low value. When the system requires a high precision rate for events, the reporting threshold of S can be set to a high value.

[0118] The idea of ​​merging the events detected by the three sensors through coordinate calibration and time window.

[0119] The idea is to use weight scores to determine whether the merged events should be reported.

[0120] The idea behind extracting and optimizing the confidence score weights of the three sensors is as follows: video and visible light use image brightness to eliminate the interference of night and day on the detection rate; video and radar perform confidence classification based on the distance of the event; and confidence classification is performed based on the influence of various sensors on the nature of the event.

[0121] The idea of ​​classifying the reporting requirements for recall rate and precision rate according to actual requirements.

[0122] Furthermore, the process of converting the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor is as follows:

[0123] Four Cartesian coordinate points are randomly selected within the detection range of the video image corresponding to the millimeter-wave radar sensor, and the conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula. According to the conversion matrix parameters, the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor.

[0124] Furthermore, a traffic incident detection is performed on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic incident detection. The process of generating the detection result is as follows:

[0125] The traffic incident prediction detection application logic method includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic and radar traffic incident detection application logic;

[0126] Performing traffic event detection on the video collected by the visible light sensor within the fixed interval using the visible light traffic event detection application logic to obtain a first detection result, and determining a first distance between a location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device;

[0127] Performing traffic event detection on the video collected by the infrared light sensor within the fixed interval using the infrared light traffic event detection application logic to obtain a second detection result, and determining a second distance between the location of the traffic event in the second detection result and the dual-spectrum radar and video integrated device;

[0128] Performing traffic event detection on the video collected by the millimeter-wave radar sensor within the fixed interval using the radar traffic event detection application logic to obtain a third detection result, and determining a third distance between the location of the traffic event in the third detection result and the dual-spectrum radar and video integrated device;

[0129] The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

[0130] Furthermore, the process of generating a comprehensive score corresponding to the image based on the brightness score and the detection result is as follows:

[0131] A comprehensive score corresponding to the image is generated based on the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight.

[0132] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the scope of protection of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.

[0133] This solution also provides a traffic incident monitoring system with a dual-spectrum radar and visual integrated device. The specific technical solution is as follows:

[0134] The conversion module is used to: perform image unified coordinate system processing on the visible light sensor, infrared light sensor and millimeter wave radar sensor in the dual-spectrum radar and vision integrated device, and convert the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor;

[0135] The processing module is used to extract images at fixed intervals from the visible light video captured by the dual-spectrum radar and visual integrated device after processing based on the unified coordinate system, and input the extracted images into the image brightness classifier to obtain the brightness score corresponding to the image;

[0136] The detection module is used to: perform traffic event detection on the video data collected by all sensors in the dual-spectrum radar and video integrated device within the fixed interval by applying a logical method for predicting traffic event detection, and generate a detection result;

[0137] The monitoring module is used to generate a comprehensive score corresponding to the image based on the brightness score and the detection result, associate the comprehensive score with the image and store it to complete the monitoring.

[0138] Based on the above solution, the present invention can also be improved as follows.

[0139] Furthermore, the conversion module is specifically configured to:

[0140] Four Cartesian coordinate points are randomly selected within the detection range of the video image corresponding to the millimeter-wave radar sensor, and the conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula. According to the conversion matrix parameters, the pixel coordinates of the images collected by the visible light infrared sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor.

[0141] Furthermore, the detection module is specifically used to:

[0142] The traffic incident prediction detection application logic method includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic and radar traffic incident detection application logic;

[0143] Performing traffic event detection on the video collected by the visible light sensor within the fixed interval using the visible light traffic event detection application logic to obtain a first detection result, and determining a first distance between a location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device;

[0144] Performing traffic event detection on the video collected by the infrared light sensor within the fixed interval using the infrared light traffic event detection application logic to obtain a second detection result, and determining a second distance between the location of the traffic event in the second detection result and the dual-spectrum radar and video integrated device;

[0145] Performing traffic event detection on the video collected by the millimeter-wave radar sensor within the fixed interval using the radar traffic event detection application logic to obtain a third detection result, and determining a third distance between the location of the traffic event in the third detection result and the dual-spectrum radar and video integrated device;

[0146] The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

[0147] Furthermore, the monitoring module is specifically used to:

[0148] A comprehensive score corresponding to the image is generated based on the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight.

[0149] It should be noted that the beneficial effects of the dual-spectrum radar and visual integrated traffic incident monitoring system provided in the above-mentioned embodiment are the same as the beneficial effects of the dual-spectrum radar and visual integrated traffic incident monitoring method provided in the above-mentioned embodiment, and will not be repeated here. In addition, when implementing the functions of the system provided in the above-mentioned embodiment, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above-mentioned embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0150] like Figure 4 As shown, a computer device 300 according to an embodiment of the present invention includes a processor 320, which is coupled to a memory 310. The memory 310 stores at least one computer program 330. The at least one computer program 330 is loaded and executed by the processor 320, so that the computer device 300 implements any of the above methods. Specifically:

[0151] The computer device 300 may vary significantly due to different configurations or performance. It may include one or more processors 320 (Central Processing Units, CPUs) and one or more memories 310. The one or more memories 310 store at least one computer program 330, which is loaded and executed by the one or more processors 320 to enable the computer device 300 to implement the traffic event monitoring method for a dual-spectrum radar and visual integrated device provided in the above-mentioned embodiment. Of course, the computer device 300 may also include components such as a wired or wireless network interface, a keyboard, and input / output interfaces for input and output. The computer device 300 may also include other components for implementing device functions, which are not detailed here.

[0152] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program, and the at least one computer program is loaded and executed by a processor to enable a computer to implement any of the above methods.

[0153] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.

[0154] In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the above methods.

[0155] It should be noted that the terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects and to define a specific order or precedence. Where appropriate, the order used for similar objects may be interchanged, such that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.

[0156] Those skilled in the art will appreciate that the present invention may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, the present invention may be implemented in the form of a computer program product embodied in one or more computer-readable media containing computer-readable program code.

[0157] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.

[0158] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A traffic incident monitoring method using a dual-spectrum radar and visual integrated device, characterized in that: include: Process the visible light sensor, infrared light sensor and millimeter wave radar sensor in the dual-spectrum radar and vision integrated machine in a unified image coordinate system, and convert the pixel coordinates of the images collected by the visible light sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor; The visible light video collected by the dual-spectrum radar-visual integrated device after processing based on the unified coordinate system is used to extract images at fixed intervals, and the extracted images are input into the image brightness classifier to obtain the brightness score corresponding to the image; The traffic incident detection is performed on the video data collected by all sensors in the dual-spectrum radar-visual integrated machine within the fixed interval by using a traffic incident detection application logic method to generate a detection result, wherein the traffic incident detection application logic method includes visible light traffic incident detection application logic, infrared light traffic incident detection application logic and radar traffic incident detection application logic; Generate a comprehensive score corresponding to the image according to the brightness score and the detection result, associate the comprehensive score with the image and store it to complete the monitoring; Image brightness classifier refers to: using convolutional neural network to train an image brightness classifier, with a 3-layer network structure. The first layer uses 32 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; the second layer uses 64 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; the third layer uses 128 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; then connected to a fully connected layer of 128 neurons, Relu activation; finally connected to the output layer, using Sigmoid activation; mapping the output value to between 0 and 1; 0 represents low brightness, 1 represents high brightness, the higher the score, the brighter the image, intercept a frame of the visible light video at time T, send it to the image brightness classifier, and get the score, recorded as SL; The process of generating the comprehensive score corresponding to the image according to the brightness score and the detection result is as follows: Generate a comprehensive score corresponding to the image according to the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight, wherein the event weights of the three sensors of visible light, infrared light, and millimeter wave radar are set to WVI, WIR, and WRD, respectively, and WVI, WIR, and WRD are different for each event, and are configured by default experience values ​​or manually adjusted; That is, the weights are determined based on the traffic events that have been merged; Set the position weights of video and radar to PVI and PRD respectively. The weights are 0.5 for positions within 200 meters. For positions beyond 200 meters, the PVI decreases by 0.1 and the PRD increases by 0.1 for every 30 meters increase. When the distance is 350 meters or more, the PVI is 0 and the PRD is 1. Then, the final score S is obtained by the above event weight, position weight, and brightness score at the current moment. The calculation formula of S is as follows: S=WVI*PVI*SL + WIR*PVI*(1-SL)+ WRD*PRD; The reporting threshold of S is set. When the system requires a high recall rate for events, the reporting threshold of S is set to a low value. When the system requires a high precision rate for events, the reporting threshold of S is set to a high value.

2. The traffic incident monitoring method of a dual-spectrum radar and visual integrated device according to claim 1 is characterized in that: The process of converting the pixel coordinates of the images collected by the visible light sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor is as follows: Four Cartesian coordinate points are randomly selected within the detection range of the image corresponding to the millimeter-wave radar sensor, and conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula, and the pixel coordinates of the images collected by the visible light sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor according to the conversion matrix parameters.

3. The traffic incident monitoring method of a dual-spectrum radar and visual integrated device according to claim 1 is characterized in that: By predicting traffic incident detection and applying a logical method, all sensors in the dual-spectrum radar and vision integrated device collect video data within the fixed interval to perform traffic incident detection, and the process of generating the detection result is as follows: Perform traffic event detection on the video collected by the visible light sensor within the fixed interval by using the visible light traffic event detection application logic to obtain a first detection result, and determine a first distance between the location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device; Perform traffic event detection on the video collected by the infrared light sensor within the fixed interval by using the infrared light traffic event detection application logic to obtain a second detection result, and determine a second distance between the location where the traffic event occurred in the second detection result and the dual-spectrum radar and video integrated device; Perform traffic event detection on the images collected by the millimeter-wave radar sensor within the fixed interval by using the radar traffic event detection application logic to obtain a third detection result, and determine a third distance between the location where the traffic event occurred in the third detection result and the dual-spectrum radar and vision integrated device; The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

4. A traffic incident monitoring system with dual-spectrum radar and visual integrated device, characterized in that: include: The conversion module is used to: process the visible light sensor, infrared light sensor and millimeter wave radar sensor in the dual-spectrum radar and vision integrated machine in a unified image coordinate system, and convert the pixel coordinates of the images collected by the visible light sensor and the infrared light sensor into the Cartesian coordinates of the image collected by the millimeter wave radar sensor; The processing module is used to extract images at fixed intervals from the visible light video collected by the dual-spectrum radar-visual integrated device after processing based on the unified coordinate system, and input the extracted images into the image brightness classifier to obtain the brightness score corresponding to the image; The detection module is used to: perform traffic event detection on the video data collected by all sensors in the dual-spectrum radar and vision integrated machine within the fixed interval through a predicted traffic event detection application logic method to generate a detection result, wherein the predicted traffic event detection application logic method includes visible light traffic event detection application logic, infrared light traffic event detection application logic and radar traffic event detection application logic; The monitoring module is used to: generate a comprehensive score corresponding to the image according to the brightness score and the detection result, associate the comprehensive score with the image and store it to complete the monitoring; Image brightness classifier refers to: using convolutional neural network to train an image brightness classifier, with a 3-layer network structure. The first layer uses 32 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; the second layer uses 64 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; the third layer uses 128 3*3 convolution kernels, Relu activation, and a 2*2 pooling layer; then connected to a fully connected layer of 128 neurons, Relu activation; finally connected to the output layer, using Sigmoid activation; mapping the output value to between 0 and 1; 0 represents low brightness, 1 represents high brightness, the higher the score, the brighter the image, intercept a frame of the visible light video at time T, send it to the image brightness classifier, and get the score, recorded as SL; The process of generating the comprehensive score corresponding to the image according to the brightness score and the detection result is as follows: Generate a comprehensive score corresponding to the image according to the brightness score, the preset traffic event weight corresponding to the detection result, and the preset distance weight, wherein the event weights of the three sensors of visible light, infrared light, and millimeter wave radar are set to WVI, WIR, and WRD, respectively, and WVI, WIR, and WRD are different for each event, and are configured by default experience values ​​or manually adjusted; That is, the weights are determined based on the traffic events that have been merged; Set the position weights of video and radar to PVI and PRD respectively. The weights are 0.5 for positions within 200 meters. For positions beyond 200 meters, the PVI decreases by 0.1 and the PRD increases by 0.1 for every 30 meters increase. When the distance is 350 meters or more, the PVI is 0 and the PRD is 1. Then, the final score S is obtained by the above event weight, position weight, and brightness score at the current moment. The calculation formula of S is as follows: S=WVI*PVI*SL + WIR*PVI*(1-SL)+ WRD*PRD The reporting threshold of S is set. When the system requires a high recall rate for events, the reporting threshold of S is set to a low value. When the system requires a high precision rate for events, the reporting threshold of S is set to a high value.

5. The traffic incident monitoring system of the dual-spectrum radar and visual integrated device according to claim 4 is characterized in that: The conversion module is specifically used for: Four Cartesian coordinate points are randomly selected within the detection range of the image corresponding to the millimeter-wave radar sensor, and conversion matrix parameters are determined according to the pixel coordinates corresponding to the four Cartesian coordinate points and the PnP conversion formula, and the pixel coordinates of the images collected by the visible light sensor and the infrared light sensor are converted into Cartesian coordinates of the image collected by the millimeter-wave radar sensor according to the conversion matrix parameters.

6. The traffic incident monitoring system of the dual-spectrum radar and visual integrated device according to claim 4 is characterized in that: The detection module is specifically used for: Perform traffic event detection on the video collected by the visible light sensor within the fixed interval by using the visible light traffic event detection application logic to obtain a first detection result, and determine a first distance between the location where the traffic event occurred in the first detection result and the dual-spectrum radar and video integrated device; Perform traffic event detection on the video collected by the infrared light sensor within the fixed interval by using the infrared light traffic event detection application logic to obtain a second detection result, and determine a second distance between the location where the traffic event occurred in the second detection result and the dual-spectrum radar and video integrated device; Perform traffic event detection on the images collected by the millimeter-wave radar sensor within the fixed interval by using the radar traffic event detection application logic to obtain a third detection result, and determine a third distance between the location where the traffic event occurred in the third detection result and the dual-spectrum radar and vision integrated device; The first distance, the second distance, and the third distance are aggregated to obtain the detection result.

7. A computer device, characterized in that: The computer device comprises a processor, the processor is coupled to a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the computer device implements the method according to any one of claims 1 to 3.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements the method according to any one of claims 1 to 3.