A method for managing and controlling overload on expressways
The high-speed camera acquires vehicle image data and calculates the size data to estimate the risk of over-limit screening, solves the problem of low detection efficiency in the existing technology, and achieves efficient screening and accurate detection of over-limit vehicles.
Patent Information
- Application Number
- CN202411110372.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-14
AI Technical Summary
In the existing technology, the over-limit and overload detection efficiency is low, and the cargo size data cannot be effectively detected, resulting in the inability to achieve dynamic measurement.
Obtain the image data of the target vehicle through a high-speed camera, perform preprocessing to obtain the outer contour points, calculate the vehicle size data based on the installation parameters, determine whether there is a risk of exceeding the limit, and only accurately detect vehicles with a risk of exceeding the limit.
The detection efficiency is improved. Only vehicles with a risk of exceeding the limit are accurately detected through dynamic pre-detection. Compared with the method of detecting each vehicle sequentially, the detection efficiency is significantly improved.
Smart Images

Figure CN118629220B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of highway detection, and in particular to a method for managing and controlling overloading of a highway. Background Art
[0002] Overloading refers to the freight vehicle's cargo length, width, height and cargo mass exceeding the prescribed limits.
[0003] In the existing technology, conventional overload detection is to detect the cargo size and mass of each vehicle in turn through a specially set up overload detection station, and the cargo size needs to be measured based on radar detection equipment. Although the dynamic weighing system can detect the actual load of the vehicle without stopping at a low speed, improving efficiency; this method cannot detect the size data of the cargo and cannot achieve dynamic measurement. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method for managing and controlling overload and overlimit on expressways, aiming to solve the technical problem of low overload and overlimit detection efficiency in the prior art.
[0005] In order to achieve the above object, the present invention is implemented by the following technical scheme: a method for managing and controlling overloads on expressways, comprising the following steps:
[0006] Acquire image data of a target vehicle based on a high-speed camera, and pre-process the image data to obtain outer contour points corresponding to the target vehicle;
[0007] Calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points, so as to determine whether the target vehicle has an over-limit risk according to the target size data;
[0008] If the target vehicle is at risk of overloading, marking the target vehicle and causing it to enter an overloading inspection station for inspection;
[0009] If the target vehicle does not have an overload risk and the load data meets the requirements of not exceeding the limit or overloading, the target vehicle will be released.
[0010] According to one aspect of the above technical solution, the step of preprocessing the image data to obtain outer contour points corresponding to the target vehicle specifically includes:
[0011] Processing the image data based on an edge detection algorithm to obtain an outer contour line corresponding to the target vehicle;
[0012] Based on the lane lines in the image data as the ordinate, establishing a two-dimensional coordinate system corresponding to the length and width of the target vehicle;
[0013] Outer contour points corresponding to the target vehicle are selected from the outer contour line according to the two-dimensional coordinate system, wherein the outer contour points include front pixel points and rear pixel points corresponding to the length of the target vehicle, and the outer contour points also include left pixel points and right pixel points of the compartment corresponding to the width of the target vehicle.
[0014] According to one aspect of the above technical solution, the step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points specifically includes:
[0015] The length data of the target vehicle is calculated based on the following calculation formula:
[0016] ;
[0017] In the formula, is the length data, N is the ordinate of the pixel point at the front of the vehicle, and M is the ordinate of the pixel point at the rear of the vehicle. is the pitch angle of the high-speed camera, i is the ordinate corresponding to the pixel point between M and N, is the ordinate of any pixel point within the outer contour line, is the longitudinal field of view of the high-speed camera, h is the installation height of the high-speed camera, and m is the longitudinal dimension of the pixel.
[0018] According to one aspect of the above technical solution, the step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points further specifically includes:
[0019] The width data of the target vehicle is calculated based on the following calculation formula:
[0020] ;
[0021] ;
[0022] Wherein, K is the width data, G is the horizontal coordinate of the left pixel point of the carriage, and H is the horizontal coordinate of the right pixel point of the carriage. is the distance between the projection point of the pixel point between G and H on the road and the high-speed camera, j is the horizontal coordinate corresponding to the pixel point between G and H, is the horizontal coordinate of any pixel point within the outer contour line, is the lateral field of view of the high-speed camera, and n is the lateral size of the pixel.
[0023] According to one aspect of the above technical solution, the step of judging whether the target vehicle has an over-limit risk according to the target size data specifically includes:
[0024] The height data of the target vehicle is obtained based on a laser altimeter, so as to determine whether the target vehicle has an over-limit risk based on the height data, length data and width data.
[0025] According to one aspect of the above technical solution, the method further includes:
[0026] identifying the vehicle type of the target vehicle through the image data, so as to obtain the maximum load of the target vehicle based on the vehicle type;
[0027] The load data of the target vehicle is obtained based on a dynamic weighing system, so as to determine whether the target vehicle meets the requirement of not exceeding the limit or overloading based on the load data and the maximum load.
[0028] According to one aspect of the above technical solution, if the target vehicle has an overload risk, the steps of marking and allowing the target vehicle to enter an overload inspection station for inspection specifically include:
[0029] If the target vehicle is at risk of overloading, the license plate information of the target vehicle is obtained through the image data, the target vehicle is marked based on the license plate information, and the target vehicle is made to enter an overloading inspection station for inspection.
[0030] According to one aspect of the above technical solution, the step of causing the target vehicle to enter an overload inspection station for inspection specifically includes:
[0031] Acquiring three-dimensional point cloud data of the target vehicle based on the laser radar of the overload and overlimit detection station;
[0032] Establishing a three-dimensional coordinate system corresponding to the length, width and height of the target vehicle, and performing coordinate conversion processing on the point cloud data based on the three-dimensional coordinate system;
[0033] The length, width and height information of the target vehicle are calculated based on the vertex coordinates of the point cloud data after coordinate conversion.
[0034] According to one aspect of the above technical solution, the step of obtaining the license plate information of the target vehicle through the image data specifically includes:
[0035] Performing target detection on the license plate image in the image data based on the YOLO model, and performing binarization processing on the license plate image;
[0036] The binary license plate image is subjected to character segmentation and recognition processing to obtain the license plate information of the target vehicle.
[0037] Compared with the prior art, the beneficial effect of the present invention lies in: by setting a high-speed camera to obtain image data of the target vehicle before the vehicle is subjected to over-limit and overload detection, and calculating the size data of the target vehicle based on the coordinates in the image data and the installation parameters of the high-speed camera, the over-limit risk of the vehicle is estimated and screened, and only the vehicles with over-limit risk are accurately detected. Compared with the method of detecting each vehicle in turn through an over-limit and overload detection station, the dynamic pre-detection method can improve the detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a flow chart of a method for managing and controlling overloading of expressways in one embodiment of the present invention;
[0039] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0040] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0041] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0043] Embodiment 1
[0044] See also Figure 1 , which is a flow chart of a method for managing and controlling overloading of expressways in a first embodiment of the present invention, as shown in the figure, the method comprises the following steps:
[0045] Step S100: acquiring image data of a target vehicle based on a high-speed camera, and preprocessing the image data to obtain outer contour points corresponding to the target vehicle.
[0046] Specifically, in this embodiment, the step of preprocessing the image data to obtain the outer contour points corresponding to the target vehicle specifically includes:
[0047] Step S110, the image data is processed based on an edge detection algorithm to obtain an outer contour line corresponding to the target vehicle. It can be understood that in this step, since the background in the image data remains unchanged, the outer contour line can be quickly obtained by background segmentation.
[0048] Step S120, establishing a two-dimensional coordinate system corresponding to the length and width of the target vehicle based on the lane line in the image data as the vertical coordinate.
[0049] It should be noted that in actual application, the height data of the vehicles corresponding to each lane can be accurately and efficiently obtained by a laser altimeter. This application is mainly aimed at the preliminary measurement of the length and width of the vehicle.
[0050] Step S130, selecting outer contour points corresponding to the target vehicle from the outer contour line according to the two-dimensional coordinate system, wherein the outer contour points include front pixel points and rear pixel points corresponding to the length of the target vehicle, and the outer contour points also include left pixel points and right pixel points of the compartment corresponding to the width of the target vehicle.
[0051] For ease of understanding, by obtaining the endpoints of the contour line that is relatively perpendicular to the lane line, the left pixel point and the right pixel point of the car body corresponding to the width of the target vehicle can be obtained; by obtaining the endpoints of the contour line that is parallel to the lane line, the front pixel point and the rear pixel point corresponding to the length of the target vehicle can be obtained. Specifically, in some application scenarios of this embodiment, for a three-lane highway monitored by a single camera, in order to improve the accuracy of the data, the selection of the pixel points corresponding to the length of the target vehicle depends on the contour line close to the side of the lane line, that is, for the image data of the lane on the left side of the camera, due to the lack of image data features on the right side of the vehicle, the pixel points on the right side of the front and the right side of the rear are selected as reference points for the length data.
[0052] Step S200, calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points, so as to determine whether the target vehicle has an over-limit risk according to the target size data.
[0053] Specifically, in this embodiment, the step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points specifically includes:
[0054] Step S210, calculating the length data of the target vehicle based on the following calculation formula:
[0055] ;
[0056] In the formula, is the length data, N is the ordinate of the pixel point at the front of the vehicle, and M is the ordinate of the pixel point at the rear of the vehicle. is the pitch angle of the high-speed camera, i is the ordinate corresponding to the pixel point between M and N, is the ordinate of any pixel point within the outer contour line, is the longitudinal field of view of the high-speed camera, h is the installation height of the high-speed camera, and m is the longitudinal dimension of the pixel.
[0057] The step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points further specifically includes:
[0058] Step S220, calculating the width data of the target vehicle based on the following calculation formula:
[0059] ;
[0060] ;
[0061] Wherein, K is the width data, G is the horizontal coordinate of the left pixel point of the carriage, and H is the horizontal coordinate of the right pixel point of the carriage. is the distance between the projection point of the pixel point between G and H on the road and the high-speed camera, j is the horizontal coordinate corresponding to the pixel point between G and H, is the horizontal coordinate of any pixel point within the outer contour line, is the lateral field of view of the high-speed camera, and n is the lateral size of the pixel point. Specifically, based on the cargo size detection, the carriage can reflect the cargo load relative to the front of the vehicle. The selection of G and H is mainly through finding the longest contour point connection line parallel to the horizontal coordinate of the three-dimensional coordinate system, that is, the part with the largest outer contour size in the carriage.
[0062] Furthermore, the step of judging whether the target vehicle has an over-limit risk according to the target size data specifically includes:
[0063] Step S230, obtaining the height data of the target vehicle based on the laser altimeter, and judging whether the target vehicle has an over-limit risk based on the height data, length data and width data. Specifically, in some application scenarios of this embodiment, the laser altimeter and the high-speed camera are arranged on the same mounting frame, and the laser altimeter detects the height of the vehicle directly below the mounting frame.
[0064] Step S300: If the target vehicle is at risk of being overloaded, mark the target vehicle and allow it to enter an overload inspection station for inspection.
[0065] Preferably, in this embodiment, the method further includes:
[0066] Step S301, identifying the vehicle type of the target vehicle through the image data, so as to obtain the maximum load of the target vehicle based on the vehicle type. Specifically, by identifying the vehicle type of the target vehicle, the axle number information of the vehicle can be obtained, and the maximum load of the target vehicle can be obtained based on the axle number information of the vehicle.
[0067] Step S302, obtaining the load data of the target vehicle based on the dynamic weighing system, so as to determine whether the target vehicle meets the requirement of not exceeding the limit or overloading based on the load data and the maximum load.
[0068] Furthermore, in the above step S300, if the target vehicle has an overload risk, the step of marking the target vehicle and causing it to enter an overload inspection station for inspection specifically includes:
[0069] Step S310: If the target vehicle is at risk of overloading, the license plate information of the target vehicle is obtained through the image data, the target vehicle is marked based on the license plate information, and the target vehicle is made to enter an overloading inspection station for inspection.
[0070] Furthermore, in the above step S310, the step of obtaining the license plate information of the target vehicle through the image data specifically includes:
[0071] Step S311, performing target detection on the license plate image in the image data based on the YOLO model, and performing binarization processing on the license plate image.
[0072] Step S312, performing character segmentation and recognition processing on the binary license plate image to obtain the license plate information of the target vehicle.
[0073] Furthermore, in the above step S300, the step of causing the target vehicle to enter the overload inspection station for inspection specifically includes:
[0074] Step S320, obtaining three-dimensional point cloud data of the target vehicle based on the laser radar of the overload and overlimit inspection station.
[0075] Step S330, establish a three-dimensional coordinate system corresponding to the length, width and height of the target vehicle, and perform coordinate conversion processing on the point cloud data based on the three-dimensional coordinate system. Specifically, the above point cloud data is the original point cloud data based on the laser radar detection coordinate system. The influence of the laser radar installation angle can be eliminated through coordinate conversion to obtain point cloud data in the three-dimensional coordinate system corresponding to the length, width and height.
[0076] Step S340, the length information, width information and height information of the target vehicle are calculated based on the vertex coordinates of the point cloud data after the coordinate conversion process. By traversing the coordinates of each point cloud data, the length information, width information and height information of the target vehicle can be obtained based on the vertex coordinates in the point cloud data.
[0077] Step S400: If the target vehicle does not have an overload risk and the load data meets the requirement of not exceeding the limit or overloading, the target vehicle is released.
[0078] In summary, the highway overload management and control method in the above-mentioned embodiment of the present invention, by setting a high-speed camera to obtain image data of the target vehicle before the vehicle is overloaded and detected, and calculates the size data of the target vehicle based on the coordinates in the image data and the installation parameters of the high-speed camera, and estimates and screens the overload risk of the vehicle, and only accurately detects the vehicles with overload risk. Compared with the method of detecting each vehicle in turn through an overload and detection station, the dynamic pre-detection method can improve the detection efficiency.
[0079] The above-mentioned embodiments only express the specific implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for managing and controlling overload on expressways, characterized in that: The following steps are involved: The image data of the target vehicle is acquired based on a high-speed camera, and the image data is preprocessed to obtain the outer contour points corresponding to the target vehicle, wherein the step of preprocessing the image data to obtain the outer contour points corresponding to the target vehicle specifically includes: processing the image data based on an edge detection algorithm to obtain the outer contour line corresponding to the target vehicle; establishing a two-dimensional coordinate system corresponding to the length and width of the target vehicle based on the lane line in the image data as the ordinate; selecting the outer contour points corresponding to the target vehicle from the outer contour line according to the two-dimensional coordinate system, wherein the outer contour points include the front pixel points and the rear pixel points corresponding to the length of the target vehicle, and the outer contour points also include the left pixel points and the right pixel points of the carriage corresponding to the width of the target vehicle; The size data of the target vehicle is calculated based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points, so as to determine whether the target vehicle has an over-limit risk according to the target size data. The step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points specifically includes: calculating the length data of the target vehicle based on the following calculation formula: ; In the formula, is the length data, N is the ordinate of the pixel point at the front of the vehicle, and M is the ordinate of the pixel point at the rear of the vehicle. is the pitch angle of the high-speed camera, i is the ordinate corresponding to the pixel point between M and N, is the ordinate of any pixel point within the outer contour line, is the longitudinal field of view of the high-speed camera, h is the installation height of the high-speed camera, and m is the longitudinal dimension of the pixel point; If the target vehicle is at risk of overloading, marking the target vehicle and causing it to enter an overloading inspection station for inspection; If the target vehicle does not have an overload risk and the load data meets the requirements of not exceeding the limit or overloading, the target vehicle will be released.
2. The highway overload management and control method according to claim 1 is characterized in that: The step of calculating the size data of the target vehicle based on the installation parameters of the high-speed camera and the image coordinates of the outer contour points further specifically includes: The width data of the target vehicle is calculated based on the following calculation formula: ; ; Wherein, K is the width data, G is the horizontal coordinate of the left pixel point of the carriage, and H is the horizontal coordinate of the right pixel point of the carriage. is the distance between the projection point of the pixel point between G and H on the road and the high-speed camera, j is the horizontal coordinate corresponding to the pixel point between G and H, is the horizontal coordinate of any pixel point within the outer contour line, is the lateral field of view of the high-speed camera, and n is the lateral size of the pixel.
3. The highway overload management and control method according to claim 2 is characterized in that: The step of judging whether the target vehicle has an over-limit risk according to the target size data specifically includes: The height data of the target vehicle is obtained based on a laser altimeter, so as to determine whether the target vehicle has an over-limit risk based on the height data, length data and width data.
4. The highway overload management and control method according to claim 1 is characterized in that: The method further comprises: identifying the vehicle type of the target vehicle through the image data, so as to obtain the maximum load of the target vehicle based on the vehicle type; The load data of the target vehicle is obtained based on a dynamic weighing system, so as to determine whether the target vehicle meets the requirement of not exceeding the limit or overloading based on the load data and the maximum load.
5. The highway overload management and control method according to claim 1 is characterized in that: If the target vehicle has an overload risk, the steps of marking and allowing the target vehicle to enter an overload inspection station for inspection specifically include: If the target vehicle is at risk of overloading, the license plate information of the target vehicle is obtained through the image data, the target vehicle is marked based on the license plate information, and the target vehicle is made to enter an overloading inspection station for inspection.
6. The highway overload management and control method according to claim 1 is characterized in that: The step of causing the target vehicle to enter an overload and overlimit inspection station for inspection specifically includes: Acquiring three-dimensional point cloud data of the target vehicle based on the laser radar of the overload and overlimit detection station; Establishing a three-dimensional coordinate system corresponding to the length, width and height of the target vehicle, and performing coordinate conversion processing on the point cloud data based on the three-dimensional coordinate system; The length, width and height information of the target vehicle are calculated based on the vertex coordinates of the point cloud data after coordinate conversion.
7. The highway overload management and control method according to claim 5 is characterized in that: The step of obtaining the license plate information of the target vehicle through the image data specifically includes: Performing target detection on the license plate image in the image data based on the YOLO model, and performing binarization processing on the license plate image; The binary license plate image is subjected to character segmentation and recognition processing to obtain the license plate information of the target vehicle.
Citation Information
Patent Citations
Detection method, apparatus, and system of oversized vehicle
CN105157608A
Method and device for determining overrun conditions of a vehicle
WO2009010199A1
