A vehicle detection system based on millimeter wave ranging radar
By using millimeter-wave ranging radar and auxiliary cameras in the vehicle detection system, combined with cloud image processing, the problem of recognition failure of existing license plate recognition machines in extreme environments is solved, and the efficiency and accuracy of the vehicle management system are improved.
Patent Information
- Application Number
- CN202411066778.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-06
AI Technical Summary
The existing all-in-one license plate recognition machine cannot accurately recognize the license plate when the license plate is stained, extreme weather or poor lighting environment, resulting in vehicle recognition failure, and the recognition rate is low for high-speed passing or non-standard license plate angles, affecting the efficiency and efficiency of the vehicle management system. reliability.
A vehicle detection system based on millimeter-wave ranging radar is used, combined with license plate recognition technology and an auxiliary camera. The vehicle distance data is obtained through millimeter-wave radar. The auxiliary camera re-captures the license plate image when the main license plate recognition fails, and uses the cloud image processing module for identification. , combined with multi-modal fusion neural network to improve recognition accuracy.
It achieves vehicle control accuracy and recognition success rate under various environmental conditions, reduces manual operation requirements, and improves vehicle speed and traffic management efficiency.
Smart Images

Figure CN118587905B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle detection, and in particular to a vehicle detection system based on millimeter wave ranging radar. Background Art
[0002] In the existing technology, license plate recognition integrated devices are widely used in traffic management and parking control systems. These devices rely on high-resolution cameras to capture license plate images of passing vehicles and recognize the license plate numbers through optical character recognition (OCR) technology. The design of license plate recognition integrated devices is to automate the management process of vehicle entrances and exits, reduce the need for manual supervision, and improve traffic efficiency and safety.
[0003] However, existing license plate recognition integrated systems face some major problems. First, these systems often fail to accurately recognize license plates when the license plates are damaged, in extreme weather conditions, or in poor lighting conditions, resulting in vehicle recognition failures. In addition, traditional license plate recognition technology also shows low recognition rates for vehicles passing at high speeds or when the license plates are not at standard angles. These limitations make it possible for the license plate recognition integrated system to fail to sense the vehicle entering or misidentify the license plate in actual applications, thus affecting the efficiency and reliability of the entire vehicle management system.
[0004] Therefore, it is very necessary to develop a new vehicle detection system based on millimeter-wave ranging radar. Summary of the invention
[0005] The present application provides a vehicle detection system based on millimeter wave ranging radar to improve the efficiency of vehicle management in a parking lot.
[0006] The present application provides a vehicle detection system based on millimeter wave ranging radar, comprising:
[0007] The millimeter wave ranging module includes a millimeter wave ranging radar and a radar data processing unit, wherein the millimeter wave ranging radar is used to obtain detection data of a target vehicle entering and exiting a target lane; the radar data processing unit is used to process the detection data of the target vehicle to obtain vehicle distance data between the target vehicle and the gate rod entering and exiting the target lane;
[0008] License plate recognition integrated machine, used to identify the license plate of the target vehicle entering and exiting the target lane;
[0009] Auxiliary camera, used to capture the license plate of the target vehicle entering and exiting the target lane;
[0010] A control module is connected to the millimeter wave ranging module, the license plate recognition integrated machine and the auxiliary camera, and is used to receive the vehicle distance data provided by the millimeter wave ranging module; based on the vehicle distance data, it is judged whether the distance between the target vehicle and the gate rod reaches a preset threshold; based on the recognition result of the license plate recognition integrated machine, it is judged whether the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle; if the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle, a control instruction is issued to the gate rod, and the control instruction is used to allow the target vehicle to enter and exit the target lane; if the license plate recognition integrated machine fails to successfully recognize the license plate of the target vehicle, and the distance between the target vehicle and the gate rod reaches a preset threshold, the auxiliary camera is started to obtain the license plate image data of the target vehicle; the license plate image data is sent to the image processing module; and a control instruction is issued to the gate rod according to the license plate recognition result returned by the image processing module;
[0011] The image processing module is placed in the cloud and is used to perform license plate recognition on the license plate image data provided by the control module and return the license plate recognition result to the control module.
[0012] Furthermore, the control module is also used to determine whether the license plate recognition result returned by the image processing module is a successful license plate recognition result; if it is an unsuccessful license plate recognition result, notify the management personnel to perform manual processing.
[0013] Furthermore, the vehicle detection system based on millimeter wave ranging radar further includes an early warning module, which includes:
[0014] A display unit, used to display the real-time distance data of the target vehicle and dynamically adjust the size and color of the displayed distance digits according to the change of the vehicle distance between the target vehicle and the gate rod;
[0015] a light processing unit configured to display lights of different colors according to the vehicle distance between the target vehicle and the gate pole, wherein green is displayed when the vehicle distance exceeds a preset safety distance, yellow is displayed when the vehicle distance is less than or equal to the preset safety distance and greater than a minimum safety distance, and red is displayed when the vehicle distance is less than or equal to the minimum safety distance;
[0016] The sound alarm unit is used to emit buzzing sounds of different frequencies according to the vehicle distance between the target vehicle and the gate rod, wherein the frequency of the buzzing sound increases as the vehicle distance decreases, so as to provide different levels of auditory warnings.
[0017] Furthermore, the millimeter wave ranging radar is installed in a pre-opened hole in the middle of the gate rod.
[0018] Furthermore, the license plate recognition integrated machine includes an infrared lighting device for enhancing the visibility of the license plate image in a low-light environment, thereby improving the accuracy of license plate recognition.
[0019] Furthermore, the auxiliary camera includes a dynamic focus adjustment unit for automatically adjusting the focus according to the vehicle distance data obtained from the millimeter wave ranging module to ensure that the license plate image always maintains optimal clarity.
[0020] Furthermore, the auxiliary camera includes a multi-angle shooting unit for automatically adjusting the shooting angle according to the position and angle of the vehicle to capture the license plate at an optimal angle.
[0021] Furthermore, the millimeter wave ranging module includes an environmental sensor and a radar parameter dynamic adjustment unit; wherein the environmental sensor is used to monitor environmental condition data, and the environmental condition data includes the current temperature , Current humidity and the current light intensity The radar parameter dynamic adjustment unit calculates the frequency of the adjusted millimeter wave ranging radar according to the following formula 1: :
[0022] ;
[0023] in, is the standard operating frequency; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; , and is the adjustment factor;
[0024] The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar according to the following formula 2: :
[0025] ;
[0026] in, It is standard power; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the maximum possible value of temperature; , and is the adjustment factor;
[0027] The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar. And the power of the adjusted millimeter wave ranging radar Adjust the parameters of the millimeter wave ranging radar.
[0028] Furthermore, the radar data processing unit is specifically used to execute a Kalman filter algorithm to correct signal distortion caused by environmental changes in real time, and the Kalman filter algorithm includes the following steps:
[0029] Initialization step S1001: Setting the initial state estimate and the initial error covariance matrix , where the initial state estimate Including the distance and speed of the vehicle, the initial error covariance matrix Set to the identity matrix multiplied by the coefficients ;
[0030] Prediction step S1002: Execute the following formula 3 and formula 4:
[0031] ;
[0032] ;
[0033] in, Indicates that at time step The predicted state estimate of is the state transition matrix; Indicates that at time step state estimation; is the control input matrix; is the control input; is the forecast error covariance matrix, which is used to represent the The uncertainty in the estimate of the system state when new data has not been observed before; is the time step The error covariance matrix of is the state transfer matrix The transpose of is the process noise covariance matrix, which is used to represent the inherent uncertainty or randomness in the forecast model;
[0034] Update step S1003: Execute the following formulas 5, 6, and 7:
[0035] ;
[0036] ;
[0037] ;
[0038] in, is the Kalman gain; is the observation matrix; is the observation matrix The transpose of It is at the moment The actual observed value of is the observation noise covariance matrix, reflecting the uncertainty of the measurement; is the identity matrix; is at the time step state estimation; Indicates that at time step The predicted state estimate of Indicates that at time step Given all up to time step After the observation data, the error covariance matrix of the state estimation;
[0039] Among them, the observation matrix Calculated according to the following formula 8:
[0040] ;
[0041] in, is the observation matrix under standard environment; They are the current temperature, current humidity and current light intensity; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the reference range of temperature; is the reference range of humidity; is the maximum value of light intensity; , and is the adjustment factor.
[0042] Furthermore, the image processing module uses a pre-trained multimodal fusion neural network to perform license plate recognition on the license plate image data provided by the control module; the multimodal fusion neural network includes:
[0043] A data preprocessing module is used to receive the license plate image data provided by the auxiliary camera and the vehicle distance data obtained by the millimeter wave ranging module; normalize the license plate image data to obtain a normalized RGB image; and integrate the vehicle distance data into the normalized RGB image as an additional channel to generate an enhanced multi-channel feature map;
[0044] A feature extraction module, used to process the enhanced multi-channel feature map using a convolutional neural network to obtain deep visual features of the license plate image;
[0045] A feature fusion module is used to fuse the deep visual features of the license plate image and the vehicle distance data, and use a weighted strategy to adjust the feature weights to obtain a license plate feature that fuses the visual and distance information; and perform time serialization processing on the license plate feature that fuses the visual and distance information to obtain serialized license plate feature data;
[0046] A license plate recognition module, used to process the serialized license plate feature data using a long short-term memory network to obtain a character sequence recognition result of the license plate;
[0047] The post-processing module is used to implement an error detection and correction algorithm to correct the character sequence recognition result of the license plate to obtain a license plate recognition result.
[0048] This application has the following beneficial technical effects:
[0049] (1) The system obtains vehicle distance data through millimeter-wave ranging radar and combines it with license plate recognition technology to ensure the accuracy of vehicle control. The high-precision distance measurement of millimeter-wave radar enables the system to respond quickly when the vehicle approaches the gate, avoiding safety accidents caused by delayed recognition.
[0050] (2) With the introduction of the auxiliary camera, even if the main license plate recognition integrated device fails to successfully recognize the license plate in some cases (such as when the license plate is damaged or the lighting is poor), the system can recapture the license plate image through the auxiliary camera and process it through the cloud image processing module, thereby improving the success rate of license plate recognition.
[0051] (3) Deploying the image processing module in the cloud not only optimizes data processing speed and efficiency, but also enhances the scalability and flexibility of the system. Cloud processing enables the system to utilize more powerful computing resources and more advanced algorithms to further improve the accuracy of license plate recognition.
[0052] (4) The system automatically controls the opening and closing of the gate and makes intelligent decisions based on real-time distance and license plate recognition data, reducing the need for manual operation and speeding up the passage of vehicles, especially in high-traffic environments, significantly improving the efficiency of traffic management. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of a vehicle detection system based on millimeter wave ranging radar provided in the first embodiment of the present application. DETAILED DESCRIPTION
[0054] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0055] The first embodiment of the present application provides a vehicle detection system based on millimeter wave ranging radar. Figure 1 , which is a schematic diagram of the first embodiment of the present application. Figure 1 A vehicle detection system based on millimeter-wave ranging radar is described in detail in the first embodiment of the present application.
[0056] The vehicle detection system based on millimeter wave ranging radar includes a millimeter wave ranging module 101 , a license plate recognition integrated machine 102 , an auxiliary camera 103 , a control module 104 and an image processing module 105 .
[0057] The millimeter wave ranging module 101 includes a millimeter wave ranging radar and a radar data processing unit, wherein the millimeter wave ranging radar is used to obtain detection data of a target vehicle entering and exiting a target lane; and the radar data processing unit is used to process the detection data of the target vehicle to obtain vehicle distance data between the target vehicle and the gate rod entering and exiting the target lane.
[0058] This module is the core of the overall system performance, including millimeter wave ranging radar and radar data processing unit. The millimeter wave ranging radar is specially designed to capture the real-time position and speed data of vehicles entering and exiting the target lane. The radar can operate stably in various weather conditions and provide high-precision distance measurement, which is particularly critical for dynamic vehicle management systems.
[0059] Millimeter wave ranging radar transmits electromagnetic waves with a frequency between 20 GHz and 300 GHz, receives the waves reflected by the vehicle, and analyzes these reflected waves to accurately calculate the position and speed of the vehicle. The radar device is usually installed above or on the side of the gate pole, and the location selection depends on the lane width to be covered and the specific structure of the gate.
[0060] Furthermore, the millimeter wave ranging radar in this embodiment can be implemented using a 24GHz-based millimeter wave radar to improve the efficiency and safety of the vehicle management system. The millimeter wave ranging radar is specifically used to capture the real-time position and speed data of vehicles entering and exiting the target lane. This 24GHz-based radar can operate stably under various weather and lighting conditions and is very suitable for a variety of indoor and outdoor environments.
[0061] The module has a ranging accuracy of up to 0.1 meters and can detect vehicles within a range of 0 to 10 meters, with a lateral coverage of up to 3 meters, ensuring the ability to cover the entire lane. This precise and wide coverage allows the system to accurately calculate the position and speed of the vehicle, providing reliable input data for other parts of the system, such as the license plate recognition integrated machine and control module.
[0062] The radar data processing unit works closely with the millimeter wave ranging radar. Its main function is to receive the raw data captured by the radar and process it quickly. The processing unit uses complex algorithms to analyze the reflected signal and convert it into specific distance data. In addition, the radar data processing unit is also responsible for extracting the vehicle's driving trajectory and speed information from the continuous data stream to ensure that the system can update the vehicle's status in real time.
[0063] During the processing, the data processing unit is also responsible for transmitting the calculated vehicle distance data to the system control module in real time. This data transmission is usually carried out through a high-speed data interface, such as CAN bus or Ethernet, to ensure that the speed and reliability of data transmission meet the real-time requirements.
[0064] The design of the entire millimeter wave ranging module ensures that the vehicle detection system can not only achieve accurate vehicle positioning, but also effectively cooperate with the license plate recognition system and other safety control systems, providing an efficient and reliable technical solution for vehicle entry and exit management.
[0065] Furthermore, the millimeter wave ranging radar is installed in a pre-opened hole in the middle of the gate rod.
[0066] In the vehicle detection system based on millimeter wave ranging radar, the installation position and method of millimeter wave ranging radar is crucial, which directly affects the performance of the radar and the overall efficiency of the system. In particular, the millimeter wave ranging radar in this system is installed in the middle of the gate pole at the entrance and exit of the parking lot and fixed through a pre-opened hole. This design takes into account the optimal operating position and maximum coverage of the radar to ensure accurate detection of vehicles entering and leaving.
[0067] To achieve this installation, a hole of suitable size for the radar is first opened in the middle of the barrier pole. The radar is installed through this hole, ensuring that its front sensing part is fully exposed so that it can send and receive millimeter wave signals without obstruction. When installing the radar, special attention is paid to its alignment, ensuring that the radar's detection direction is parallel to the lane, in order to maximize its detection ability and accurately measure the distance between the vehicle and the barrier.
[0068] The power and data transmission cables of the radar are led out from the bottom of the radar and pass through the center of the shaft inside the gate pole. This wiring method is not only neat, but also protects the cables from mechanical damage and also avoids aging or damage of the cables in the external environment. All cables and connectors must meet the waterproof and dustproof standards to adapt to the environmental conditions of the outdoor parking lot.
[0069] In order to achieve effective data transmission and processing, the communication between the millimeter wave ranging radar and the parking management system adopts the 485 communication module. The RS-485 communication module is a widely used industrial communication standard that supports long-distance and high-speed data transmission, and is very suitable for radar data transmission. In addition, the camera transparent transmission method is also used for data interaction, which allows data to be transmitted directly from the radar to the management software without intermediate conversion, reducing data processing delays and improving system response speed.
[0070] Furthermore, the millimeter wave ranging module includes an environmental sensor and a radar parameter dynamic adjustment unit; wherein the environmental sensor is used to monitor environmental condition data, and the environmental condition data includes the current temperature , Current humidity and the current light intensity The radar parameter dynamic adjustment unit calculates the frequency of the adjusted millimeter wave ranging radar according to the following formula 1: :
[0071] ;
[0072] in, is the standard operating frequency; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; , and It is an environmental factor;
[0073] The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar according to the following formula 2: :
[0074] ;
[0075] in, It is standard power; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the maximum possible value of temperature; , and is the adjustment factor;
[0076] The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar. And the power of the adjusted millimeter wave ranging radar Adjust the parameters of the millimeter wave ranging radar.
[0077] In the vehicle detection system based on millimeter wave ranging radar, the design of the millimeter wave ranging module must not only consider the accuracy and efficiency of the technology, but also the impact of environmental factors on the performance of the equipment. To this end, the system specially integrates environmental sensors and radar parameter dynamic adjustment units to ensure that the millimeter wave ranging radar can maintain optimal performance under different environmental conditions.
[0078] The role of the environmental sensor is to monitor and record key parameters of the radar operating environment in real time, including the current temperature. , Current humidity and the current light intensity This data is critical for adjusting the radar's operating parameters, as changes in temperature, humidity and light can affect how well radar waves are propagated and received.
[0079] The core task of the radar parameter dynamic adjustment unit is to use the data provided by the environmental sensors to optimize the radar's operating settings. This unit uses a complex mathematical model, which includes two key formulas: Formula 1 is used to adjust the radar's frequency , and Formula 2 is used to adjust the radar power . The two formulas are as follows:
[0080] 1. Frequency adjustment formula:
[0081] ;
[0082] in, It is the standard operating frequency of the radar. The data can be obtained from the radar manual or directly based on expert knowledge. For example, it can be 24 GHz.
[0083] , and They are the baseline values for temperature, humidity and light intensity, which can be obtained from the radar manual or directly based on expert knowledge.
[0084] and , and are adjustment coefficients related to these environmental factors. These data can be calculated based on experimental data or directly obtained based on expert knowledge.
[0085] 2. Power adjustment formula:
[0086] ;
[0087] in It is the standard power of the radar, which can be obtained from the radar manual or directly based on expert knowledge.
[0088] , and The adjustment factors are the adjustment factors for temperature, humidity and light intensity. These data can be calculated based on experimental data or directly obtained based on expert knowledge.
[0089] By calculating and applying these formulas in real time, the radar parameter dynamic adjustment unit can accurately adjust the radar frequency and power to adapt to environmental changes. This dynamic adjustment ensures that the radar system can maintain the best detection effect under different environmental conditions and avoids inaccurate data or radar performance degradation caused by environmental changes.
[0090] Furthermore, the radar data processing unit is specifically used to execute a Kalman filter algorithm to correct signal distortion caused by environmental changes in real time, and the Kalman filter algorithm includes the following steps:
[0091] Initialization step S1001: Setting the initial state estimate and the initial error covariance matrix , where the initial state estimate Including the distance and speed of the vehicle, the initial error covariance matrix Set to the identity matrix multiplied by the coefficients ;
[0092] Prediction step S1002: Execute the following formula 3 and formula 4:
[0093] ;
[0094] ;
[0095] in, Indicates that at time step The predicted state estimate of is the state transition matrix; Indicates that at time step state estimation; is the control input matrix; is the control input; is the forecast error covariance matrix, which is used to represent the The uncertainty in the estimate of the system state when new data has not been observed before; is the time step The error covariance matrix of is the state transfer matrix The transpose of is the process noise covariance matrix, which is used to represent the inherent uncertainty or randomness in the forecast model;
[0096] Update step S1003: Execute the following formulas 5, 6, and 7:
[0097] ;
[0098] ;
[0099] ;
[0100] in, is the Kalman gain; is the observation matrix; is the observation matrix The transpose of It is at the moment The actual observed value of is the observation noise covariance matrix, reflecting the uncertainty of the measurement; is the identity matrix; is at the time step state estimation; Indicates that at time step The predicted state estimate of Indicates that at time step Given all up to time step After the observation data, the error covariance matrix of the state estimation;
[0101] Among them, the observation matrix Calculated according to the following formula 8:
[0102] ;
[0103] in, is the observation matrix under standard environment; They are the current temperature, current humidity and current light intensity; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the reference range of temperature; is the reference range of humidity; is the maximum value of light intensity; , and is the adjustment factor.
[0104] In the vehicle detection system based on millimeter wave ranging radar, the radar data processing unit uses the Kalman filter algorithm to correct the signal distortion caused by environmental changes in real time. The Kalman filter algorithm is an optimized recursive solution, which is mainly used for state estimation of dynamic systems containing random noise. In this system, the input of the algorithm includes actual observations (measured data of vehicle distance and speed), and various environmental parameters (such as temperature, humidity, and light intensity). The output of the algorithm is the corrected state estimate, that is, a more accurate vehicle distance and speed.
[0105] Initialization step S1001:
[0106] In this step, the initial state estimate is set and the initial error covariance matrix . Initial state estimation Including the distance and speed of the vehicle, basically set to the initial measurement directly obtained from the sensor or an estimate. Initial error covariance matrix , set to the identity matrix multiplied by a coefficient ,This coefficient reflects the degree of uncertainty in the initial state estimate, which depends on the accuracy of the measurement equipment and the environmental noise.
[0107] Prediction step S1002:
[0108] This step uses the following formula to predict the state and error covariance:
[0109] ;
[0110] Indicates at time The state estimate is based on the state until time It is the optimal state estimate updated based on the information of the previous time step, including all previous measurement data.
[0111] Indicates at time The state estimate is based on the state until time information (i.e., at the time of acquisition This is a predicted state that uses the optimal state estimate of the previous moment. and physical or process models of the system to perform calculations.
[0112] is the state transition matrix, defined according to the physical model of the system, describing the natural evolution of the state from one moment to the next; is the control input matrix, is the control input (such as acceleration) used to adjust the prediction based on external input.
[0113] ;
[0114] Formula 4 is used in the Kalman filter algorithm to update the prediction error covariance matrix This formula is crucial because it directly relates to the uncertainty of how the system predicts future states and has an impact on the calculation of the Kalman gain. Below is a detailed explanation of each part of the formula:
[0115] 1. : The state transition matrix is used to describe how the system state changes from one time step to another. Transition to the next time step This matrix is based on a physical or process model of the system and indicates the natural evolution of the state variables over time, without considering external influences or control inputs.
[0116] 2. : In the previous time step The error covariance matrix represents the uncertainty of the system state estimate under all the observation information obtained at that moment. This matrix is obtained from the last update step and contains the accuracy and reliability information of the system state estimate at that time.
[0117] 3. : The process noise covariance matrix, which describes the forecast error due to model imperfections and external uncontrolled disturbances. This matrix is critical because it reflects the uncertainty of the forecast model itself, for example, state changes caused by random wind disturbances, component wear, or other unpredictable factors.
[0118] Update step S1003:
[0119] Upon receipt of new observations, the estimate is updated using the following formula:
[0120] ;
[0121] Formula 5 is used to calculate the Kalman gain , which is the core part of the Kalman filter algorithm, and it determines how the new measurement data is combined with the predicted state estimate. This gain is a trade-off factor that determines how much influence the observed data has on the final state estimate relative to the predicted data. Here is a detailed explanation of each component of the formula:
[0122] 1. : The forecast error covariance matrix, indicating the The estimation error after the last update. It reflects the uncertainty in the state prediction, taking into account errors caused by system dynamics (i.e. model errors) and external disturbances.
[0123] 2. : The observation matrix transforms the state variables from the state space to the observation space. The role of this matrix is to describe how to generate the observation vector from the state vector, that is, it defines the contribution of each state variable to the observation value.
[0124] 3. : The transpose of the observation matrix, used to properly align the dimensions in matrix multiplication so that the transformation from state space to observation space is mathematically appropriate.
[0125] 4. : The observation noise covariance matrix, which represents the random errors in the measurement. This matrix is a key parameter for diagnosing the accuracy of the measurement equipment. A high noise covariance means low measurement reliability, which will cause the Kalman gain to be more inclined to trust model predictions rather than new observations.
[0126] 5. : This is the inverse of the covariance of the observation prediction plus the covariance of the observation noise. This term is calculated to adjust the size of the Kalman gain. By calculating this term, the algorithm can determine the reliability of the observation relative to the predicted state and adjust the Kalman gain accordingly. The inverse of this term provides a measure of "confidence" in integrating the observation information. If the observation is accurate ( smaller), which will make the Kalman gain larger, otherwise smaller.
[0127] Combining all these components, Equation 5 calculates a matrix that is used to update the state estimate , by weighting the observation residual (the difference between the actual observation and the predicted observation) for each state variable, to correct the prediction error and optimize the performance of the entire system. This trade-off ensures that the algorithm can effectively utilize new observation data while maintaining memory of past information.
[0128] ;
[0129] Formula 6 is the key update step in the Kalman filter algorithm, which is used to update the state estimate This formula is basically adjusting the predicted state estimate by the newly acquired measurement data. Here is a detailed explanation of each component in the formula:
[0130] 1. : This is at the moment The predicted state estimate is based on the previous time It contains information about the last state known so far, but does not include new observations at the current moment.
[0131] 2. : Kalman gain, which is used in Kalman filtering to balance prediction error and measurement error. The calculation of Kalman gain is based on the prediction error covariance and the measurement noise covariance , and the observation matrix This gain determines how new measurement data is integrated into the current state estimate, optimizing the accuracy of the state estimate.
[0132] 3. : At the time This is data obtained directly from measuring devices or sensors and contains the most up-to-date information about the current state of the system.
[0133] 4. : The observation matrix, which transforms the state space into the observation space. This matrix describes how the state variables are mapped to the observation data.
[0134] ;
[0135] Equation 7 is the step in the Kalman filter algorithm to update the error covariance matrix. The error covariance matrix is a key element used to quantify the uncertainty of the estimated state. The update of this matrix is crucial to the performance of the Kalman filter because it directly affects the calculation of the Kalman gain and the subsequent state estimation. The following is a detailed explanation of each component in Equation 7:
[0136] 1. Indicates at time Given all until time The error covariance matrix of the state estimate after the observation data. This matrix is obtained after the update step and reflects the uncertainty of the system state estimate after taking into account the latest observation information. The quantification of this uncertainty is crucial because it affects the accuracy of future state predictions and the calculation of the Kalman gain.
[0137] 2. : This is at the moment Based on time The error covariance matrix of the information forecast. It reflects the uncertainty of the forecast state estimate before the latest measurement. This matrix takes into account the forecast error caused by model imperfections and external disturbances (process noise).
[0138] 3. : Kalman gain, used to update the state estimate. The Kalman gain is a trade-off factor that determines the relative importance of new measurement information and the predicted estimate in the update process. A higher gain means that new measurements have a greater impact on the state estimate, which usually happens when the uncertainty in the prediction is large.
[0139] 4. : The observation matrix transforms the state variables from the state space to the observation space. This matrix describes how each state variable affects the observation readings.
[0140] 5. : The identity matrix has the same dimensions as the state vector. In this formula, the identity matrix is used to ensure that only the observation matrix The error covariance is adjusted only on the dimensions that affect the
[0141] Observation Matrix Calculation:
[0142] Formula 8 is used to calculate the observation matrix , taking into account the impact of environmental factors on observation:
[0143] ;
[0144] in is the observation matrix under standard environment, It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the maximum value of light intensity; it can be obtained through expert knowledge or historical data; , and is an adjustment factor, which is set based on experimental or historical data to best reflect the impact of environmental factors on the observation. is the reference range of temperature, which is a specific value used to adjust the temperature change for The impact of is the reference range of humidity, which is a specific value used to adjust the humidity change for The reference range of temperature and the reference range of humidity can be obtained through expert knowledge or historical data.
[0145] Furthermore, the image processing module uses a pre-trained multimodal fusion neural network to perform license plate recognition on the license plate image data provided by the control module; the multimodal fusion neural network includes:
[0146] A data preprocessing module is used to receive the license plate image data provided by the auxiliary camera and the vehicle distance data obtained by the millimeter wave ranging module; normalize the license plate image data to obtain a normalized RGB image; and integrate the vehicle distance data into the normalized RGB image as an additional channel to generate an enhanced multi-channel feature map;
[0147] A feature extraction module, used to process the enhanced multi-channel feature map using a convolutional neural network to obtain deep visual features of the license plate image;
[0148] A feature fusion module is used to fuse the deep visual features of the license plate image and the vehicle distance data, and use a weighted strategy to adjust the feature weights to obtain a license plate feature that fuses the visual and distance information; and perform time serialization processing on the license plate feature that fuses the visual and distance information to obtain serialized license plate feature data;
[0149] A license plate recognition module, used to process the serialized license plate feature data using a long short-term memory network to obtain a character sequence recognition result of the license plate;
[0150] The post-processing module is used to implement an error detection and correction algorithm to correct the character sequence recognition result of the license plate to obtain a license plate recognition result.
[0151] In the vehicle detection system based on millimeter wave ranging radar, the image processing module uses a multimodal fusion neural network to improve the accuracy and robustness of license plate recognition. The network combines the visual data from the auxiliary camera and the distance data provided by the millimeter wave ranging module, and through a series of carefully designed processing steps, ensures the efficiency and reliability of the entire license plate recognition process.
[0152] First, the data preprocessing module receives the license plate image from the auxiliary camera and the vehicle distance data from the millimeter wave ranging module. The image data is first normalized, adjusted to the size required by the network and the pixel intensity is normalized to a certain range, usually between 0 and 1, to optimize the efficiency and effect of subsequent processing. Subsequently, the vehicle's distance data is integrated into the normalized RGB image as an additional channel. This step not only provides contextual information about the distance between the vehicle and the camera, but also helps the network understand the size and position changes of the license plate more accurately.
[0153] Next, the feature extraction module processes the enhanced multi-channel feature map through a convolutional neural network (CNN). At this stage, the network learns and extracts image features from simple to complex through multiple layers of convolution operations, including but not limited to edges, corners, and more complex patterns and textures, and gradually goes deeper into the recognition of license plate characters. As the number of network layers increases, the extracted features gradually deepen and can distinguish between specific characters and background on the license plate.
[0154] The feature fusion module combines the visual features extracted from CNN with the distance data, and uses specific algorithms such as weighted summation or attention mechanisms to adjust the contribution ratio of features from different data sources. For example, for license plates at a longer distance, distance data may receive a higher weight to help adjust the focus. In addition, this module also performs time serialization on the fused features to provide a suitable data format for the subsequent long short-term memory network (LSTM).
[0155] The license plate recognition module uses LSTM to process serialized license plate feature data. LSTM is particularly suitable for processing sequence data and can effectively capture the time dependency in the sequence, such as the order of characters and contextual relationships, thereby achieving high accuracy in the license plate recognition process.
[0156] Finally, the post-processing module implements an error detection and correction algorithm to verify and correct the license plate character sequence recognition results output by LSTM. The key to this step is to identify and correct possible recognition errors, such as misclassification, omission of characters, or confusion between similar characters, to ensure the final accuracy and reliability of the license plate recognition results.
[0157] Through these detailed steps, the multimodal fusion neural network can effectively process and recognize license plates under various environmental conditions, improving the overall performance and reliability of the system. This method of integrating visual and distance data not only optimizes the recognition process, but also enhances the system's ability to adapt to complex environmental changes.
[0158] The following is the reference implementation code of the multimodal fusion neural network:
[0159] import tensorflow as tf
[0160] from tensorflow.keras.layers import Input, Conv2D, MaxPooling2D,Flatten, Dense, concatenate, LSTM, Reshape
[0161] from tensorflow.keras.models import Model
[0162] def build_multimodal_network(input_shape, num_classes):
[0163] # Input layer
[0164] visual_input = Input(shape=input_shape, name='visual_input')
[0165] distance_input = Input(shape=(1,), name='distance_input')
[0166] # Feature extraction module
[0167] conv1 = Conv2D(32, (3, 3), activation='relu')(visual_input)
[0168] pool1 = MaxPooling2D((2, 2))(conv1)
[0169] conv2 = Conv2D(64, (3, 3), activation='relu')(pool1)
[0170] pool2 = MaxPooling2D((2, 2))(conv2)
[0171] flat = Flatten()(pool2)
[0172] # Feature fusion module
[0173] merged = concatenate([flat, distance_input], name='feature_merger')
[0174] fc1 = Dense(128, activation='relu')(merged)
[0175] # Time series processing
[0176] reshaped = Reshape((1, 128))(fc1) # Prepare data format suitable for LSTM processing
[0177] # License Plate Recognition Module
[0178] lstm_output = LSTM(64)(reshaped)
[0179] output = Dense(num_classes, activation='softmax', name='output')(lstm_output)
[0180] # Error detection and correction algorithm
[0181] # Assume there is a post-processing layer to correct the recognition results
[0182] corrected_output = Dense(num_classes, activation='softmax', name='corrected_output')(output)
[0183] # Define the model
[0184] model = Model(inputs=[visual_input, distance_input], outputs=corrected_output)
[0185] model.compile(optimizer='adam', loss='categorical_crossentropy',metrics=['accuracy'])
[0186] return model
[0187] # Define model parameters
[0188] input_shape = (64, 64, 3) # Image size
[0189] num_classes = 36 # License plate character types
[0190] # Build the model
[0191] model = build_multimodal_network(input_shape, num_classes)
[0192] model.summary() # Display model structure
[0193] In this example, a post-processing layer is added to simulate the error correction process. In practice, this process may involve more complex logic, such as using specialized error detection algorithms to identify and correct common OCR errors.
[0194] In license plate recognition systems, error detection and correction algorithms are crucial post-processing steps used to improve the overall recognition accuracy and reliability of the system. These algorithms are specifically designed to identify and correct errors that may occur during the character recognition process, such as misclassification of characters, omission of characters, confusion between similar characters, or completely wrong recognition. The following are some common error detection and correction strategies:
[0195] 1. Rule-based correction:
[0196] This approach usually relies on predefined rules or knowledge of the license plate format (such as the length of the license plate, the type of characters, etc.). For example, if the license plate format in a certain area is two letters followed by four numbers, any recognition result that does not conform to this format can be immediately marked as an error and corrected. Rules can also be based on the legality of characters (for example, numbers should not appear in certain positions).
[0197] 2. Statistical Model:
[0198] Using statistical models, such as Hidden Markov Models (HMM) or Conditional Random Fields (CRF), error detection and correction can be performed based on the statistical relationships between characters. These models are able to learn dependencies in character sequences, such as which characters are more likely to appear after certain characters, thereby achieving higher accuracy in the recognition process.
[0199] 3. Edit distance application:
[0200] The Levenshtein distance can be used to evaluate the difference between the recognition result and the possible correct result. The system can maintain a database of legal license plates, calculate the Levenshtein distance to find the legal license plate closest to the incorrect recognition result, and make corresponding corrections.
[0201] 4. Machine learning correction:
[0202] Through machine learning technology, especially deep learning, models can be trained to automatically identify and correct errors. For example, a neural network can be designed to receive preliminary OCR output and output corrected license plate information. This method can use a large number of misrecognition samples to train the model so that it can learn complex error patterns and correction strategies.
[0203] 5. Character Verification and Confidence Scoring:
[0204] Each character recognition can be accompanied by a confidence score, indicating how sure the model is about its recognition result. Characters with low confidence can automatically trigger a recheck mechanism or prompt manual review. In addition, character confidence can be combined with the confidence of the overall license plate format for more comprehensive error detection and correction.
[0205] In order to train a multimodal fusion neural network for license plate recognition, a series of detailed steps need to be followed, from data preparation to model training, verification and final deployment. The following is a detailed description of the entire process:
[0206] Data preparation:
[0207] First, it is necessary to collect enough license plate images and corresponding millimeter wave ranging data. These images should include different lighting conditions, different perspectives, and different license plate types to ensure the generalization ability of the model.
[0208] 1. Image normalization: resize all images to a uniform size, such as 64x64 pixels, and normalize the pixel values to between 0 and 1. This step is to ensure that the data input to the network is at the same scale, which helps the network learn more effectively.
[0209] 2. Data fusion: Merge the mmWave ranging data as an additional feature channel with the normalized RGB image. This typically involves scaling the range data to the same size as the image and then adding it as a fourth channel to the RGB image. Doing so allows the network to take into account the relative distance between the vehicle and the camera while processing the image data.
[0210] Build the model:
[0211] Use deep learning frameworks such as TensorFlow or Keras to build the required multimodal fusion neural network. The network should include the following core parts:
[0212] Feature extraction module: Use convolutional layers and pooling layers to extract features from the fused image.
[0213] Feature fusion module: fuses the extracted visual features with the distance data and may further process this data using fully connected layers.
[0214] Time series processing: Adjust the shape of the data to make it suitable for LSTM processing.
[0215] License plate recognition module: Use the LSTM network to process serialized feature data and identify the character sequence on the license plate.
[0216] Post-processing module: implements error detection and correction strategies to optimize the accuracy of recognition results.
[0217] Train the model:
[0218] During the training process, a large number of labeled license plate images and corresponding distance data should be used:
[0219] 1. Batch training: The data is input into the network in batches for training. Each batch contains a certain number of images and their corresponding distance data and license plate character labels.
[0220] 2. Optimizer selection: Use optimizers such as Adam or SGD, and adjust the learning rate and other hyperparameters to obtain the best training results.
[0221] 3. Loss function: Use a loss function suitable for multi-class classification, such as the cross entropy loss function, to calculate the error between the predicted output and the true label.
[0222] 4. Model evaluation: Evaluate model performance on an independent validation set to ensure that the model not only performs well on the training set, but can also generalize to unseen data.
[0223] Deployment and Optimization:
[0224] Once the model training is completed and the verification effect is good, it can be deployed to the actual vehicle detection system. In addition, the performance of the model in the actual environment should be continuously monitored, and the model parameters should be further optimized or iterative training should be performed as needed.
[0225] Through the above steps, a multimodal fusion neural network with excellent performance can be effectively trained for license plate recognition tasks, while ensuring that the system can perform stably in different environments.
[0226] The license plate recognition integrated machine 102 is used to recognize the license plate of the target vehicle entering or exiting the target lane.
[0227] The license plate recognition integrated machine 102 is designed to recognize the license plates of vehicles entering and exiting the target lane. It is a composite device that integrates a high-resolution camera, image processing hardware and software, and is intended to automatically perform license plate recognition tasks and improve the efficiency and safety of vehicle flow management.
[0228] The camera used in the license plate recognition integrated machine 102 is capable of capturing clear license plate images under various lighting conditions, from direct sunlight to low-light nighttime environments. The camera is designed with wide dynamic range and high sensitivity to ensure usable images can be obtained even in backlit or reflective conditions. In addition, the camera is equipped with an autofocus function that can quickly adjust the focus to adapt to different vehicle distances, thereby ensuring image clarity and recognition accuracy.
[0229] The image processing unit of the license plate recognition machine has a built-in efficient processor that supports real-time image analysis. The processor is responsible for performing pre-processing operations on the license plate image, including image denoising, contrast enhancement, and edge detection, etc., to provide optimized image input for subsequent license plate number recognition. The license plate recognition software uses advanced optical character recognition (OCR) technology to accurately identify and read license plate numbers from pre-processed images.
[0230] The license plate recognition integrated machine 102 also includes a communication interface that supports high-speed data exchange with the control module 104. Through this interface, the recognition results can be instantly transmitted to the control module for further processing and decision-making, such as opening a gate or triggering an alarm. The design of the communication protocol ensures the stability and security of data transmission, and supports, but is not limited to, Ethernet or wireless communication methods.
[0231] The design of the license plate recognition integrated device 102 not only focuses on the efficiency and accuracy of its license plate recognition function, but also focuses on how to effectively trigger the camera to capture the license plate image. To this end, the device is equipped with multiple triggering methods to ensure that the camera can be reliably activated in various scenarios to capture the vehicle's license plate image.
[0232] Among them, the most common triggering methods include ground induction coils and infrared sensors. Ground induction coils are a system that works based on the principle of electromagnetic induction and are usually buried in the road surface, especially in the lanes at the entrance or exit of a parking lot. When a vehicle passes by or stays on the ground induction coil, its metal mass changes the magnetic field of the ground, triggering the coil to send a signal. This signal is received by the license plate recognition integrated machine as a signal to start the camera to capture the license plate. This triggering method is very suitable for vehicle detection at fixed intersections because it can accurately detect the presence of a vehicle and instantly trigger the camera when the vehicle arrives.
[0233] Another way to trigger is to use an infrared sensor. Infrared sensors can detect changes in infrared radiation caused by the size of a vehicle. When a vehicle enters the detection range of the infrared sensor, the sensor captures the difference in infrared radiation caused by the vehicle and sends a signal to activate the camera of the license plate recognition machine. Infrared sensors are particularly suitable for low-light environments or application scenarios that require non-contact triggering.
[0234] The software built into the license plate recognition integrated machine 102 can configure and manage these trigger signals, ensuring that the camera can respond quickly and capture the license plate at the moment of receiving the trigger signal. In addition, the camera's quick start and high-speed shooting functions ensure that high-quality license plate images can be obtained even when a high volume of vehicles passes by. The integration of this multi-trigger method ensures that the license plate recognition integrated machine can work effectively in a variety of different traffic environments, greatly improving the applicability and reliability of the system.
[0235] The design of the entire license plate recognition machine fully considers the convenience of user operation and the manageability of system maintenance. The machine body has a solid structure, suitable for long-term stable operation in a variety of environments, and is easy to install in different types of vehicle access control systems.
[0236] Furthermore, the license plate recognition integrated machine includes an infrared lighting device for enhancing the visibility of the license plate image in a low-light environment, thereby improving the accuracy of license plate recognition.
[0237] In the vehicle detection system based on millimeter wave ranging radar, the license plate recognition integrated machine 102 is one of the key components, responsible for identifying the license plates of vehicles entering and exiting the target lane. In order to ensure efficient and accurate license plate recognition under all lighting conditions, especially in low light environments, the system is specially integrated with an infrared lighting device.
[0238] The main function of the infrared illuminator is to provide the necessary illumination when the ambient light is insufficient to ensure that the license plate image is clearly visible. This device uses an infrared LED (light emitting diode) as a light source, which can emit infrared light that is almost invisible to the human eye. Infrared light is particularly effective for license plate materials because the reflective coating of most license plates can strongly reflect infrared light, making the license plate number appear clearer in the camera.
[0239] The process of installing the infrared illuminator involves fixing it in a suitable position on the license plate recognition machine, usually close to or integrated around the camera module so that the infrared light can shine directly on the license plate. The design of the device ensures that the light is evenly distributed, avoiding excessive lighting or light spots, which may interfere with the image recognition of the license plate.
[0240] In the implementation process, the infrared lighting device is activated and controlled by the control module 104, and is usually automatically turned on when the ambient light is lower than a preset threshold. In addition, the software in the license plate recognition integrated machine will evaluate the lighting conditions based on the received image data and adjust the intensity of the infrared lighting to adapt to different ambient light conditions and ensure optimal image quality.
[0241] This configuration enables the license plate recognition integrated machine to work continuously and effectively not only under daily lighting conditions, but also at night or in low-light environments such as tunnels and parking lots, greatly improving the accuracy of license plate recognition.
[0242] The auxiliary camera 103 is used to capture the license plate of the target vehicle entering or exiting the target lane.
[0243] The auxiliary camera 103 is one of the key components in the vehicle detection system based on the millimeter wave ranging radar, and is specifically used to capture the license plate image of the vehicle entering and exiting the target lane under specific circumstances. The camera is designed to play an auxiliary role when the main license plate recognition integrated machine 102 fails to successfully recognize the license plate, ensuring the integrity of the vehicle recognition process and the high reliability of the system.
[0244] The auxiliary camera 103 has high resolution and high sensitivity, and can clearly capture license plate images under various lighting conditions. The camera is equipped with an advanced optical system, including an automatic aperture adjustment function, which can automatically adjust according to the ambient light to ensure that the image maintains the best quality even under over- or under-exposure conditions. In addition, the camera's fast shutter function can capture high-speed moving vehicles, avoid image blur, and ensure that the license plate number is clearly readable.
[0245] In system operation, the auxiliary camera 103 is managed by the control module 104. When the license plate recognition integrated machine 102 reports that the license plate cannot be detected or the recognition is wrong, the control module 104 will instruct the auxiliary camera 103 to activate and take pictures. This process relies on the vehicle position and distance data provided by the millimeter wave ranging module 101 to determine the best shooting time and the focus setting of the camera.
[0246] After shooting, the auxiliary camera 103 will immediately transmit the license plate image to the image processing module 105. In order to optimize data transmission speed and reduce latency, the connection between the camera and the image processing module supports high-speed data transmission technology to ensure that the image data is quickly and accurately uploaded to the cloud for processing. The image processing module 105 performs advanced license plate recognition processing in the cloud, using deep learning algorithms to ensure the accuracy of recognition.
[0247] The design of the auxiliary camera 103 allows for easy installation and maintenance. With its compact structure and flexible installation, it can be seamlessly integrated into existing vehicle control systems, playing an important role in gate systems, parking lots, and highway toll booths. In addition, the camera's weather resistance and durability make it suitable for long-term operation in outdoor environments without frequent maintenance.
[0248] Furthermore, the auxiliary camera includes a dynamic focus adjustment unit for automatically adjusting the focus according to the vehicle distance data obtained from the millimeter wave ranging module to ensure that the license plate image always maintains optimal clarity.
[0249] In the vehicle detection system based on millimeter wave ranging radar, the function of the auxiliary camera 103 is crucial, especially when the main license plate recognition integrated device 102 fails to successfully recognize the license plate, the auxiliary camera provides important supplementary image data. In order to ensure that the obtained license plate image always maintains the best clarity, the auxiliary camera is designed to include a dynamic focus adjustment unit, which can automatically adjust the focus of the camera according to the actual distance of the vehicle.
[0250] The working principle of the dynamic focus adjustment unit is based on the vehicle distance data provided by the millimeter wave ranging module 101. The millimeter wave ranging module 101 can accurately measure and provide the real-time distance between each vehicle and the gate, and these data are transmitted to the auxiliary camera 103 in real time. The dynamic focus adjustment unit in the auxiliary camera receives these distance data and automatically adjusts the focus of the camera lens through the built-in control system.
[0251] The unit contains a series of mechanical and electronic components, including motors, gears, lens groups and sensors, which work together to precisely control the position and focus of the lens. Focus adjustment is based on the algorithm's calculation of the best focal distance, which takes into account the distance of the vehicle, the aperture size of the camera and the expected image clarity. During the adjustment process, the system also takes into account environmental factors such as light intensity and weather conditions to optimize image quality.
[0252] In addition, the auxiliary camera's software system includes a feedback mechanism that monitors the effect of focus adjustment in real time and makes fine adjustments. This mechanism ensures that the camera focus can respond and adjust quickly when the vehicle moves or environmental conditions change, ensuring that the image clarity and recognition rate are always maintained at the highest level.
[0253] Through this design, the auxiliary camera 103 can provide high-quality license plate images under various distances and lighting conditions, greatly enhancing the reliability and efficiency of the vehicle detection system.
[0254] Furthermore, the auxiliary camera includes a multi-angle shooting unit for automatically adjusting the shooting angle according to the position and angle of the vehicle to capture the license plate at an optimal angle.
[0255] In the vehicle detection system based on millimeter wave ranging radar, the design of the auxiliary camera 103 has a key feature: a multi-angle shooting unit. This unit enables the camera to automatically adjust the shooting angle according to the specific position and angle of the vehicle, ensuring that the license plate image is captured from the best viewing angle, thereby improving the accuracy and reliability of license plate recognition.
[0256] The core function of the multi-angle shooting unit is to dynamically adjust the direction of the camera through a set of sophisticated mechanical and electronic control systems. The system includes servo motors, sensors and control algorithms, which work together to enable the camera to quickly and accurately aim at the license plate of a moving or stationary vehicle. When the millimeter wave ranging radar 101 detects a vehicle and determines its distance and speed, these data are sent to the auxiliary camera. The sensors and processing unit in the camera calculate the position change of the vehicle and predict its movement trajectory.
[0257] The control algorithm adjusts the camera's pitch (vertical) and yaw (horizontal) angles based on these predictions. For example, if a vehicle approaches the barrier from an angle, the camera automatically adjusts the camera's shooting angle to align the license plate's orientation, ensuring that the license plate image is facing the camera lens to obtain the clearest license plate image. In addition, if the vehicle is taller or shorter, the camera will also adjust its height angle to match the height position of the license plate.
[0258] The design of this multi-angle shooting unit was implemented with the need for fast response and high-precision adjustment in mind, so high-performance motors and precise position feedback systems are used, which ensure that the camera movement is both fast and accurate. In addition, the system includes stability control to keep the camera stable even in strong winds or other external influences to avoid image blur caused by shaking.
[0259] To achieve these functions, the camera control unit has built-in advanced software that can process the data from the millimeter wave radar and calculate the best shooting angle in real time. The software is also responsible for communicating with other parts of the vehicle detection system, such as exchanging data with the license plate recognition integrated machine 102 and the control module 104, to ensure the coordinated work of various parts of the system.
[0260] The control module 104 is connected to the millimeter wave ranging module, the license plate recognition integrated machine and the auxiliary camera, and is used to receive the vehicle distance data provided by the millimeter wave ranging module; based on the vehicle distance data, determine whether the distance between the target vehicle and the gate rod reaches a preset threshold; based on the recognition result of the license plate recognition integrated machine, determine whether the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle; if the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle, a control instruction is issued to the gate rod, and the control instruction is used to allow the target vehicle to enter and exit the target lane; if the license plate recognition integrated machine fails to successfully recognize the license plate of the target vehicle, and the distance between the target vehicle and the gate rod reaches a preset threshold, the auxiliary camera is started to obtain the license plate image data of the target vehicle; the license plate image data is sent to the image processing module; and a control instruction is issued to the gate rod according to the license plate recognition result returned by the image processing module.
[0261] The control module 104 plays a crucial role in central scheduling and decision-making in the vehicle detection system based on millimeter wave ranging radar. This module is responsible for integrating data from the millimeter wave ranging module 101, the license plate recognition integrated machine 102 and the auxiliary camera 103, and implementing the core control logic of the system to ensure the smooth entry and exit of the vehicle.
[0262] The control module 104 first receives the vehicle distance data provided by the millimeter wave ranging module 101, which accurately reflects the real-time distance between the vehicle and the gate bar for entering and exiting the target lane. Based on this data, the control module evaluates whether the vehicle has reached a preset distance threshold. In addition, the control module also receives the license plate data recognized by the license plate recognition integrated device 102. If the license plate is successfully recognized, the control module will issue a command to activate the gate to allow the vehicle to enter and exit.
[0263] In the event that the license plate recognition integrated machine 102 fails to successfully recognize the license plate, the control module will instruct the auxiliary camera 103 to start up to try to capture the license plate image for the second time. These images are then sent to the image processing module 105 in the cloud for processing and license plate recognition. Once the image processing module recognizes the license plate number and returns the result, the control module will update its control decision based on this result and issue an open or close instruction to the gate bar accordingly.
[0264] The control module 104 is designed with efficient data processing capabilities and multi-channel communication interfaces to ensure fast and reliable data interaction with other components in the system, such as millimeter wave radar, camera, and cloud processing module. The module uses advanced microprocessing technology and real-time operating system to handle complex logic and control tasks while ensuring response speed and system stability.
[0265] The control module also has a high degree of configuration flexibility, supporting parameter settings and system updates through the network interface to adapt to different operating requirements and new functional requirements. The integration of all these functions ensures that the control module can effectively manage vehicle flow in various traffic scenarios, from simple private parking to complex commercial toll collection systems.
[0266] In summary, the control module 104 is the nerve center of the system. It not only processes the data from various sensors in real time, but also makes intelligent decisions to support the efficient operation of the system.
[0267] Furthermore, the control module is also used to determine whether the license plate recognition result returned by the image processing module is a successful license plate recognition result; if it is an unsuccessful license plate recognition result, notify the management personnel to perform manual processing.
[0268] In the vehicle detection system based on millimeter wave ranging radar, the control module 104 plays a core decision-making and processing role, and one of its functions is to evaluate the license plate recognition results returned by the image processing module 105. This function ensures that the system can effectively respond to the license plate recognition results, whether it is successful or failed recognition.
[0269] After receiving the license plate recognition data returned from the image processing module 105, the control module 104 first evaluates the result. This evaluation process involves checking the validity and accuracy of the recognition result to determine whether the result meets the successful recognition criteria preset by the system. These criteria may include the clarity and completeness of the recognition result and the degree of matching with the license plate data in the known database.
[0270] If the recognition result is judged to be unsuccessful, this usually means that an error may have occurred during the recognition process or the license plate image does not meet the quality standard, such as being blurred, partially blocked, or the readability of the image is affected by light problems. In this case, the control module 104 will take measures to notify the management personnel for manual processing. This notification process is implemented through the system's alarm or communication interface, which may include sending an email, text message, or popping up a warning directly on the monitoring interface.
[0271] In order to perform these tasks, the control module 104 is equipped with the necessary communication hardware and software to enable it to directly connect with the manual monitoring system or the mobile device of the manager. The control module is also equipped with a user interface that allows the manager to directly view the results of the license plate recognition and the corresponding vehicle image, so as to facilitate fast and effective manual review and decision-making.
[0272] In summary, the control module 104, through its advanced data processing and communication functions, not only automatically processes the license plate recognition task, but also initiates the manual intervention process when the recognition fails, ensuring that the system can maintain efficient and accurate operation under various circumstances.
[0273] The image processing module 105 is placed in the cloud and is used to perform license plate recognition on the license plate image data provided by the control module and return the license plate recognition result to the control module.
[0274] The image processing module 105 is an advanced cloud processing system designed to receive and analyze license plate image data from the license plate recognition integrated machine 102 and the auxiliary camera 103. The core function of this module is to perform complex license plate recognition tasks. Its deployment in the cloud allows the use of powerful computing resources to process large amounts of image data, ensuring the efficiency and accuracy of the license plate recognition process.
[0275] The image processing module 105 has advanced image analysis capabilities, using the most advanced optical character recognition (OCR) technology and deep learning algorithms. After receiving the license plate image data, the module first performs a series of pre-processing steps, including image denoising, contrast enhancement and size adjustment, to optimize the subsequent recognition process.
[0276] Once the image is optimized, the OCR system begins extracting text information from the image. The process involves multiple layers of neural networks that have been trained to recognize a variety of fonts and arrangements, improving the system's recognition accuracy in complex environments. During the recognition process, the system analyzes the shape and relative position of each character and converts the image data into an editable text format.
[0277] In addition to OCR technology, the image processing module also integrates error detection and correction mechanisms. These mechanisms can identify and correct common reading errors, such as character recognition errors caused by image blur or occlusion. In addition, the module also implements a verification system to confirm the validity of the recognition results and compare the license plate records in the database to ensure the accuracy and reliability of the output results.
[0278] After completing the license plate recognition, the image processing module 105 returns the recognition result to the control module 104 through a secure network connection. This information transmission process is carried out through an encryption protocol to ensure the security and integrity of the data during the transmission process. The returned data is used to guide the control module to make corresponding control decisions, such as starting the gate to release or deny passage.
[0279] In summary, the design and functional implementation of the image processing module 105 ensure that it can efficiently and accurately process license plate images from various sources and support the operation of the vehicle detection system based on the millimeter wave ranging radar.
[0280] Furthermore, the vehicle detection system based on millimeter wave ranging radar further includes an early warning module, which includes:
[0281] A display unit, used to display the real-time distance data of the target vehicle and dynamically adjust the size and color of the displayed distance digits according to the change of the vehicle distance between the target vehicle and the gate rod;
[0282] a light processing unit configured to display lights of different colors according to the vehicle distance between the target vehicle and the gate pole, wherein green is displayed when the vehicle distance exceeds a preset safety distance, yellow is displayed when the vehicle distance is less than or equal to the preset safety distance and greater than a minimum safety distance, and red is displayed when the vehicle distance is less than or equal to the minimum safety distance;
[0283] The sound alarm unit is used to emit buzzing sounds of different frequencies according to the vehicle distance between the target vehicle and the gate rod, wherein the frequency of the buzzing sound increases as the vehicle distance decreases, so as to provide different levels of auditory warnings.
[0284] In the vehicle detection system based on millimeter-wave ranging radar, the warning module plays a key safety enhancement role. It consists of several interrelated components: display unit, light processing unit and sound alarm unit, which work together to provide a multi-dimensional warning mechanism to ensure the safety of people and vehicles.
[0285] In vehicle detection systems, it is crucial to consider the safe distance between the vehicle and obstacles, especially when the vehicle approaches control points such as parking lot gates. There are mainly two types of safety distances involved here: preset safety distance and minimum safety distance.
[0286] The preset safety distance is set under normal driving conditions to ensure that the vehicle can safely stop or pass the control point in non-emergency situations without sudden braking. This distance is calculated based on the vehicle's normal driving speed, the driver's standard reaction time, and the vehicle's general braking performance. In addition, it also takes into account environmental factors such as road conditions and weather to ensure safe vehicle operation in a variety of situations.
[0287] In contrast, the minimum safety distance takes into account more urgent situations. This is the distance that must be maintained when assuming that the vehicle needs to stop immediately to avoid hitting an obstacle. It is usually based on the braking distance of the vehicle when emergency braking is performed at the highest speed, and takes into account the situation that the driver has little reaction time. This distance is to protect the safety of the vehicle and passengers in sudden emergencies.
[0288] The relationship between these two distances is that the preset safety distance is greater than the minimum safety distance. This setting allows more space and time to respond to potential dangers under normal driving conditions, while the minimum safety distance ensures that the possibility of accidents is minimized in emergency situations. In this way, the control system can provide appropriate safety protection in different driving scenarios, thereby optimizing the vehicle's safety performance and driving experience.
[0289] The display unit of the warning module is designed to intuitively display the real-time distance data of the target vehicle to the operator or driver. The display unit can dynamically adjust the size and color of the displayed distance number according to the distance between the vehicle and the gate pole, making the information conveyed intuitive and easy to understand. For example, when the vehicle is at a long distance, the distance number is displayed small and green, indicating a safe state; when the vehicle approaches the warning distance, the number is enlarged and turns yellow to prompt attention; and when the vehicle is too close to the gate pole, which may cause a collision or other safety issues, the display will turn red and further enlarged to emphasize the danger.
[0290] The light processing unit cooperates with the display unit to increase the warning effect through color changes. This unit is equipped with a light system that can display different colors according to the distance of the vehicle. Specifically, when the vehicle remains above the safe distance, the light is green; when the vehicle enters the warning distance, the light turns yellow; and when the vehicle enters the dangerous distance, the light turns red. This kind of instant visual feedback is a clear safety signal for the driver and the monitoring personnel, which helps to respond in time.
[0291] The sound alarm unit is designed to provide an audible warning that matches the visual warning by changing the sound frequency. The unit can emit beeps of different frequencies, where the frequency of the beeps increases as the distance of the vehicle decreases. This design is intended to attract people's attention through the urgency of the sound, especially in situations where vision is poor or attention is distracted, the sound alarm can effectively remind people to pay attention to the safe distance.
[0292] The design of the entire early warning module takes into account the friendliness of the user interface, the timeliness of the warning and the reliability of the system.
[0293] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A vehicle detection system based on millimeter wave ranging radar, It is characterized in that include: The millimeter wave ranging module includes a millimeter wave ranging radar and a radar data processing unit, wherein the millimeter wave ranging radar is used to obtain detection data of a target vehicle entering and exiting a target lane; the radar data processing unit is used to process the detection data of the target vehicle to obtain vehicle distance data between the target vehicle and the gate rod entering and exiting the target lane; License plate recognition integrated machine, used to identify the license plate of the target vehicle entering and exiting the target lane; Auxiliary camera, used to capture the license plate of the target vehicle entering and exiting the target lane; A control module is connected to the millimeter wave ranging module, the license plate recognition integrated machine and the auxiliary camera, and is used to receive the vehicle distance data provided by the millimeter wave ranging module; based on the vehicle distance data, it is judged whether the distance between the target vehicle and the gate rod reaches a preset threshold; based on the recognition result of the license plate recognition integrated machine, it is judged whether the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle; if the license plate recognition integrated machine successfully recognizes the license plate of the target vehicle, a control instruction is issued to the gate rod, and the control instruction is used to allow the target vehicle to enter and exit the target lane; if the license plate recognition integrated machine fails to successfully recognize the license plate of the target vehicle, and the distance between the target vehicle and the gate rod reaches a preset threshold, the auxiliary camera is started to obtain the license plate image data of the target vehicle; the license plate image data is sent to the image processing module; and a control instruction is issued to the gate rod according to the license plate recognition result returned by the image processing module; An image processing module, placed in the cloud, is used to perform license plate recognition on the license plate image data provided by the control module, and return the license plate recognition result to the control module; The millimeter wave ranging module includes an environmental sensor and a radar parameter dynamic adjustment unit; wherein the environmental sensor is used to monitor environmental condition data, and the environmental condition data includes the current temperature , Current humidity and the current light intensity The radar parameter dynamic adjustment unit calculates the frequency of the adjusted millimeter wave ranging radar according to the following formula 1: : ; in, is the standard operating frequency; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; , and is the adjustment factor; The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar according to the following formula 2: : ; in, It is standard power; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the maximum possible value of temperature; , and is the adjustment factor; The radar parameter dynamic adjustment unit calculates the power of the adjusted millimeter wave ranging radar. And the power of the adjusted millimeter wave ranging radar Adjust the parameters of the millimeter wave ranging radar.
2. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The control module is also used to determine whether the license plate recognition result returned by the image processing module is a successful license plate recognition result; if it is an unsuccessful license plate recognition result, notify the management personnel to perform manual processing.
3. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that It also includes an early warning module, which includes: A display unit, used to display the real-time distance data of the target vehicle and dynamically adjust the size and color of the displayed distance digits according to the change of the vehicle distance between the target vehicle and the gate rod; a light processing unit configured to display lights of different colors according to the vehicle distance between the target vehicle and the gate pole, wherein green is displayed when the vehicle distance exceeds a preset safety distance, yellow is displayed when the vehicle distance is less than or equal to the preset safety distance and greater than a minimum safety distance, and red is displayed when the vehicle distance is less than or equal to the minimum safety distance; The sound alarm unit is used to emit buzzing sounds of different frequencies according to the vehicle distance between the target vehicle and the gate rod, wherein the frequency of the buzzing sound increases as the vehicle distance decreases, so as to provide different levels of auditory warnings.
4. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The millimeter wave ranging radar is installed in a pre-opened hole in the middle of the gate rod.
5. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The license plate recognition integrated machine includes an infrared lighting device for enhancing the visibility of the license plate image in a low-light environment, thereby improving the accuracy of license plate recognition.
6. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The auxiliary camera includes a dynamic focus adjustment unit for automatically adjusting the focus according to the vehicle distance data obtained from the millimeter wave ranging module to ensure that the license plate image always maintains optimal clarity.
7. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The auxiliary camera includes a multi-angle shooting unit for automatically adjusting the shooting angle according to the position and angle of the vehicle to capture the license plate at the best angle.
8. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The radar data processing unit is specifically used to execute a Kalman filter algorithm to correct signal distortion caused by environmental changes in real time. The Kalman filter algorithm includes the following steps: Initialization step S1001: Setting the initial state estimate and the initial error covariance matrix , where the initial state estimate Including the distance and speed of the vehicle, the initial error covariance matrix Set to the identity matrix multiplied by the coefficients ; Prediction step S1002: Execute the following formula 3 and formula 4: ; ; in, Indicates that at time step The predicted state estimate of is the state transition matrix; Indicates that at time step state estimation; is the control input matrix; is the control input; is the forecast error covariance matrix, which is used to represent the The uncertainty in the estimate of the system state when new data has not been observed before; is the time step The error covariance matrix of is the state transition matrix The transpose of is the process noise covariance matrix, which is used to represent the inherent uncertainty or randomness in the forecast model; Update step S1003: Execute the following formulas 5, 6, and 7: ; ; ; in, is the Kalman gain; is the observation matrix; is the observation matrix The transpose of It is at the moment The actual observed value of is the observation noise covariance matrix, reflecting the uncertainty of the measurement; is the identity matrix; is at the time step state estimation; Indicates that at time step The predicted state estimate of Indicates that at time step Given all up to time step After the observation data, the error covariance matrix of the state estimation; Among them, the observation matrix Calculated according to the following formula 8: ; in, is the observation matrix under standard environment; They are the current temperature, current humidity and current light intensity; It is the reference value of temperature under standard test environment; It is the reference value of humidity under standard test environment; It is the reference value of light intensity under standard test environment; is the reference range of temperature; is the reference range of humidity; is the maximum value of light intensity; , and is the adjustment factor.
9. The vehicle detection system based on millimeter wave ranging radar according to claim 1, It is characterized in that The image processing module uses a pre-trained multimodal fusion neural network to perform license plate recognition on the license plate image data provided by the control module; the multimodal fusion neural network includes: A data preprocessing module is used to receive the license plate image data provided by the auxiliary camera and the vehicle distance data obtained by the millimeter wave ranging module; normalize the license plate image data to obtain a normalized RGB image; and integrate the vehicle distance data into the normalized RGB image as an additional channel to generate an enhanced multi-channel feature map; A feature extraction module, used to process the enhanced multi-channel feature map using a convolutional neural network to obtain deep visual features of the license plate image; A feature fusion module is used to fuse the deep visual features of the license plate image and the vehicle distance data, and use a weighted strategy to adjust the feature weights to obtain a license plate feature that fuses the visual and distance information; and perform time serialization processing on the license plate feature that fuses the visual and distance information to obtain serialized license plate feature data; A license plate recognition module, used to process the serialized license plate feature data using a long short-term memory network to obtain a character sequence recognition result of the license plate; The post-processing module is used to implement an error detection and correction algorithm to correct the character sequence recognition result of the license plate to obtain a license plate recognition result.
Citation Information
Patent Citations
Road vehicle detection method based on roadside millimeter wave radar and machine vision fusion
CN110532896A
Intelligent barrier gate system
CN110847087A
Intelligent barrier
CN207473682U
