Shielded license plate tracing method and device based on vehicle multi-feature matching

Through multi-feature matching and deep learning technology, combined with vehicle type, vehicle logo and occlusion location characteristics, the accuracy of license plate occlusion traceability is improved, the problem of large occlusion recognition errors in the existing technology is solved, and high accuracy in complex environments is achieved. Accurate traceability.

CN118658310APending Publication Date: 2024-09-17富盛科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955846.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing license plate occlusion and traceability technology is ineffective when dealing with severe occlusions, has large recognition errors, relies too much on a single vehicle feature, and lacks multi-feature fusion, resulting in low accuracy of license plate occlusion and traceability in complex environments.

Method used

Using a method based on vehicle multi-feature matching, through depth separable convolution and convolutional neural network, combined with vehicle type features, vehicle logo type features and occluded license plate location area features, multi-scale feature extraction and fusion is performed, and a target detection model is used Decode the license plate number sequence with the CRNN network and match vehicle information to improve traceability accuracy.

Benefits of technology

It improves the accuracy of license plate occlusion traceability, can accurately identify blocked license plates in complex environments, and combines multi-vehicle features for traceability, which enhances the robustness and accuracy of recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658310A
    Figure CN118658310A
Patent Text Reader

Abstract

The embodiment of the invention provides a blocked license plate tracing method and device based on vehicle multi-feature matching. The method comprises the following steps: inputting preset historical image data into a preset target detection model to determine a corresponding target detection algorithm model; acquiring image data of a vehicle with a blocked license plate, inputting the image data into a target detection algorithm model, determining vehicle characteristics output by the algorithm model, judging whether blocked license plate position area characteristics exist in the vehicle characteristics or not, if yes, extracting the blocked license plate position area characteristics and inputting the blocked license plate position area characteristics into a convolutional layer of a preset convolutional recurrent neural network; inputting the obtained feature sequence probability distribution into a transcription layer of a convolutional recurrent neural network to determine a corresponding continuous license plate number sequence; and matching the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in the preset vehicle file library to obtain complete vehicle information, so that license plate shielding traceability identification can be performed in combination with multiple vehicle features, and the accuracy of license plate shielding traceability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a method and device for tracing an obstructed license plate based on vehicle multi-feature matching. Background Art

[0003] License plate occlusion traceability technology has made significant progress in the past few years, but there are still some challenges and defects. The existing license plate occlusion traceability technology mainly locates the license plate, converts the image information into text information through optical character recognition technology, and matches the recognized license plate information with the data in the database to trace the complete information of the occluded license plate.

[0004] However, this method is difficult to locate the license plate. Traditional optical recognition technology does not work well when dealing with severe occlusion, with large recognition errors. It also relies too much on a single vehicle feature for matching and lacks multi-feature fusion, resulting in large recognition limitations and restricted recognition and matching. The accuracy of tracing license plate occlusion in complex environments is not high. Summary of the invention

[0005] In response to the problems in the prior art, the present application provides a method and device for tracing an obstructed license plate based on vehicle multi-feature matching, which can combine multiple vehicle features to perform tracing and identification of obstructed license plates, thereby improving the accuracy of tracing obstructed license plates.

[0006] In order to solve at least one of the above problems, the present application provides the following technical solutions: In a first aspect, the present application provides a method for tracing an obstructed license plate based on vehicle multi-feature matching, comprising: The preset historical image data is input into the preset target detection model, and the corresponding multi-scale feature map is determined through deep separable convolution. The multi-scale feature map is fused and reshaped to determine the corresponding multi-scale reshaped feature map. The corresponding target detection algorithm model is determined according to the multi-scale reshaped feature map.

[0007] Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine the vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Determine whether the obstructed license plate position area feature in the vehicle feature exists, and if so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; The vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence are matched with the vehicle information in a preset vehicle file library to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

[0008] Furthermore, the method of inputting the preset historical image data into the preset target detection model to determine the corresponding multi-scale feature map through depthwise separable convolution, performing fusion operation and reshaping operation on the multi-scale feature map to determine the corresponding multi-scale reshaped feature map, and determining the corresponding target detection algorithm model according to the multi-scale reshaped feature map includes: Determine a corresponding pre-processed image data set according to preset historical image data and preset data processing rules, wherein the pre-processed image data set includes at least one of a vehicle type data set, a vehicle logo type data set, and a blocked license plate position area data set; Input the preprocessed image data set into the backbone network of the preset target detection model, and extract the corresponding multi-scale feature map through depth-separable convolution, wherein the multi-scale feature map includes a first-scale feature map, a second-scale feature map, and a third-scale feature map; The extracted multi-scale feature maps are respectively input into the neck network of the preset target detection model, and the corresponding multi-scale fusion feature maps are determined by a multi-scale feature fusion algorithm, wherein the multi-scale fusion feature maps include a first-scale fusion feature map, a second-scale fusion feature map, and a third-scale fusion feature map; Inputting the multi-scale fusion feature maps into the head network of the preset target detection model respectively, and determining the multi-scale reshaped feature map output by the head network of the preset target detection model according to the convolution operation and the fine-grained algorithm, wherein the multi-scale reshaped feature map includes a first-scale reshaped feature map, a second-scale reshaped feature map, and a third-scale reshaped feature map; The preset target detection model is trained according to the multi-scale reshaped feature map to obtain an optimal loss function, the model parameters of the preset target detection model are updated according to the optimal loss function, and the corresponding target detection algorithm model is determined.

[0009] Furthermore, before the multi-scale fusion feature maps are respectively input into the head network of the preset target detection model, and the multi-scale reshaped feature maps output by the head network of the preset target detection model are determined according to the convolution operation and the fine-grained algorithm, the method includes: Determine a corresponding fine-grained classification model according to a preset fine-grained data set and a preset attention algorithm, wherein the fine-grained classification model includes a backbone network, a neck network, and a head network; The head network parameters of the fine-grained classification model are extracted to replace the head network parameters of the preset target detection model to obtain the replaced head network of the preset target detection model.

[0010] Further, the determining whether the blocked license plate position region feature in the vehicle feature exists, if so, extracting the blocked license plate position region feature and inputting the extracted blocked license plate position region feature into the convolution layer of the preset convolutional recurrent neural network for convolution operation and pooling operation, before determining the corresponding convolution feature map, includes: Acquire a historical occluded license plate vehicle image dataset, perform a data enhancement operation on an image sequence in the occluded license plate vehicle image dataset, and obtain an enhanced license plate number dataset, wherein the data enhancement operation includes at least one of random flipping, rotation, scaling, and cropping; Performing a data set division operation on the license plate number data set according to a preset data set division ratio to determine a corresponding license plate number training set and a license plate number test set; The convolutional recurrent neural network is trained according to the license plate number training set and the license plate number test set to determine the corresponding preset convolutional recurrent neural network.

[0011] Further, the determining whether the blocked license plate position area feature in the vehicle feature exists, and if so, extracting the blocked license plate position area feature and inputting the extracted blocked license plate position area feature into the convolution layer of a preset convolutional recurrent neural network for convolution operation and pooling operation, and determining the corresponding convolution feature map, including: Determine whether the obstructed license plate position area feature in the vehicle feature exists, and if so, extract the obstructed license plate position area feature; Determine a corresponding obstructed license plate position area map according to the obstructed license plate position area features, preset feature processing rules, and preset size adjustment rules; The blocked license plate position area map is input into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations to determine a corresponding convolution feature map.

[0012] Furthermore, the obtained convolution feature map is reshaped and input into the recurrent layer of the convolutional recurrent neural network to determine the corresponding feature sequence probability distribution, including: Flattening the obtained convolution feature map to obtain an adaptive convolution feature map; The adaptive convolution feature map is input into a bidirectional long short-term memory network for sequence capture operation to determine the corresponding feature sequence probability distribution.

[0013] Furthermore, the step of inputting the obtained probability distribution of the feature sequence into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence includes: Probabilistically decoding the obtained probability distribution of the feature sequence by using a Viterbi algorithm to determine the decoded feature sequence with the highest probability; Determine the corresponding optimal transcription layer of the convolutional recurrent neural network according to the highest probability feature sequence and the feature sequence probability distribution; The obtained probability distribution of the feature sequence is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence.

[0014] Furthermore, the matching of the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle database includes: The vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence are matched with the vehicle information in the preset vehicle file library through the nearest neighbor search algorithm to obtain the corresponding best matching information; A decision support judgment operation is performed based on the best matching information, the vehicle type characteristics, the vehicle logo type characteristics and the continuous license plate number sequence to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

[0015] In a second aspect, the present application provides a device for tracing a blocked license plate based on vehicle multi-feature matching, comprising: The target detection model determination module is used to input the preset historical image data into the preset target detection model to determine the corresponding multi-scale feature map through deep separable convolution, perform fusion operations and reshaping operations on the multi-scale feature map, determine the corresponding multi-scale reshaped feature map, and determine the corresponding target detection algorithm model according to the multi-scale reshaped feature map.

[0016] A feature extraction module, used to obtain image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine the vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; An obstructed license plate recognition module is used to determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, the obstructed license plate position area feature is extracted and the extracted obstructed license plate position area feature is input into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations, and the corresponding convolution feature map is determined. The obtained convolution feature map is reshaped and input into the recurrent layer of the convolutional recurrent neural network to determine the corresponding feature sequence probability distribution, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; The information matching module is used to match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in the preset vehicle file library to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

[0017] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for tracing an obscured license plate based on vehicle multi-feature matching are implemented.

[0018] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for tracing an obscured license plate based on vehicle multi-feature matching.

[0019] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the method for tracing the obscured license plate based on vehicle multi-feature matching.

[0020] It can be seen from the above technical scheme that the present application provides a method and device for tracing the obscured license plate based on multi-feature matching of vehicles, by inputting preset historical image data into a preset target detection model to determine the corresponding target detection algorithm model; obtaining image data of the vehicle with the obscured license plate and inputting it into the target detection algorithm model, determining the vehicle features output by the algorithm model, and judging whether the obscured license plate position area features in the vehicle features exist. If so, extracting the obscured license plate position area features and inputting them into the convolutional layer of a preset convolutional recurrent neural network, and inputting the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; matching the vehicle type features, vehicle logo type features and continuous license plate number sequences with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby being able to combine multiple vehicle features for license plate occlusion tracing and identification, thereby improving the accuracy of license plate occlusion tracing. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 This is one of the flow charts of the method for tracing the obscured license plate based on vehicle multi-feature matching in the embodiment of the present application; Figure 2 This is a second flow chart of a method for tracing the source of an obscured license plate based on vehicle multi-feature matching in an embodiment of the present application; Figure 3 This is a third flow chart of a method for tracing the source of an obscured license plate based on vehicle multi-feature matching in an embodiment of the present application; Figure 4 This is a fourth flow chart of a method for tracing the source of an obscured license plate based on vehicle multi-feature matching in an embodiment of the present application; Figure 5 This is a fifth flow chart of a method for tracing the source of an obscured license plate based on vehicle multi-feature matching in an embodiment of the present application; Figure 6 This is the sixth flow chart of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching in the embodiment of the present application; Figure 7 This is the seventh flow chart of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching in the embodiment of the present application; Figure 8 This is the eighth flow chart of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching in the embodiment of the present application; Fig. 9This is a structural diagram of a device for tracing the source of an obscured license plate based on vehicle multi-feature matching in an embodiment of the present application; Fig.10 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0024] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0025] Considering the difficulty of locating license plates in the prior art, the traditional optical recognition technology is not effective when dealing with severe occlusion, with large recognition errors, and is too dependent on a single vehicle feature for matching, lacking multi-feature fusion, resulting in large recognition limitations, limited recognition matching, and low accuracy of license plate occlusion tracing in complex environments. The present application provides a method and device for tracing the source of an occluded license plate based on multi-feature matching of vehicles, by inputting preset historical image data into a preset target detection model to determine the corresponding target detection algorithm model; obtaining image data of the occluded license plate vehicle and inputting it into the target detection algorithm model, determining the vehicle features output by the algorithm model, and judging whether the occluded license plate position area feature in the vehicle feature exists, if so, extracting the occluded license plate position area feature and inputting it into the convolution layer of the preset convolutional recurrent neural network, and inputting the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; matching the vehicle type feature, the logo type feature, and the continuous license plate number sequence with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby being able to combine multiple vehicle features for license plate occlusion tracing recognition and improve the accuracy of license plate occlusion tracing.

[0026] In order to effectively combine multiple vehicle features to perform license plate occlusion tracing and identification, and improve the accuracy of license plate occlusion tracing, the present application provides an embodiment of a tracing method for an occluded license plate based on vehicle multi-feature matching, see Figure 1 The method for tracing the obstructed license plate based on vehicle multi-feature matching specifically includes the following contents: Step S101: inputting preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through depthwise separable convolution, performing fusion operations and reshaping operations on the multi-scale feature map to determine a corresponding multi-scale reshaped feature map, and determining a corresponding target detection algorithm model according to the multi-scale reshaped feature map; Optionally, in the present embodiment, in the process of training a preset target detection model using preset historical image data, multi-scale anchor points are used in data preprocessing, which can be used to generate feature maps of different scales, thereby reducing the amount of computation and the number of parameters of the model through depthwise separable convolution.

[0027] Optionally, in this embodiment, the preset target detection model is a YOLOv5 model, including a backbone network, a neck network and a head network.

[0028] It is understandable that feature maps of different sizes can capture targets of different scales. Feature maps of larger sizes retain more spatial resolution and can therefore provide more detailed information about the target, which is especially important for the detection of small targets.

[0029] Optionally, in this embodiment, the multi-scale feature map is fused and reshaped to determine the corresponding multi-scale reshaped feature map, wherein feature fusion uses FPN (Feature Pyramid Network) technology to achieve top-down and bottom-up information flow. Feature map reshaping involves operations such as transposed convolution, upsampling, and feature concatenation. Through the reshaping operation, feature maps at different levels can be integrated, so that the model can capture local details and global context information of the image at the same time.

[0030] It can be understood that using the multi-scale reshaped feature map as a feature for training the preset target detection model can help the model more accurately detect targets of various sizes and build a target detection algorithm model that can process multi-scale information.

[0031] Step S102: Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Optionally, in this embodiment, image data of a vehicle with an obstructed license plate is obtained and input into a target detection algorithm model to obtain a feature map with vehicle features output by the model. This feature map must undergo feature extraction and feature processing to adapt to the input requirements of the CRNN network.

[0032] Step S103: Determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of the preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; Optionally, in this embodiment, if it is detected that there is an obstructed license plate position area feature in the vehicle features output by the target detection algorithm model, the obstructed license plate position area feature is input into the convolution layer of the CRNN convolutional recurrent neural network.

[0033] It can be understood that the above operation is a combination of two models, which aims to combine multiple features to accurately detect targets to improve the accuracy of target detection, and input the detection results into the CRNN convolutional recurrent neural network for occlusion tracing, which can improve the accuracy of occlusion tracing.

[0034] Optionally, in this embodiment, the CRNN convolutional recurrent neural network mainly includes a convolutional layer, a recurrent layer and a transcription layer, wherein the convolutional layer is responsible for mapping the license plate position area features extracted by the YOLOv5 model into the feature sequence required by the recurrent layer, the recurrent layer is responsible for predicting the label distribution of the character feature sequence, and the transcription layer converts the license plate number character sequence into the final label sequence.

[0035] Step S104: Match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle database.

[0036] Optionally, in this embodiment, the vehicle type features and logo type features of the vehicle with obscured license plates extracted by the YOLOv5 model and the continuous license plate number sequence extracted by the CRNN convolutional recurrent neural network are combined to compare the information in the vehicle file library. This can effectively combine multiple features to trace the occlusion of the license plate and improve the accuracy of tracing the occlusion.

[0037] This example demonstrates how this embodiment can obtain useful features from the image information of the vehicle with the obstructed license plate to trace the obstruction of the vehicle, and fuse multiple features to accurately identify the vehicle information and precisely locate the vehicle.

[0038] From the above description, it can be seen that the obscured license plate tracing method based on vehicle multi-feature matching provided in the embodiment of the present application can determine the corresponding target detection algorithm model by inputting preset historical image data into a preset target detection model; obtaining image data of the vehicle with the obscured license plate and inputting it into the target detection algorithm model, determining the vehicle features output by the algorithm model, and judging whether the obscured license plate position area features in the vehicle features exist. If so, extracting the obscured license plate position area features and inputting them into the convolutional layer of the preset convolutional recurrent neural network, and inputting the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; matching the vehicle type features, vehicle logo type features and continuous license plate number sequences with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby combining multiple vehicle features to perform license plate occlusion tracing and identification, thereby improving the accuracy of license plate occlusion tracing.

[0039] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 2 , and can also include the following: Step S201: determining a corresponding pre-processed image data set according to preset historical image data and preset data processing rules, wherein the pre-processed image data set includes at least one of a vehicle type data set, a vehicle logo type data set, and a blocked license plate position area data set; Optionally, in this embodiment, an example is given to illustrate the type of preprocessed image data set: 1. Vehicle type datasets, such as sedans, SUVs, and trucks.

[0040] 2. Car logo type dataset, for example, Hongqi, Volkswagen, and Honda.

[0041] 3. Occluded license plate location area dataset, for example, a class or license plate.

[0042] Step S202: inputting the preprocessed image data set into the backbone network of the preset target detection model, and extracting the corresponding multi-scale feature map through depth-separable convolution, wherein the multi-scale feature map includes a first scale feature map, a second scale feature map and a third scale feature map; Optionally, in this embodiment, the preprocessed image data set is input into the backbone network of the preset target detection model, and the corresponding multi-scale feature map is extracted by deep separable convolution, wherein the multi-scale feature map includes a first scale feature map, a second scale feature map, and a third scale feature map. If the size of the preprocessed image data set is 640*640*3, the size of 640*640*3 is used as an example: The preprocessed image (image size is 640*640*3) is input into the Backbone network of the YOLOv5 detection network, and combined with depthwise separable convolution, the feature map sizes of 80*80*256, 40*40*512, and 20*20*1024 are output respectively.

[0043] It is understandable that the image needs to be properly preprocessed to adapt to the input requirements of the model, where data preprocessing includes: 1. Normalization: Scale the image pixel values ​​to between 0 and 1, or standardize using the mean and standard deviation of the image.

[0044] 2. Resizing: If the YOLOv5 model requires a fixed input size, the image needs to be resized to that size. This can be achieved through interpolation methods such as bilinear interpolation.

[0045] 3. Color space correction: Sometimes it may be necessary to convert the color space of an image, such as from BGR to RGB.

[0046] 4. Anchor box generation: For the YOLO series models, it is necessary to generate an anchor box based on the image size and the predefined anchor box size.

[0047] Optionally, in this embodiment, depthwise separable convolution is used to reduce the amount of computation and the number of parameters of the model, which includes two consecutive convolution processes: depthwise convolution and pointwise convolution.

[0048] It can be understood that the depth-separable convolution can be used to build a lightweight feature extraction Backbone network.

[0049] Step S203: inputting the extracted multi-scale feature maps into the neck network of the preset target detection model respectively, and determining the corresponding multi-scale fusion feature maps through a multi-scale feature fusion algorithm, wherein the multi-scale fusion feature maps include a first scale fusion feature map, a second scale fusion feature map and a third scale fusion feature map; Optionally, in this embodiment, the extracted multi-scale feature maps are respectively input into the neck network of the preset target detection model, and the corresponding multi-scale fusion feature map is determined by the multi-scale feature fusion algorithm, and the size of 640*640*3 is still used as an example: The Neck structure fuses the 80*80*256, 40*40*512, and 20*20*1024 feature maps from top to bottom and bottom to top, and outputs feature maps with sizes of 80*80*256, 40*40*512, and 20*20*1024, respectively.

[0050] Optionally, in this embodiment, the Neck structure may use feature fusion technologies such as FPN (Feature Pyramid Network) or BiFPN (Bidirectional Feature Pyramid Network) to achieve top-down and bottom-up information flow.

[0051] Optionally, in this embodiment, the Neck structure can also use 1x1 convolution. During the feature fusion process, 1x1 convolution is used to reduce the dimension of the feature map and integrate information between channels.

[0052] It can be understood that the Neck structure generates rich feature representations through multi-scale feature fusion to adapt to object detection of different sizes.

[0053] Step S204: inputting the multi-scale fusion feature map into the head network of the preset target detection model respectively, and determining the multi-scale reshaped feature map output by the head network of the preset target detection model according to the convolution operation and the fine-grained algorithm, wherein the multi-scale reshaped feature map includes a first-scale reshaped feature map, a second-scale reshaped feature map, and a third-scale reshaped feature map; Optionally, in this embodiment, the multi-scale fusion feature map is respectively input into the head network of the preset target detection model, and the multi-scale reshaped feature map output by the head network of the preset target detection model is determined according to the convolution operation and the fine-grained algorithm, and the size of 640*640*3 is still used as an example: The feature maps of the Neck structure output with sizes of 80*80*256, 40*40*512, and 20*20*1024 are used as the input of the Head structure. The Head structure uses three 1*1 convolutions to reshape the feature maps of the Neck structure input into 80*80*3×(5+80), 40*40*3×(5+80), and 20*20*3×(5+80), respectively. 3 represents the number of bounding boxes predicted by each grid unit, 5 represents the coordinates of each bounding box (x, y, w, h, confidence), and 80 represents the number of categories.

[0054] Optionally, in this embodiment, in the Head network, an additional branch is designed for fine-grained classification tasks, which is specifically used to process those categories that are difficult to distinguish. In this branch, additional convolutional layers or fully connected layers can be added, which are optimized for fine-grained features.

[0055] It is understandable that fine-grained classification is a task in deep learning for distinguishing objects of similar categories, usually referring to the identification and classification of objects that are similar in appearance but belong to different categories. This embodiment is intended to classify vehicles with subtle differences, for example, vehicle model recognition involves identifying vehicles of different brands and models, such as distinguishing between sedans and SUVs of different years and styles.

[0056] Step S205: Perform model training on the preset target detection model according to the multi-scale reshaped feature map to obtain an optimal loss function, update the model parameters of the preset target detection model according to the optimal loss function, and determine the corresponding target detection algorithm model.

[0057] It can be understood that by training the target detection model through multi-scale reshaping feature maps, the target detection model can accurately identify the features of vehicles of multiple sizes and with slight appearance differences.

[0058] Through step S205, this embodiment obtains a target detection algorithm model that can accurately detect vehicle type characteristics, vehicle logo type characteristics, and obstructed license plate position area characteristics. The training of this model lays the foundation for subsequent accurate occlusion tracing.

[0059] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 3 , and can also include the following: Step S301: determining a corresponding fine-grained classification model according to a preset fine-grained data set and a preset attention algorithm, wherein the fine-grained classification model includes a backbone network, a neck network, and a head network; Step S302: extracting the head network parameters of the fine-grained classification model to replace the head network parameters of the preset target detection model to obtain the replaced head network of the preset target detection model.

[0060] Optionally, in this embodiment, determining a corresponding fine-grained classification model according to a preset fine-grained data set and a preset attention algorithm includes: First, establish a well-labeled fine-grained dataset that contains samples of each category that needs to be classified. Then use the backbone network of a deep learning model (such as CNN) to extract image features. These features should be able to capture subtle differences between different categories. Add an attention mechanism to the deep learning model to enhance the model's ability to recognize key parts. For example, vehicles of the same brand and type are usually distinguished by slight differences in the position of the front of the vehicle. In this case, the attention mechanism focuses on the front of the vehicle.

[0061] Secondly, use data augmentation techniques such as rotation, scaling, cropping, color transformation, etc. to increase the generalization ability of the model, and then use specific loss functions such as contrastive loss or triplet loss to encourage the model to learn the features needed to distinguish different categories.

[0062] Finally, in the head network, an additional branch is designed for the fine-grained classification task. This branch is specifically designed to handle those difficult-to-distinguish categories. In this branch, additional convolutional layers or fully connected layers can be added, which are optimized for fine-grained features. The fine-grained classification features are output by the head network of the deep learning model.

[0063] It can be understood that through the introduction of the above-mentioned fine-grained dataset and attention mechanism, a fine-grained classification model can be constructed that can recognize and distinguish multiple similar types of vehicles.

[0064] Optionally, in this embodiment, the head network parameters of the fine-grained classification model are extracted to replace the head network parameters of the preset target detection model to obtain the replaced head network of the preset target detection model. Specifically, the original head network part of the preset target detection model is removed and replaced with the head network of the newly designed fine-grained classification model.

[0065] Through step S302, this embodiment realizes the separate training of a fine-grained classification model and extracts the fine-grained classification head network to replace the target detection model head network, thereby adding fine-grained classification to the target detection model, which can accurately identify the slight differences between different vehicles, increase recognition accuracy, and lay a solid foundation for the subsequent fusion of multiple features for vehicle tracing.

[0066] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 4 , and can also include the following: Step S401: obtaining a historical vehicle image dataset with blocked license plates, performing a data enhancement operation on an image sequence in the vehicle image dataset with blocked license plates to obtain an enhanced license plate number dataset, wherein the data enhancement operation includes at least one of random flipping, rotation, scaling, and cropping; Step S402: performing a data set division operation on the license plate number data set according to a preset data set division ratio to determine a corresponding license plate number training set and a license plate number test set; Step S403: training a convolutional recurrent neural network according to the license plate number training set and the license plate number test set to determine a corresponding preset convolutional recurrent neural network.

[0067] Optionally, in this embodiment, obtaining a historical vehicle image dataset with blocked license plates specifically includes: Based on the historical occluded license plate vehicle image data, the category label file dataset corresponding to the license plate number characters in the CRNN convolutional recurrent neural network is generated. Among them, the first character of the license plate is a Chinese character, with a total of 31, the second character is 24 capital letters without the two capital letters "O" and "I", and the remaining 5 characters are in the form of 24 capital letters + 10 Arabic numerals, plus the blank character required for character alignment in the CRNN network (placed at the 65th position), a total of 66 characters.

[0068] Optionally, in this embodiment, the license plate number data set is divided into a data set according to a preset data set division ratio to determine the corresponding license plate number training set and license plate number test set, wherein the preset data set division ratio is preferably 8:2 (training set: test set).

[0069] It is worth noting that the preset data set division ratio may be other ratios such as 7:3 (training set: test set), which does not affect the implementation of the embodiment of the present invention.

[0070] Through step S403, this embodiment successfully trains a CRNN convolutional recurrent neural network that can perform continuous license plate number prediction for obscured license plates, laying a solid foundation for subsequent license plate tracing of vehicles with obscured license plates.

[0071] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 5 , and can also include the following: Step S501: determining whether the obstructed license plate position region feature exists in the vehicle feature, and if so, extracting the obstructed license plate position region feature; Step S502: determining a corresponding obstructed license plate position area map according to the obstructed license plate position area feature, preset feature processing rules and preset size adjustment rules; Step S503: Input the blocked license plate position area map into the convolution layer of a preset convolutional recurrent neural network to perform convolution and pooling operations to determine a corresponding convolution feature map.

[0072] Optionally, in this embodiment, if the vehicle feature category located and identified by the YOLOv5 detection algorithm is the blocked license plate position area, the features output by this part of the Head structure are input into the CRNN convolutional recurrent neural network to recognize the license plate number characters.

[0073] Optionally, in this embodiment, before the license plate number characters are input into the CRNN convolutional recurrent neural network for recognition, the license plate area is cropped from the feature map according to the bounding box of the occluded license plate position area predicted by YOLOv5, and the cropped license plate area is adjusted to the input size expected by the CRNN.

[0074] Optionally, in this embodiment, the blocked license plate position area map is input into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations to determine the corresponding convolution feature map, wherein, specifically, the convolution operation is performed in the convolution layer, and feature extraction is performed through three 3*3 convolutions, and each convolution layer is usually followed by a ReLU activation function. The pooling operation uses two MaxPooling layers between the convolution layers, usually a 2*2 pooling kernel with a step size of 2, which is used to reduce the spatial size of the feature map while increasing the receptive field.

[0075] For example, the license plate position area feature 40*40*512 extracted by the YOLOv5 detection algorithm is input into the convolutional layer of the CRNN convolutional recurrent neural network, and the output feature is a feature map of 20*1*512.

[0076] It is understandable that after convolution and pooling operations, the spatial size of the feature map is reduced, but the number of channels remains unchanged. Reducing the spatial size of the feature map can significantly reduce the amount of computation in subsequent layers. As the network level deepens, the model can extract higher-level abstract features, which helps in complex image recognition and classification tasks. In this example, the output feature map size becomes 20*1*512, where 20 and 1 represent the height and width of the feature map, respectively, and 512 is the number of channels.

[0077] Through step S503, this embodiment successfully determines the output of the convolutional layer in the CRNN convolutional recurrent neural network, extracts abstract features at a higher level through convolution and pooling operations while reducing the spatial size of the feature map, laying the foundation for subsequently reducing the amount of computation of the recurrent layer.

[0078] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 6 , and can also include the following: Step S601: flattening the obtained convolution feature map to obtain an adaptive convolution feature map; Step S602: input the adaptive convolution feature map into a bidirectional long short-term memory network to perform a sequence capture operation to determine a corresponding feature sequence probability distribution.

[0079] Optionally, in this embodiment, the flattening operation is specifically to reshape the 20*1*512 feature map output by the convolutional layer into a 20*512 two-dimensional sequence to adapt to the input format of the recurrent layer.

[0080] Optionally, in this embodiment, 20*512 sequence data is input into a bidirectional long short-term memory network (BiLSTM), and the BiLSTM layer outputs a 66*20 sequence, where 66 represents the total number of possible character categories (including numbers, letters, Chinese characters, and space characters), and 20 represents the sequence length, that is, the number of time steps processed by the BiLSTM.

[0081] It can be understood that the BiLSTM layer can capture the temporal dependencies in the sequence.

[0082] Through step S602, this embodiment successfully uses the recurrent layer in the CRNN convolutional recurrent neural network to capture the sequence characteristics of the license plate number, laying the foundation for the subsequent transcription layer to decode the time series.

[0083] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 7 , and can also include the following: Step S701: Probabilistically decoding the obtained probability distribution of the feature sequence by using the Viterbi algorithm to determine the decoded feature sequence with the highest probability; Step S702: determining the corresponding optimal transcription layer of the convolutional recurrent neural network according to the highest probability feature sequence and the feature sequence probability distribution; Step S703: input the obtained probability distribution of the feature sequence into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence.

[0084] Optionally, in this embodiment, the Viterbi algorithm is a dynamic programming algorithm. When combined with the CTC (Connectionist Temporal Classification) loss for transcription layer optimization, the Viterbi algorithm is used to find the most likely label sequence during training, and to decode the probability matrix output by the network into a final character sequence during inference.

[0085] Optionally, in this embodiment, the obtained probability distribution of the feature sequence is probability decoded by the Viterbi algorithm to determine the highest probability feature sequence after decoding, wherein the optimal path probability is obtained by the Viterbi algorithm, the end state with the highest probability is found, and backtracking is performed to determine the most likely path of the entire sequence.

[0086] Optionally, in this embodiment, the corresponding optimal transcription layer of the convolutional recurrent neural network is determined according to the highest probability feature sequence and the feature sequence probability distribution, wherein the most likely label sequence obtained by decoding using the Viterbi algorithm is used as the "true output" of the network, and the CTC loss is calculated together with the original feature sequence, and the optimized transcription layer is updated by the back propagation algorithm.

[0087] Optionally, in this embodiment, the feature sequence probability distribution output by the recurrent layer is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence, wherein CTC is used in the transcription layer to allow the sequence length between the model output and the true label to be different and to handle variable-length output.

[0088] It can be understood that through these optimization operations, the CRNN model is able to handle sequence recognition tasks in images more effectively, especially when facing occluded, blurred, and irregular text.

[0089] Through step S703, this embodiment successfully applies the CTC loss function to train the model so that it can process license plate numbers of any length, and uses the Viterbi algorithm to obtain the final license plate number sequence from the probability matrix output by the model.

[0090] In one embodiment of the method for tracing the source of an obscured license plate based on vehicle multi-feature matching of the present application, see Figure 8 , and can also include the following: Step S801: matching the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in the preset vehicle file database through a nearest neighbor search algorithm to obtain the corresponding best matching information; Step S802: Perform decision support and judgment operations based on the best matching information, the vehicle type characteristics, the vehicle logo type characteristics and the continuous license plate number sequence to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

[0091] Optionally, in this embodiment, nearest neighbor search (NNS) is an algorithm for finding the data point closest to a given query point in a data set.

[0092] It can be understood that through the vehicle type features and logo type features output by the target detection model and the continuous license plate number sequence output by the convolutional recurrent neural network model, a most similar result can be obtained in the vehicle file library through the nearest neighbor search.

[0093] Optionally, in this embodiment, the decision support judgment operation can compare the most similar result with different types of features (vehicle type, vehicle logo, license plate number) to make a comprehensive judgment.

[0094] Through step S802, this embodiment successfully constructs a comprehensive system that can perform multi-feature recognition of vehicles. When a license plate is identified to be obscured, the number of the obscured license plate can be accurately traced, and a comprehensive comparison can be performed in combination with the vehicle characteristics to obtain the vehicle information of the obscured license plate.

[0095] In order to effectively combine multiple vehicle features to perform license plate occlusion tracing and identification, and improve the accuracy of license plate occlusion tracing, the present application provides an embodiment of a vehicle multi-feature matching-based occluded license plate tracing device for realizing all or part of the content of the vehicle multi-feature matching-based occluded license plate tracing method, see Fig. 9 The device for tracing the source of blocked license plates based on vehicle multi-feature matching specifically includes the following contents: The target detection model determination module 10 is used to input the preset historical image data into the preset target detection model to determine the corresponding multi-scale feature map through deep separable convolution, perform fusion operations and reshaping operations on the multi-scale feature map, determine the corresponding multi-scale reshaped feature map, and determine the corresponding target detection algorithm model according to the multi-scale reshaped feature map.

[0096] The feature extraction module 20 is used to obtain image data of the vehicle with the blocked license plate, input the image data into the target detection algorithm model, and determine the vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and blocked license plate position area features; The obstructed license plate recognition module 30 is used to determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, the obstructed license plate position area feature is extracted and the extracted obstructed license plate position area feature is input into the convolution layer of the preset convolutional recurrent neural network for convolution operation and pooling operation, and the corresponding convolution feature map is determined. The obtained convolution feature map is reshaped and input into the recurrent layer of the convolutional recurrent neural network to determine the corresponding feature sequence probability distribution, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; The information matching module 40 is used to match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in the preset vehicle file library to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

[0097] From the above description, it can be seen that the obscured license plate tracing device based on vehicle multi-feature matching provided in the embodiment of the present application can determine the corresponding target detection algorithm model by inputting preset historical image data into a preset target detection model; obtaining image data of the vehicle with the obscured license plate and inputting it into the target detection algorithm model, determining the vehicle features output by the algorithm model, and judging whether the obscured license plate position area features in the vehicle features exist. If so, extracting the obscured license plate position area features and inputting them into the convolutional layer of the preset convolutional recurrent neural network, and inputting the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; matching the vehicle type features, vehicle logo type features and continuous license plate number sequences with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby combining multiple vehicle features to perform license plate obstruction tracing and identification, thereby improving the accuracy of license plate obstruction tracing.

[0098] From the hardware level, in order to effectively combine multiple vehicle features to perform license plate occlusion tracing and identification, and improve the accuracy of license plate occlusion tracing, the present application provides an embodiment of an electronic device for implementing all or part of the content of the occluded license plate tracing method based on vehicle multi-feature matching, and the electronic device specifically includes the following content: Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the obstructed license plate tracing method based on vehicle multi-feature matching and related devices such as core business systems, user terminals and related databases; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the obstructed license plate tracing method based on vehicle multi-feature matching and the embodiment of the obstructed license plate tracing method based on vehicle multi-feature matching in the embodiment, and the contents thereof are incorporated herein, and the repeated parts are not repeated.

[0099] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.

[0100] In practical applications, part of the method for tracing the obscured license plate based on vehicle multi-feature matching can be executed on the electronic device side as described above, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.

[0101] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0102] Fig.10 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.10 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.10 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0103] In one embodiment, the function of the obstructed license plate tracing method based on vehicle multi-feature matching can be integrated into the central processing unit 9100. The central processing unit 9100 can be configured to perform the following control: Step S101: inputting preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through depthwise separable convolution, performing fusion operations and reshaping operations on the multi-scale feature map to determine a corresponding multi-scale reshaped feature map, and determining a corresponding target detection algorithm model according to the multi-scale reshaped feature map; Step S102: Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Step S103: Determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of the preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; Step S104: Match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle database.

[0104] From the above description, it can be seen that the electronic device provided in the embodiment of the present application determines the corresponding target detection algorithm model by inputting preset historical image data into a preset target detection model; obtains image data of a vehicle with an obstructed license plate and inputs it into the target detection algorithm model, determines the vehicle features output by the algorithm model, and determines whether the obstructed license plate position area features in the vehicle features exist. If so, the obstructed license plate position area features are extracted and input into the convolution layer of the preset convolutional recurrent neural network, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; the vehicle type features, vehicle logo type features and continuous license plate number sequences are matched with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby being able to combine multiple vehicle features to perform license plate occlusion traceability and identification, thereby improving the accuracy of license plate occlusion traceability.

[0105] In another embodiment, the obstructed license plate tracing method based on vehicle multi-feature matching can be configured separately from the central processing unit 9100. For example, the obstructed license plate tracing method based on vehicle multi-feature matching can be configured as a chip connected to the central processing unit 9100, and the function of the obstructed license plate tracing method based on vehicle multi-feature matching can be realized through the control of the central processing unit.

[0106] like Fig.10 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig.10 In addition, the electronic device 9600 may also include Fig.10 For components not shown, reference may be made to the prior art.

[0107] like Fig.10As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.

[0108] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.

[0109] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.

[0110] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.

[0111] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0112] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0113] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.

[0114] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the method for tracing the obstructed license plate based on vehicle multi-feature matching, where the execution subject is a server or a client in the above embodiments. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps in the method for tracing the obstructed license plate based on vehicle multi-feature matching, where the execution subject is a server or a client in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented: Step S101: inputting preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through depthwise separable convolution, performing fusion operations and reshaping operations on the multi-scale feature map to determine a corresponding multi-scale reshaped feature map, and determining a corresponding target detection algorithm model according to the multi-scale reshaped feature map; Step S102: Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Step S103: Determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of the preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; Step S104: Match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle database.

[0115] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application determines the corresponding target detection algorithm model by inputting preset historical image data into a preset target detection model; obtains image data of a vehicle with an obstructed license plate and inputs it into the target detection algorithm model, determines the vehicle features output by the algorithm model, and determines whether the obstructed license plate position area features in the vehicle features exist. If so, the obstructed license plate position area features are extracted and input into the convolution layer of the preset convolutional recurrent neural network, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; the vehicle type features, vehicle logo type features and continuous license plate number sequences are matched with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby being able to combine multiple vehicle features to perform license plate occlusion traceability and identification, thereby improving the accuracy of license plate occlusion traceability.

[0116] The embodiments of the present application also provide a computer program product capable of implementing all the steps in the method for tracing the obstructed license plate based on vehicle multi-feature matching, where the execution subject is a server or a client in the above embodiments. When the computer program / instruction is executed by a processor, the steps of the method for tracing the obstructed license plate based on vehicle multi-feature matching are implemented. For example, the computer program / instruction implements the following steps: Step S101: inputting preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through depthwise separable convolution, performing fusion operations and reshaping operations on the multi-scale feature map to determine a corresponding multi-scale reshaped feature map, and determining a corresponding target detection algorithm model according to the multi-scale reshaped feature map; Step S102: Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Step S103: Determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of the preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; Step S104: Match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle database.

[0117] From the above description, it can be seen that the computer program product provided in the embodiment of the present application determines the corresponding target detection algorithm model by inputting preset historical image data into a preset target detection model; obtains image data of a vehicle with an obstructed license plate and inputs it into the target detection algorithm model, determines the vehicle features output by the algorithm model, and determines whether the obstructed license plate position area features in the vehicle features exist. If so, the obstructed license plate position area features are extracted and input into the convolution layer of the preset convolutional recurrent neural network, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; the vehicle type features, vehicle logo type features and continuous license plate number sequences are matched with the vehicle information in the preset vehicle file library to obtain complete vehicle information, thereby being able to combine multiple vehicle features to perform license plate occlusion traceability and identification, thereby improving the accuracy of license plate occlusion traceability.

[0118] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0119] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0120] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0121] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0122] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for tracing the source of obscured license plates based on vehicle multi-feature matching, characterized in that: The method comprises: Input the preset historical image data into the preset target detection model to determine the corresponding multi-scale feature map through depth-separable convolution, perform fusion operation and reshaping operation on the multi-scale feature map to determine the corresponding multi-scale reshaped feature map, and determine the corresponding target detection algorithm model according to the multi-scale reshaped feature map; Acquire image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine the vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; Determine whether the obstructed license plate position area feature in the vehicle feature exists, and if so, extract the obstructed license plate position area feature and input the extracted obstructed license plate position area feature into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations, determine the corresponding convolution feature map, reshape the obtained convolution feature map and input it into the recurrent layer of the convolutional recurrent neural network, determine the corresponding feature sequence probability distribution, and input the obtained feature sequence probability distribution into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; The vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence are matched with the vehicle information in a preset vehicle file library to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

2. The method for tracing the obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The method of inputting preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through a depth-separable convolution, performing a fusion operation and a reshaping operation on the multi-scale feature map to determine a corresponding multi-scale reshaped feature map, and determining a corresponding target detection algorithm model according to the multi-scale reshaped feature map includes: Determine a corresponding pre-processed image data set according to preset historical image data and preset data processing rules, wherein the pre-processed image data set includes at least one of a vehicle type data set, a vehicle logo type data set, and a blocked license plate position area data set; Input the preprocessed image data set into the backbone network of the preset target detection model, and extract the corresponding multi-scale feature map through depth-separable convolution, wherein the multi-scale feature map includes a first-scale feature map, a second-scale feature map, and a third-scale feature map; The extracted multi-scale feature maps are respectively input into the neck network of the preset target detection model, and the corresponding multi-scale fusion feature maps are determined by a multi-scale feature fusion algorithm, wherein the multi-scale fusion feature maps include a first-scale fusion feature map, a second-scale fusion feature map, and a third-scale fusion feature map; Inputting the multi-scale fusion feature maps into the head network of the preset target detection model respectively, and determining the multi-scale reshaped feature map output by the head network of the preset target detection model according to the convolution operation and the fine-grained algorithm, wherein the multi-scale reshaped feature map includes a first-scale reshaped feature map, a second-scale reshaped feature map, and a third-scale reshaped feature map; The preset target detection model is trained according to the multi-scale reshaped feature map to obtain an optimal loss function, the model parameters of the preset target detection model are updated according to the optimal loss function, and the corresponding target detection algorithm model is determined.

3. The method for tracing the source of obscured license plates based on vehicle multi-feature matching according to claim 2 is characterized in that: Before the multi-scale fusion feature maps are respectively input into the head network of the preset target detection model, and the multi-scale reshaped feature maps output by the head network of the preset target detection model are determined according to the convolution operation and the fine-grained algorithm, the method includes: Determine a corresponding fine-grained classification model according to a preset fine-grained data set and a preset attention algorithm, wherein the fine-grained classification model includes a backbone network, a neck network, and a head network; The head network parameters of the fine-grained classification model are extracted to replace the head network parameters of the preset target detection model to obtain the replaced head network of the preset target detection model.

4. The method for tracing the obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The determining whether the obstructed license plate position region feature in the vehicle feature exists, and if so, extracting the obstructed license plate position region feature and inputting the extracted obstructed license plate position region feature into the convolution layer of the preset convolutional recurrent neural network for convolution operation and pooling operation, before determining the corresponding convolution feature map, includes: Acquire a historical occluded license plate vehicle image dataset, perform a data enhancement operation on an image sequence in the occluded license plate vehicle image dataset, and obtain an enhanced license plate number dataset, wherein the data enhancement operation includes at least one of random flipping, rotation, scaling, and cropping; Performing a data set division operation on the license plate number data set according to a preset data set division ratio to determine a corresponding license plate number training set and a license plate number test set; The convolutional recurrent neural network is trained according to the license plate number training set and the license plate number test set to determine the corresponding preset convolutional recurrent neural network.

5. The method for tracing the source of an obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The determining whether the obstructed license plate position region feature in the vehicle feature exists, and if so, extracting the obstructed license plate position region feature and inputting the extracted obstructed license plate position region feature into a convolutional layer of a preset convolutional recurrent neural network for convolution and pooling operations, and determining a corresponding convolution feature map, including: Determine whether the obstructed license plate position region feature exists in the vehicle feature, and if so, extract the obstructed license plate position region feature; Determine a corresponding obstructed license plate position area map according to the obstructed license plate position area features, preset feature processing rules, and preset size adjustment rules; The blocked license plate position area map is input into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations to determine a corresponding convolution feature map.

6. The method for tracing the obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The obtained convolution feature map is reshaped and input into the recurrent layer of the convolutional recurrent neural network to determine the corresponding feature sequence probability distribution, including: Flattening the obtained convolution feature map to obtain an adaptive convolution feature map; The adaptive convolution feature map is input into a bidirectional long short-term memory network for sequence capture operation to determine the corresponding feature sequence probability distribution.

7. The method for tracing the source of an obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The step of inputting the obtained probability distribution of the feature sequence into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence comprises: Probabilistically decoding the obtained probability distribution of the feature sequence by using a Viterbi algorithm to determine the decoded feature sequence with the highest probability; Determine the corresponding optimal transcription layer of the convolutional recurrent neural network according to the highest probability feature sequence and the feature sequence probability distribution; The obtained probability distribution of the feature sequence is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence.

8. The method for tracing the obscured license plate based on vehicle multi-feature matching according to claim 1 is characterized in that: The matching of the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in a preset vehicle database to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle database includes: The vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence are matched with the vehicle information in the preset vehicle file library through the nearest neighbor search algorithm to obtain the corresponding best matching information; A decision support judgment operation is performed based on the best matching information, the vehicle type characteristics, the vehicle logo type characteristics and the continuous license plate number sequence to obtain complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

9. A device for tracing the source of an obstructed license plate based on vehicle multi-feature matching, characterized in that: The device comprises: A target detection model determination module is used to input preset historical image data into a preset target detection model to determine a corresponding multi-scale feature map through a depth-separable convolution, perform a fusion operation and a reshaping operation on the multi-scale feature map, determine a corresponding multi-scale reshaped feature map, and determine a corresponding target detection algorithm model according to the multi-scale reshaped feature map; A feature extraction module, used to obtain image data of a vehicle with an obstructed license plate, input the image data into the target detection algorithm model, and determine the vehicle features output by the algorithm model, wherein the vehicle features include at least one of vehicle type features, vehicle logo type features, and obstructed license plate position area features; An obstructed license plate recognition module is used to determine whether the obstructed license plate position area feature in the vehicle feature exists. If so, the obstructed license plate position area feature is extracted and the extracted obstructed license plate position area feature is input into the convolution layer of a preset convolutional recurrent neural network for convolution and pooling operations, and the corresponding convolution feature map is determined. The obtained convolution feature map is reshaped and input into the recurrent layer of the convolutional recurrent neural network to determine the corresponding feature sequence probability distribution, and the obtained feature sequence probability distribution is input into the transcription layer of the convolutional recurrent neural network to determine the corresponding continuous license plate number sequence; The information matching module is used to match the vehicle type feature, the vehicle logo type feature and the continuous license plate number sequence with the vehicle information in the preset vehicle file library to obtain the complete vehicle information of the obscured license plate vehicle in the preset vehicle file library.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for tracing the obscured license plate based on vehicle multi-feature matching as described in any one of claims 1 to 7 are implemented.