Vehicle overload identification method and system, storage medium and terminal

Through the fusion of wheel axle and contour feature extraction network models and the repair of scale data, the problems of low vehicle overload identification efficiency and large errors in the existing technology are solved, and overload judgment with high accuracy and efficiency is achieved.

CN118537663BActive Publication Date: 2024-10-18JIANGXI TOHUI SCI & TECH SHARES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411000903.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-18
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

The existing highway overload identification checkpoints have low working efficiency and large errors, and cannot effectively identify vehicle overloading, resulting in potential traffic safety hazards and road damage.

Method used

The wheel and axle feature extraction network model and the contour feature extraction network model are used for feature fusion, and the scale data is combined for load repair to determine whether the vehicle is overloaded.

Benefits of technology

It improves the accuracy of vehicle axle type classification and load judgment, reduces overload identification errors, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537663B_ABST
    Figure CN118537663B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of overload identification, and in particular to a vehicle overload identification method and system, a storage medium and a terminal. The method comprises: obtaining a target image containing a target vehicle, and preprocessing the target image; inputting the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively, and obtaining a wheel axle feature vector and a contour feature vector of the target vehicle; performing feature fusion on the wheel axle feature vector and the contour feature vector, and obtaining a fused feature vector; inputting the fused feature vector into a preset axle type classification network model, and obtaining the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle; obtaining the initial load data and speed data of the target vehicle when passing through a weighing platform, and repairing the initial load data based on the speed data, and obtaining the target load data; and judging whether the target vehicle is overloaded. The present invention has high working efficiency and high overload identification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of overload identification, and in particular to a vehicle overload identification method and system, a storage medium and a terminal. Background Art

[0002] Overloading is one of the major causes of traffic accidents. When a vehicle is overloaded, its braking and operating safety performance will decline rapidly, which will manifest as tire deformation, tire blowout, brake failure, etc. In addition, the centrifugal force of the vehicle will increase, and the steering will become very heavy, making it very easy for an overloaded vehicle to cause an accident, which will bring great potential accidents to traffic safety. The road surface where overloaded vehicles travel is also more likely to sink or break, requiring huge amounts of money to repair the road surface.

[0003] The existing overload identification checkpoints on highways cannot obtain the truck's weight limit data simply based on the license plate information due to the large traffic volume on the highways and the involvement of license plates from all over the country. This requires manual identification of the card slot axle type, and then judging whether the truck is overloaded based on the data from the scale. This has low work efficiency. In addition, when the existing scale is performing dynamic weighing, the data read by the scale has certain errors when facing vehicles in different driving states, resulting in a high error rate in vehicle overload identification, making it difficult to identify overloaded vehicles. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a vehicle overload identification method and system, a storage medium and a terminal.

[0005] The present invention adopts the following technical solution: a vehicle overload identification method, the method comprising:

[0006] Acquire a target image containing a target vehicle, and preprocess the target image;

[0007] Inputting the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively to obtain a wheel axle feature vector and a contour feature vector of the target vehicle;

[0008] Performing feature fusion on the wheel axle feature vector and the contour feature vector to obtain a fused feature vector;

[0009] Inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle;

[0010] Acquire initial load data and speed data of the target vehicle when it passes the weighing platform, and repair the initial load data based on the speed data to obtain target load data;

[0011] Whether the target vehicle is overloaded is determined according to the weight limit standard of the target vehicle and the target load data of the target vehicle.

[0012] The vehicle overload identification method implemented in the present invention first extracts the wheel axle feature vector and the contour feature vector of the target vehicle respectively through the wheel axle feature extraction network model and the contour feature extraction network model, and then fuses the wheel axle feature vector and the contour feature vector so that the obtained fused feature vector can better characterize the axle type characteristics of the target vehicle, thereby improving the accuracy of the axle type classification of the target vehicle, and finally uses the trained axle type classification network model to classify and identify the fused feature vector to obtain the axle type category of the target vehicle, thereby ensuring the high recognition degree of the axle type category of the target vehicle and providing a guarantee for obtaining the weight limit standard of the target vehicle, and finally repairs and compensates the initial load data of the target vehicle based on the speed data to obtain the target load data that is closer to the actual load of the target vehicle, and judges whether the target vehicle is overloaded according to the target load data and the weight limit standard, with high working efficiency and small recognition error.

[0013] Furthermore, a target image including a target vehicle is obtained, and the step of preprocessing the target image specifically includes:

[0014] Acquire a target image including a target vehicle based on a preset camera device;

[0015] The target image is grayed out, and then binarized based on a pixel-level method, thereby completing the preprocessing of the target image.

[0016] Furthermore, the step of inputting the preprocessed target image into a preset axle feature extraction network model and a preset contour feature extraction network model respectively to obtain the axle feature vector and contour feature vector of the target vehicle specifically includes:

[0017] Constructing a benchmark YOLOv3 network model; wherein the benchmark YOLOv3 network model includes a backbone network and a detection network;

[0018] The residual connection module of the backbone network is optimized by first using 1×1 convolution to reduce the dimension and compress N channels into N / 2 channels, then using 3×3 convolution to keep the number of channels unchanged, and finally using 1×1 convolution to increase the dimension and expand N / 2 channels into N channels;

[0019] Deleting the 32-fold downsampling network structure of the backbone network;

[0020] The detection scale of the detection network is adjusted to a single detection scale, and a SENet channel attention module is used to enhance multiple downsampled feature maps output by the detection network, thereby obtaining an improved YOLOv3 network model;

[0021] Training the improved YOLOv3 network model to obtain a wheel axle feature extraction network model;

[0022] Inputting the preprocessed target image into the wheel axle feature extraction network model, and outputting the wheel axle feature vector of the target vehicle;

[0023] Constructing a baseline MobileNetV2 network model, training the baseline MobileNetV2 network model, and obtaining a contour feature extraction network model;

[0024] The preprocessed target image is input into the contour feature extraction network model, and the contour feature vector of the target vehicle is output.

[0025] Furthermore, the step of fusing the wheel axle feature vector with the contour feature vector to obtain a fused feature vector specifically includes:

[0026] The wheel axle feature vector is subjected to a 3×3 convolution with a step size of 2. Downsampling and dimension upscaling are performed twice, and after each downsampling and dimension upscaling, BN normalization and ReLU nonlinear activation function are used to obtain the feature vector ;

[0027] The contour feature vector is subjected to a 1×1 convolution with a step size of 1. Perform dimensionality reduction, and then process it through BN normalization and ReLU nonlinear activation function to obtain the feature vector ;

[0028] The feature vector With the feature vector Add together to get the fused feature vector ; Wherein, the feature vector With the feature vector The same shape.

[0029] Furthermore, the step of inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle specifically includes:

[0030] Constructing an axis classification network model and pre-training the axis classification network model, wherein the axis classification network model includes an input layer, a global average pooling layer, a fully connected layer and an output layer;

[0031] Inputting the fused feature vector to the input layer, and extracting the global features of the fused feature vector by the global average pooling layer;

[0032] The global features are then integrated by the fully connected layer, wherein the fully connected layer includes two fully connected sublayers and dropout regularization, and the dropout regularization is located between the two fully connected sublayers;

[0033] Finally, the output of the fully connected layer is processed using the SoftMax function to obtain probability values ​​of multiple axle type categories, and the output layer outputs the axle type category with the largest probability value, thereby obtaining the axle type category of the target vehicle;

[0034] The preset vehicle axle weight limit table is polled according to the axle type category of the target vehicle to obtain the weight limit standard of the target vehicle.

[0035] Furthermore, the steps of obtaining initial load data and speed data of the target vehicle when it passes the weighing platform, and repairing the initial load data based on the speed data to obtain the target load data specifically include:

[0036] Obtain the initial load data of the target vehicle sent by the weighing platform , and at the same time obtain the speed of the target vehicle entering the weighing platform and the speed of driving out of the weighing platform ;

[0037] Calculate the reduction ratio of the target vehicle passing the weighing platform :

[0038]

[0039] Among them, when When the target vehicle passes the weighing platform at a constant speed or accelerates through the weighing platform, ;

[0040] The number of axles of the target vehicle is determined according to the axle type of the target vehicle, thereby repairing the initial load data to obtain target load data:

[0041]

[0042] in, is the initial load data, is the standard weight, The value is 1 ton. is the number of axles of the target vehicle, is the repair coefficient, The target load data.

[0043] Further, the step of determining whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle specifically includes:

[0044] If the target load data of the target vehicle is less than or equal to the weight limit standard of the target vehicle, it is determined that the target vehicle is not overloaded;

[0045] If the target load data of the target vehicle is greater than the weight limit standard of the target vehicle, the target vehicle is determined to be overloaded and an overload alarm is issued.

[0046] The present invention also provides a vehicle overload identification system, the system comprising:

[0047] A first acquisition module, used for acquiring a target image including a target vehicle, and preprocessing the target image;

[0048] A feature extraction module, used to input the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively, to obtain a wheel axle feature vector and a contour feature vector of the target vehicle;

[0049] A feature fusion module, used for fusing the wheel axle feature vector with the contour feature vector to obtain a fused feature vector;

[0050] an axle type recognition module, used for inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle;

[0051] A second acquisition module is used to acquire initial load data and speed data of the target vehicle when it passes the weighing platform, and repair the initial load data based on the speed data to obtain target load data;

[0052] The overload judgment module is used to judge whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle.

[0053] The vehicle overload identification system implemented in the present invention first extracts the wheel axle feature vector and the contour feature vector of the target vehicle respectively through the wheel axle feature extraction network model and the contour feature extraction network model, and then fuses the wheel axle feature vector and the contour feature vector so that the obtained fused feature vector can better characterize the axle type characteristics of the target vehicle, thereby improving the accuracy of the axle type classification of the target vehicle, and finally uses the trained axle type classification network model to classify and identify the fused feature vector to obtain the axle type category of the target vehicle, thereby ensuring a high recognition degree of the axle type category of the target vehicle and providing a guarantee for obtaining the weight limit standard of the target vehicle, and finally repairs and compensates the initial load data of the target vehicle based on the speed data to obtain the target load data that is closer to the actual load of the target vehicle, and whether the target vehicle is overloaded can be judged according to the target load data and the weight limit standard, with high working efficiency and small recognition error.

[0054] A computer-readable storage medium includes instructions, which, when executed on a computer, causes the computer to execute the method described above.

[0055] A terminal, comprising: a processor and a memory; the processor and the memory communicate with each other;

[0056] The memory is used to store instructions;

[0057] The processor is used to execute the instructions in the memory to perform the method as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0059] Figure 1 This is a flow chart of a vehicle overload identification method according to a first embodiment of the present invention;

[0060] Figure 2 This is a structural block diagram of a vehicle overload identification system according to a second embodiment of the present invention. DETAILED DESCRIPTION

[0061] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the embodiments of the present invention, and should not be construed as limiting the present invention.

[0062] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0063] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0064] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.

[0065] Embodiment 1

[0066] Reference Figure 1 The first embodiment of the present invention is a method for identifying vehicle overload, the method comprising:

[0067] S1: Acquire a target image including a target vehicle and pre-process the target image; further, the steps specifically include:

[0068] Acquire a target image including a target vehicle based on a preset camera device;

[0069] The target image is grayed and then binarized based on the pixel level method, thereby completing the preprocessing of the target image. In this embodiment, the recognition accuracy of the axle type category of the target vehicle can be improved by preprocessing the target image.

[0070] S2: Inputting the preprocessed target image into a preset axle feature extraction network model and a preset contour feature extraction network model respectively to obtain axle feature vector and contour feature vector of the target vehicle; further, the steps specifically include:

[0071] Construct a benchmark YOLOv3 network model; wherein the benchmark YOLOv3 network model includes a backbone network and a detection network; in this embodiment, the benchmark YOLOv3 network model is a target detection model, the backbone network is a Darknet53 network, and the detection network is an FPN network. The specific structure of the benchmark YOLOv3 network model is well known to those skilled in the art, so it is not described in detail here;

[0072] The residual connection module of the backbone network is optimized. First, 1×1 convolution is used for dimensionality reduction to compress N channels into N / 2 channels. Then 3×3 convolution is used to keep the number of channels unchanged. Finally, 1×1 convolution is used for dimensionality increase to expand N / 2 channels into N channels. The dimensionality reduction and increase of 1×1 convolution are fully utilized to effectively reduce the number of parameters of the residual connection module. Under the premise of ensuring the detection accuracy of the network model, the running speed of the network model is improved.

[0073] The 32-fold downsampling network structure of the backbone network is deleted; since the 32-fold downsampling feature map output by the Darknet53 network has a small resolution and a large receptive field, it is conducive to large target detection but not to small target detection; however, the axle is a small target, so the 32-fold downsampling feature map contributes less to the axle detection task, but it accounts for a large proportion of the total network parameters. Therefore, deleting the 32-fold downsampling network structure of the backbone network can effectively streamline the network model, improve the network operation efficiency, and have little impact on the accuracy of axle detection and recognition;

[0074] Adjusting the detection scale of the detection network to a single detection scale can avoid the problem of redundant detection scales in the detection network and further simplify the network model. In this embodiment, the detection scale of the detection network is adjusted to an 8-fold downsampling detection scale, so that the 4-fold downsampling feature map, the 8-fold downsampling feature map and the 16-fold downsampling feature map are fused into an 8-fold downsampling feature map, which can not only make the network model focus on the detection of small-sized objects, but also reduce the amount of calculation and improve the operation efficiency;

[0075] The SENet channel attention module is used to enhance multiple downsampled feature maps output by the detection network to improve the fusion quality of the downsampled feature maps, thereby obtaining an improved YOLOv3 network model.

[0076] The improved YOLOv3 network model is trained to obtain the wheel axle feature extraction network model; in this embodiment, the principle of training the improved YOLOv3 network model is well known to those skilled in the art, so it is not described in detail here;

[0077] The preprocessed target image is input into the wheel axle feature extraction network model, and the wheel axle feature vector of the target vehicle is output;

[0078] Construct a baseline MobileNetV2 network model, train the baseline MobileNetV2 network model, and obtain a contour feature extraction network model; in this embodiment, the baseline MobileNetV2 network model has a concise structure and high classification accuracy, and its structure and principle are well known to those skilled in the art, so they are not described in detail here.

[0079] The preprocessed target image is input into the contour feature extraction network model, and the contour feature vector of the target vehicle is output.

[0080] S3: Fusing the wheel axle feature vector with the contour feature vector to obtain a fused feature vector; further, the steps specifically include:

[0081] Use a 3×3 convolution with a stride of 2 to perform a complete transformation on the wheel axis feature vector. Downsampling and dimension upscaling are performed twice, and after each downsampling and dimension upscaling, BN normalization and ReLU nonlinear activation function are used to obtain the feature vector ;

[0082] Use a 1×1 convolution with a step size of 1 to perform a contour feature vector Perform dimensionality reduction, and then process it through BN normalization and ReLU nonlinear activation function to obtain the feature vector ;

[0083] The feature vector With the eigenvector Add together to get the fused feature vector ; Among them, the eigenvector With the eigenvector The same shape.

[0084] S4: Input the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determine the weight limit standard of the target vehicle according to the axle type category of the target vehicle; further, the steps specifically include:

[0085] Construct an axis classification network model and pre-train the axis classification network model, wherein the axis classification network model includes an input layer, a global average pooling layer, a fully connected layer, and an output layer;

[0086] The fused feature vector is input to the input layer, and the global features of the fused feature vector are extracted by the global average pooling layer;

[0087] The global features are then integrated by the fully connected layer, where the fully connected layer includes two fully connected sub-layers and dropout regularization, and the dropout regularization is located between the two fully connected sub-layers; the first fully connected sub-layer is used to integrate the features output by the global average pooling layer, and the dropout regularization is used to prevent the axle classification network model from overfitting. The second fully connected sub-layer plays a classification role, and the number of its neurons is equal to the number of axle categories in the preset vehicle axle weight limit table.

[0088] Finally, the output of the fully connected layer is processed using the SoftMax function to obtain the probability values ​​of multiple axle type categories, and the output layer outputs the axle type category with the largest probability value, thereby obtaining the axle type category of the target vehicle; in this embodiment, the sum of the probability values ​​of all axle type categories is equal to 1;

[0089] According to the axle type of the target vehicle, the preset vehicle axle type weight limit table is polled to obtain the weight limit standard of the target vehicle; the vehicle axle type weight limit table has multiple axle types, and each axle type type corresponds to a weight limit standard.

[0090] S5: Obtaining initial load data and speed data of the target vehicle when it passes the weighing platform, and repairing the initial load data based on the speed data to obtain target load data; further, the steps specifically include:

[0091] Get the initial load data of the target vehicle sent by the scale , and at the same time obtain the speed of the target vehicle entering the weighing platform and the speed of driving out of the weighing platform ;

[0092] Calculate the reduction ratio of the target vehicle passing the scale :

[0093]

[0094] Among them, when When the target vehicle passes the weighing platform at a constant speed or accelerates through the weighing platform, ; In this embodiment, the weighing data when the target vehicle passes the weighing platform at a constant speed or acceleration is slightly different from the actual weighing data, so it can be ignored;

[0095] The number of axles of the target vehicle is determined according to the axle type of the target vehicle, so as to repair the initial load data and obtain the target load data:

[0096]

[0097] in, is the initial load data, is the standard weight, The value is 1 ton. is the number of axles of the target vehicle, is the repair coefficient, The target load data.

[0098] In this embodiment, is the repair value of the target vehicle. After multiple tests, the static weighing of the target vehicle on the weighing platform is taken as the actual weighing data, and the reduction ratio of the target vehicle passing the weighing platform is taken as the deceleration ratio of the target vehicle passing the weighing platform. The load when it is not 0 is the initial load data. Subtracting the two can get the weighing error. With the weighing error as the vertical axis and the product of the number of axles and the reduction ratio of the target vehicle as the horizontal axis, it can be found that the two are proportional to each other, that is, the repair value is proportional to the product of the number of axles and the reduction ratio of the target vehicle, and the repair coefficient is a constant greater than 1. In this embodiment, ,During the specific implementation, the size of the repair coefficient can be flexibly adjusted according to the measured data.

[0099] S6: judging whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle; further, the steps specifically include:

[0100] If the target load data of the target vehicle is less than or equal to the weight limit standard of the target vehicle, it is determined that the target vehicle is not overloaded;

[0101] If the target load data of the target vehicle is greater than the weight limit standard of the target vehicle, the target vehicle is determined to be overloaded and an overload alarm is issued.

[0102] The vehicle overload identification method implemented in the present invention first extracts the wheel axle feature vector and the contour feature vector of the target vehicle respectively through the wheel axle feature extraction network model and the contour feature extraction network model, and then fuses the wheel axle feature vector and the contour feature vector so that the obtained fused feature vector can better characterize the axle type characteristics of the target vehicle, thereby improving the accuracy of the axle type classification of the target vehicle, and finally uses the trained axle type classification network model to classify and identify the fused feature vector to obtain the axle type category of the target vehicle, thereby ensuring the high recognition degree of the axle type category of the target vehicle and providing a guarantee for obtaining the weight limit standard of the target vehicle, and finally repairs and compensates the initial load data of the target vehicle based on the speed data to obtain the target load data that is closer to the actual load of the target vehicle, and judges whether the target vehicle is overloaded according to the target load data and the weight limit standard, with high working efficiency and small recognition error.

[0103] Embodiment 2

[0104] Reference Figure 2 The present invention also proposes a vehicle overload identification system, the system comprising:

[0105] A first acquisition module is used to acquire a target image containing a target vehicle and pre-process the target image;

[0106] A feature extraction module, used to input the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively, to obtain a wheel axle feature vector and a contour feature vector of the target vehicle;

[0107] A feature fusion module is used to fuse the wheel axle feature vector with the contour feature vector to obtain a fused feature vector;

[0108] An axle type recognition module is used to input the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determine the weight limit standard of the target vehicle according to the axle type category of the target vehicle;

[0109] The second acquisition module is used to obtain the initial load data and speed data of the target vehicle when it passes the weighing platform, and repair the initial load data based on the speed data to obtain the target load data;

[0110] The overload judgment module is used to judge whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle.

[0111] Furthermore, the first acquisition module is specifically used for:

[0112] Acquire a target image including a target vehicle based on a preset camera device;

[0113] The target image is grayed out, and then binarized based on the pixel level method, thereby completing the preprocessing of the target image.

[0114] Furthermore, the feature extraction module is specifically used for:

[0115] Build a benchmark YOLOv3 network model; the benchmark YOLOv3 network model includes a backbone network and a detection network;

[0116] The residual connection module of the backbone network is optimized. First, 1×1 convolution is used to reduce the dimension and compress N channels into N / 2 channels. Then 3×3 convolution is used to keep the number of channels unchanged. Finally, 1×1 convolution is used to increase the dimension and expand N / 2 channels into N channels.

[0117] Delete the 32-fold downsampling network structure of the backbone network;

[0118] The detection scale of the detection network is adjusted to a single detection scale, and the SENet channel attention module is used to enhance multiple downsampled feature maps output by the detection network, thereby obtaining an improved YOLOv3 network model;

[0119] The improved YOLOv3 network model is trained to obtain the wheel axle feature extraction network model;

[0120] The preprocessed target image is input into the wheel axle feature extraction network model, and the wheel axle feature vector of the target vehicle is output;

[0121] Build a baseline MobileNetV2 network model, train the baseline MobileNetV2 network model, and obtain a contour feature extraction network model;

[0122] The preprocessed target image is input into the contour feature extraction network model, and the contour feature vector of the target vehicle is output.

[0123] Furthermore, the feature fusion module is specifically used for:

[0124] Use a 3×3 convolution with a stride of 2 to perform a complete transformation on the wheel axis feature vector. Downsampling and dimension upscaling are performed twice, and after each downsampling and dimension upscaling, BN normalization and ReLU nonlinear activation function are used to obtain the feature vector ;

[0125] Use a 1×1 convolution with a step size of 1 to perform a contour feature vector Perform dimensionality reduction, and then process it through BN normalization and ReLU nonlinear activation function to obtain the feature vector ;

[0126] The feature vector With the eigenvector Add together to get the fused feature vector ; Among them, the eigenvector With the eigenvector The same shape.

[0127] Furthermore, the shaft type recognition module is specifically used for:

[0128] Construct an axis classification network model and pre-train the axis classification network model, wherein the axis classification network model includes an input layer, a global average pooling layer, a fully connected layer, and an output layer;

[0129] The fused feature vector is input to the input layer, and the global features of the fused feature vector are extracted by the global average pooling layer;

[0130] The global features are then integrated by the fully connected layer, where the fully connected layer includes two fully connected sub-layers and dropout regularization, and the dropout regularization is located between the two fully connected sub-layers;

[0131] Finally, the SoftMax function is used to process the output of the fully connected layer to obtain the probability values ​​of multiple axle types, and the output layer outputs the axle type with the largest probability value, thereby obtaining the axle type category of the target vehicle;

[0132] According to the axle type of the target vehicle, the preset vehicle axle type weight limit table is polled to obtain the weight limit standard of the target vehicle.

[0133] Furthermore, the second acquisition module is specifically used for:

[0134] Get the initial load data of the target vehicle sent by the scale , and at the same time obtain the speed of the target vehicle entering the weighing platform and the speed of driving out of the weighing platform ;

[0135] Calculate the reduction ratio of the target vehicle passing the scale :

[0136]

[0137] Among them, when When the target vehicle passes the weighing platform at a constant speed or accelerates through the weighing platform, ;

[0138] The number of axles of the target vehicle is determined according to the axle type of the target vehicle, thereby repairing the initial load data to obtain target load data:

[0139]

[0140] in, is the initial load data, is the standard weight, The value is 1 ton. is the number of axles of the target vehicle, is the repair coefficient, The target load data.

[0141] Furthermore, the overload judgment module is specifically used for:

[0142] If the target load data of the target vehicle is less than or equal to the weight limit standard of the target vehicle, it is determined that the target vehicle is not overloaded;

[0143] If the target load data of the target vehicle is greater than the weight limit standard of the target vehicle, the target vehicle is determined to be overloaded and an overload alarm is issued.

[0144] The vehicle overload identification system implemented in the present invention first extracts the wheel axle feature vector and the contour feature vector of the target vehicle respectively through the wheel axle feature extraction network model and the contour feature extraction network model, and then fuses the wheel axle feature vector and the contour feature vector so that the obtained fused feature vector can better characterize the axle type characteristics of the target vehicle, thereby improving the accuracy of the axle type classification of the target vehicle, and finally uses the trained axle type classification network model to classify and identify the fused feature vector to obtain the axle type category of the target vehicle, thereby ensuring a high recognition degree of the axle type category of the target vehicle and providing a guarantee for obtaining the weight limit standard of the target vehicle, and finally repairs and compensates the initial load data of the target vehicle based on the speed data to obtain the target load data that is closer to the actual load of the target vehicle, and whether the target vehicle is overloaded can be judged according to the target load data and the weight limit standard, with high working efficiency and small recognition error.

[0145] Embodiment 3

[0146] The third embodiment of the present invention is based on the same inventive concept and proposes a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the vehicle overload identification method of the above embodiment are implemented.

[0147] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution system, device or apparatus. For purposes of this specification, "computer-readable medium" may be any device that contains storage, communication, propagation or transmission of a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution system, device or apparatus.

[0148] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0149] Among them, the memory may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside the data processing device. In a specific embodiment, the memory is a non-volatile memory. In a specific embodiment, the memory includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM) or a flash memory (FLASH), or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0150] Embodiment 4

[0151] The fourth embodiment of the present invention is based on the same inventive concept and proposes a terminal, which includes: a processor and a memory; the processor and the memory communicate with each other; the memory is used to store instructions; the processor is used to execute the instructions in the memory to execute the vehicle overload identification method of the above embodiment.

[0152] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0153] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0154] Under the premise that no conflict occurs, those skilled in the art may freely combine and superimpose the above-mentioned additional technical features.

[0155] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle overload identification method, characterized in that: The method comprises: Acquire a target image containing a target vehicle, and preprocess the target image; Inputting the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively, to obtain a wheel axle feature vector and a contour feature vector of the target vehicle; Performing feature fusion on the wheel axle feature vector and the contour feature vector to obtain a fused feature vector; Inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle; Acquire initial load data and speed data of the target vehicle when it passes the weighing platform, and repair the initial load data based on the speed data to obtain target load data; Determining whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle; The step of inputting the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively to obtain the wheel axle feature vector and contour feature vector of the target vehicle specifically includes: Constructing a benchmark YOLOv3 network model; wherein the benchmark YOLOv3 network model includes a backbone network and a detection network; The residual connection module of the backbone network is optimized by first using 1×1 convolution to reduce the dimension and compress N channels into N / 2 channels, then using 3×3 convolution to keep the number of channels unchanged, and finally using 1×1 convolution to increase the dimension and expand N / 2 channels into N channels; Deleting the 32-fold downsampling network structure of the backbone network; The detection scale of the detection network is adjusted to a single detection scale, and a SENet channel attention module is used to enhance multiple downsampled feature maps output by the detection network, thereby obtaining an improved YOLOv3 network model; Training the improved YOLOv3 network model to obtain a wheel axle feature extraction network model; Inputting the preprocessed target image into the wheel axle feature extraction network model, and outputting the wheel axle feature vector of the target vehicle; Constructing a baseline MobileNetV2 network model, training the baseline MobileNetV2 network model, and obtaining a contour feature extraction network model; The preprocessed target image is input into the contour feature extraction network model, and the contour feature vector of the target vehicle is output.

2. The vehicle overload identification method according to claim 1, characterized in that: The step of obtaining a target image including a target vehicle and preprocessing the target image specifically includes: Acquire a target image including a target vehicle based on a preset camera device; The target image is grayed out, and then binarized based on a pixel-level method, thereby completing the preprocessing of the target image.

3. The vehicle overload identification method according to claim 1, characterized in that: The step of fusing the wheel axle feature vector with the contour feature vector to obtain a fused feature vector specifically includes: The wheel axle feature vector is subjected to a 3×3 convolution with a step size of 2. Downsampling and dimension upscaling are performed twice, and after each downsampling and dimension upscaling, BN normalization and ReLU nonlinear activation function are used to obtain the feature vector ; The contour feature vector is subjected to a 1×1 convolution with a step size of 1. Perform dimensionality reduction, and then process it through BN normalization and ReLU nonlinear activation function to obtain the feature vector ; The feature vector With the feature vector Add together to get the fused feature vector ; Wherein, the feature vector With the feature vector The same shape.

4. The vehicle overload identification method according to claim 1, characterized in that: The steps of inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle specifically include: Constructing an axis classification network model and pre-training the axis classification network model, wherein the axis classification network model includes an input layer, a global average pooling layer, a fully connected layer and an output layer; Inputting the fused feature vector to the input layer, and extracting the global features of the fused feature vector by the global average pooling layer; The global features are then integrated by the fully connected layer, wherein the fully connected layer includes two fully connected sublayers and dropout regularization, and the dropout regularization is located between the two fully connected sublayers; Finally, the output of the fully connected layer is processed using the SoftMax function to obtain probability values ​​of multiple axle type categories, and the output layer outputs the axle type category with the largest probability value, thereby obtaining the axle type category of the target vehicle; The preset vehicle axle weight limit table is polled according to the axle type category of the target vehicle to obtain the weight limit standard of the target vehicle.

5. The vehicle overload identification method according to claim 1, characterized in that: The steps of obtaining the initial load data and speed data of the target vehicle when it passes the weighing platform, and repairing the initial load data based on the speed data to obtain the target load data specifically include: Obtain the initial load data and speed data of the target vehicle when it passes the weighing platform, the speed data including the speed at which the target vehicle enters the weighing platform and the speed of driving out of the weighing platform ; Calculate the reduction ratio of the target vehicle passing the weighing platform : Among them, when When the target vehicle passes the weighing platform at a constant speed or accelerates through the weighing platform, ; The number of axles of the target vehicle is determined according to the axle type of the target vehicle, thereby repairing the initial load data to obtain target load data: in, is the initial load data, is the standard weight, The value is 1 ton. is the number of axles of the target vehicle, is the repair coefficient, The target load data.

6. The vehicle overload identification method according to claim 1, characterized in that: The step of judging whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle specifically includes: If the target load data of the target vehicle is less than or equal to the weight limit standard of the target vehicle, it is determined that the target vehicle is not overloaded; If the target load data of the target vehicle is greater than the weight limit standard of the target vehicle, the target vehicle is determined to be overloaded and an overload alarm is issued.

7. Vehicle overload identification system, characterized in that: The system comprises: A first acquisition module, used for acquiring a target image including a target vehicle, and preprocessing the target image; A feature extraction module, used to input the preprocessed target image into a preset wheel axle feature extraction network model and a preset contour feature extraction network model respectively, to obtain a wheel axle feature vector and a contour feature vector of the target vehicle; A feature fusion module, used for fusing the wheel axle feature vector with the contour feature vector to obtain a fused feature vector; an axle type recognition module, used for inputting the fused feature vector into a preset axle type classification network model to obtain the axle type category of the target vehicle, and determining the weight limit standard of the target vehicle according to the axle type category of the target vehicle; A second acquisition module is used to acquire initial load data and speed data of the target vehicle when it passes the weighing platform, and repair the initial load data based on the speed data to obtain target load data; An overload judgment module, used for judging whether the target vehicle is overloaded according to the weight limit standard of the target vehicle and the target load data of the target vehicle; The feature extraction module is specifically used for: Build a benchmark YOLOv3 network model; the benchmark YOLOv3 network model includes a backbone network and a detection network; The residual connection module of the backbone network is optimized. First, 1×1 convolution is used to reduce the dimension and compress N channels into N / 2 channels. Then 3×3 convolution is used to keep the number of channels unchanged. Finally, 1×1 convolution is used to increase the dimension and expand N / 2 channels into N channels. Delete the 32-fold downsampling network structure of the backbone network; The detection scale of the detection network is adjusted to a single detection scale, and the SENet channel attention module is used to enhance multiple downsampled feature maps output by the detection network, thereby obtaining an improved YOLOv3 network model; The improved YOLOv3 network model is trained to obtain the wheel axle feature extraction network model; The preprocessed target image is input into the wheel axle feature extraction network model, and the wheel axle feature vector of the target vehicle is output; Build a baseline MobileNetV2 network model, train the baseline MobileNetV2 network model, and obtain a contour feature extraction network model; The preprocessed target image is input into the contour feature extraction network model, and the contour feature vector of the target vehicle is output.

8. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 6.

9. A terminal, characterized in that: The terminal comprises: a processor and a memory; the processor and the memory communicate with each other; The memory is used to store instructions; The processor is configured to execute the instructions in the memory to perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Vehicle weight limit information identification method, computing device and storage medium

    CN115512321A