CN113408364B - Temporary license plate recognition method, system, device and storage medium - Google Patents

Temporary license plate recognition method, system, device and storage medium Download PDF

Info

Publication number
CN113408364B
CN113408364B CN202110575649.6A CN202110575649A CN113408364B CN 113408364 B CN113408364 B CN 113408364B CN 202110575649 A CN202110575649 A CN 202110575649A CN 113408364 B CN113408364 B CN 113408364B
Authority
CN
China
Prior art keywords
license plate
prediction frame
temporary
vehicle
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110575649.6A
Other languages
Chinese (zh)
Other versions
CN113408364A (en
Inventor
唐健
吴喆
王浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jieshun Science and Technology Industry Co Ltd
Original Assignee
Shenzhen Jieshun Science and Technology Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jieshun Science and Technology Industry Co Ltd filed Critical Shenzhen Jieshun Science and Technology Industry Co Ltd
Priority to CN202110575649.6A priority Critical patent/CN113408364B/en
Publication of CN113408364A publication Critical patent/CN113408364A/en
Application granted granted Critical
Publication of CN113408364B publication Critical patent/CN113408364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24133Distances to prototypes
    • G06F18/24137Distances to cluster centroïds
    • G06F18/2414Smoothing the distance, e.g. radial basis function networks [RBFN]

Abstract

The application discloses a temporary license plate recognition method, a system, a device and a storage medium, which are used for recognizing a temporary license plate and improving the robustness of temporary license plate recognition. The method comprises the following steps: acquiring an image to be detected of a target vehicle; inputting an image to be detected into a target detection model to obtain a target detection result, wherein the target detection model is used for detecting and classifying a license plate and a vehicle head in the input image and outputting a detection classification result, the detection classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is the detection classification result of the license plate in the input image, and the second prediction frame is the detection classification result of the vehicle head in the input image; judging whether the target detection result only contains a first prediction frame; if the target detection result does not contain the first prediction frame, judging whether the first prediction frame is positioned in the second prediction frame; and if the first prediction frame is determined to be positioned outside the second prediction frame, determining that the license plate of the target vehicle is a temporary license plate.

Description

Temporary license plate recognition method, system, device and storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a method, a system, an apparatus, and a storage medium for recognizing a temporary license plate.
Background
In recent years, the unattended solution of the parking lot based on the license plate recognition technology is widely applied to the market, the unattended solution not only improves the passing efficiency of the parking lot, but also saves a great deal of personnel expenditure for a property management party, and the unattended solution becomes a hotspot and future development trend of the parking lot management scheme.
In the practical application of the unattended solution, the situation that a vehicle with a temporary license plate is hung passes can exist. The temporary license plate is a paper printed license plate and is usually pasted at one corner of the front windshield and the rear windshield of the vehicle on the premise of not shielding the sight of a driver. In the prior art, vehicles which are not hung with normal license plates but have temporary license plates posted cannot be accurately identified in an unattended parking lot, so that the vehicles cannot normally drive in and out of a parking lot, traffic jam risks are caused, and parking experience of vehicle owners is influenced.
Disclosure of Invention
The application provides a temporary license plate recognition method, a system, a device and a storage medium, which are used for recognizing temporary license plates and improving the robustness of temporary license plate recognition.
The application provides a temporary license plate recognition method in a first aspect, which includes:
when a target vehicle is detected to enter a preset area, acquiring an image to be detected of the target vehicle;
inputting the image to be detected into a target detection model to obtain a target detection result, wherein the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection classification result, the detection classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is the detection classification result of the license plate in the input image, and the second prediction frame is the detection classification result of the vehicle head in the input image;
judging whether the target detection result only contains the first prediction frame;
if the target detection result is determined to not only contain the first prediction frame, judging whether the first prediction frame is located in the second prediction frame;
and if the first prediction frame is determined to be positioned outside the second prediction frame, determining the license plate of the target vehicle as a temporary license plate.
Optionally, after determining whether the target detection result only includes the first prediction block, the method further includes:
and if the target detection result only contains the first prediction frame, determining that the license plate of the target vehicle is a temporary license plate.
Optionally, after the determining whether the first prediction box is located within the second prediction box, the method further includes:
if the first prediction frame is located in a second prediction frame, inputting image content in the first prediction frame to a license plate classification model to obtain a license plate classification result, wherein the license plate classification result comprises a normal license plate and a temporary license plate;
and when the license plate classification result is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate.
Optionally, the method further includes:
and when the license plate classification result is a normal license plate, determining that the license plate of the target vehicle is a normal license plate.
Optionally, after determining that the license plate of the vehicle is a temporary license plate, the method further includes:
a no pass event is triggered.
Optionally, after determining that the license plate of the vehicle is a normal license plate, the method further includes:
a clear to pass event is triggered.
A second aspect of the present application provides a temporary license plate recognition system, including:
the device comprises an acquisition unit, a detection unit and a processing unit, wherein the acquisition unit is used for acquiring an image to be detected of a target vehicle when the target vehicle is detected to enter a preset area;
the detection and classification unit is used for inputting the image to be detected into a target detection model to obtain a target detection result, the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection and classification result, the detection and classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is used for detecting and classifying the license plate in the input image, and the second prediction frame is used for detecting and classifying the vehicle head in the input image;
a first judgment unit, configured to judge whether the target detection result only includes the first prediction frame;
a second judgment unit, configured to, when the first judgment unit determines that the target detection result includes the first prediction frame, judge whether the first prediction frame is located within the second prediction frame;
a first determining unit, configured to determine that the license plate of the target vehicle is a temporary license plate when the second determining unit determines that the first prediction frame is located outside the second prediction frame.
Optionally, the first determining unit is further configured to:
and when the first judging unit determines that the target detection result only contains the first prediction frame, determining that the license plate of the target vehicle is a temporary license plate.
Optionally, the system further includes:
the input unit is used for inputting the image content in the first prediction frame into a license plate classification model to obtain a license plate classification result when the second judgment unit determines that the first prediction frame is positioned in a second prediction frame, and the license plate classification result comprises a normal license plate and a temporary license plate;
the first determination unit is further configured to:
and when the license plate classification result is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate.
Optionally, the system further includes:
and the second determining unit is used for determining the license plate of the target vehicle as a normal license plate when the license plate classification result is the normal license plate.
Optionally, the system further includes:
and the first triggering unit is used for triggering a traffic prohibition event when the first determining unit determines that the license plate of the target vehicle is a temporary license plate.
Optionally, the system further includes:
and the second triggering unit is used for triggering a traffic permission event when the second determining unit determines that the license plate of the target vehicle is a normal license plate.
A third aspect of the present application provides a temporary license plate recognition device, the device including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory stores a program, and the processor calls the program to execute the temporary license plate recognition method according to any one of the first aspect and the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium having a program stored thereon, where the program, when executed on a computer, performs the temporary license plate recognition method of any one of the first aspect and the first aspect.
According to the technical scheme, the method has the following advantages:
the image of the target vehicle is shot, the image is input into the trained target detection model, the license plate (first prediction frame) and the vehicle head (second prediction frame) in the image are detected and classified, and whether the license plate is a temporary license plate or not is judged according to the relative positions of the detected license plate (first prediction frame) and the vehicle head (second prediction frame), so that the judgment of the temporary license plate on site is more robust, whether the temporary license plate exists on site or not can be accurately judged, the temporary license plate vehicle can be specially processed aiming at the temporary license plate vehicle in a parking lot, the traffic jam risk is reduced, and the parking experience of a vehicle owner is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a temporary license plate recognition method provided in the present application;
fig. 2 is a schematic flowchart of another embodiment of a temporary license plate recognition method provided in the present application;
FIG. 3 is a schematic structural diagram of an embodiment of a temporary license plate recognition system provided by the present application;
fig. 4 is a schematic structural diagram of another embodiment of a temporary license plate recognition system provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of a temporary license plate recognition device provided by the present application.
Detailed Description
The application provides a temporary license plate recognition method, a system, a device and a storage medium, which are used for recognizing a temporary license plate and improving the robustness of temporary license plate recognition.
It should be noted that the temporary license plate recognition method provided by the application is applied to a parking lot system. For convenience of explanation, the system is taken as an implementation subject in the present application for illustration.
Referring to fig. 1, fig. 1 is a block diagram illustrating an embodiment of a temporary license plate recognition method according to the present disclosure, the method including:
101. when detecting that a target vehicle enters a preset area, acquiring an image to be detected of the target vehicle;
in a parking lot system, an image acquisition device is generally used to acquire an image of a vehicle entering or exiting a parking lot, and then a license plate number of the vehicle is identified by a license plate identification technology, so that subsequent parking lot services are executed according to the license plate number. The license plate recognition technology can stably extract and recognize text characters of a normal license plate, but the temporary license plate is posted inside a vehicle window, due to other reasons such as light refraction, the extraction and recognition of the temporary license plate are unstable, and recognition failure often occurs, so that vehicles with the temporary license plate can not normally drive into or out of a parking lot, and traffic jam risks are caused.
In the application, when the system detects that a target vehicle enters the identification range of the image acquisition device, namely a preset area in the application, the image to be detected of the target vehicle is acquired in real time through the image acquisition device.
102. Inputting the image to be detected into a target detection model to obtain a target detection result, wherein the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection classification result, the detection classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is the detection classification result of the license plate in the input image, and the second prediction frame is the detection classification result of the vehicle head in the input image;
the definition of target detection and classification is that an image is input, and a specific position and a specific category of a target object in the image are detected through an algorithm. Through the target detection and classification algorithm, the specified characteristic objects in the image can be extracted and classified. The target detection algorithm based on the convolutional neural network utilizes the advantages of big data and GPU clusters, utilizes a large number of samples of real scenes to automatically learn through the neural network, and has the characteristics of high discrimination and strong robustness.
According to the method and the device, the vehicle license plate characteristics and the vehicle head characteristics in the image input into the model can be detected and classified through the target detection model obtained through training, specifically, the target detection model outputs the detection classification result of the vehicle license plate through the first prediction frame, and outputs the detection classification result of the vehicle head through the second prediction frame.
The system inputs an acquired image to be detected of a target vehicle into the target detection model, and obtains a target detection result, wherein the target detection result may only include a first prediction frame or a second prediction frame (that is, only a license plate feature or only a vehicle head feature exists in the image to be detected), or may simultaneously include the first prediction frame and the second prediction frame (that is, both the license plate feature and the vehicle head feature exist in the image to be detected).
103. Judging whether the target detection result only contains the first prediction frame, if not, executing step 104;
the system judges whether the target detection result only contains a first prediction frame, namely whether the image to be detected only has the license plate feature, if the license plate feature exists, namely the license plate feature and the vehicle head feature exist at the same time, the step 104 is executed for further judgment.
104. Judging whether the first prediction frame is located in the second prediction frame, if not, executing step 105;
when the system determines that the first prediction frame and the second prediction frame exist in the target detection result at the same time, whether the first prediction frame is located in the second prediction frame is judged, namely when the system determines that the license plate feature and the vehicle head feature exist in the image to be detected at the same time, whether the feature range of the extracted license plate is located in the feature range of the vehicle head is further judged, and if not, the step 105 is executed.
105. And determining the license plate of the target vehicle as a temporary license plate.
And when the system determines that the first prediction frame in the target detection result is not positioned in the second prediction frame, namely when the system determines that the license plate feature range in the image to be detected is not positioned in the vehicle head feature range, determining that the license plate of the target vehicle is a temporary license plate.
According to relevant regulations, vehicles without hanging a normal license plate (e.g., newly purchased vehicles, etc.) need to be affixed with a temporary license plate in order to travel on the road. The temporary license plate is a paper motor vehicle license plate which is granted to motor vehicles to temporarily run on the road, and is also called as a temporary running license plate. Generally, the temporary license plate needs to be pasted on a front window of a vehicle, for example, the temporary license plate can be pasted on a position which does not affect the sight of a driver, such as the lower left corner or the lower right corner of the front window. Therefore, whether the license plate is a temporary license plate can be judged by judging the relative position of the first prediction frame (license plate characteristic) and the second prediction frame (vehicle head characteristic) in the target detection result. Specifically, when a first prediction frame and a second prediction frame exist in the target detection result at the same time, and the first prediction frame is not located in the second prediction frame, the license plate can be determined to be a temporary license plate.
In the embodiment, images of target vehicles are shot and input into a trained target detection model to detect and classify license plates (first prediction frames) and vehicle heads (second prediction frames) in the images, and then whether the license plates are temporary license plates or not is judged according to the detected relative positions of the license plates (first prediction frames) and the vehicle heads (second prediction frames), so that the judgment of the temporary license plates on site is more robust, whether the vehicles with the temporary license plates appear on site or not can be accurately judged, a parking lot can perform special treatment on the vehicles with the temporary license plates, the risk of traffic jam is reduced, and the parking experience of vehicle owners is improved.
Referring to fig. 2, fig. 2 is another embodiment of the temporary license plate recognition method provided in the present application, where the method includes:
201. when detecting that a target vehicle enters a preset area, acquiring an image to be detected of the target vehicle;
202. inputting the image to be detected into a target detection model to obtain a target detection result, wherein the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection classification result, the detection classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is the detection classification result of the license plate in the input image, and the second prediction frame is the detection classification result of the vehicle head in the input image;
in this embodiment, steps 201 to 202 are similar to steps 101 to 102 in the previous embodiment, and are not described again.
203. Judging whether the target detection result only contains the first prediction frame, if not, executing step 204, and if so, directly executing step 206;
the system judges whether the target detection result only contains a first prediction frame, namely whether the image to be detected only has the license plate feature, if the license plate feature exists, namely the license plate feature and the vehicle head feature exist at the same time, the step 204 is executed for further judgment. If the target detection result only contains the first prediction frame, that is, only the license plate features and no vehicle head features exist in the image to be detected, step 206 is directly executed to determine that the license plate of the target vehicle is a temporary license plate.
204. Determining whether the first prediction frame is located within the second prediction frame, if not, directly performing step 206, and if so, performing step 205;
when the system determines that the first prediction frame and the second prediction frame exist in the target detection result at the same time, whether the first prediction frame is located in the second prediction frame is judged, namely when the system determines that the license plate feature and the vehicle head feature exist in the image to be detected at the same time, whether the extracted license plate feature range is located in the vehicle head feature range is further judged, and if not, the step 206 is directly executed.
If the first prediction frame in the target detection result is located in the second prediction frame, it indicates that the license plate feature range is located in the vehicle head feature range, and then step 205 is executed to perform further determination.
205. Inputting the image content in the first prediction frame into a license plate classification model to obtain a license plate classification result;
if the first prediction frame is located in the second prediction frame in the target detection result, it is indicated that the license plate feature is located on the vehicle head feature, and at this time, the license plate may be a normal license plate, or the vehicle owner may stick a temporary license plate on the vehicle head position, so that further judgment is needed: the system inputs the image content in the first prediction frame, namely the license plate characteristics, into the license plate classification model and obtains a license plate classification result. And (4) the license plate classification result comprises a normal license plate and a temporary license plate, when the license plate classification result is the temporary license plate, the step 206 is executed, and when the license plate classification result is the normal license plate, the step 207 is executed.
It should be noted that the license plate classification model refers to a trained model capable of classifying a normal license plate and a temporary license plate, and the license plate classification model is used for judging whether a license plate image input into the model is a normal license plate or a temporary license plate.
206. Determining the license plate of the target vehicle as a temporary license plate and triggering a no-pass event;
when the system determines that the target detection result only contains the first prediction frame, determining that the license plate of the target vehicle is a temporary license plate;
when the system determines that the target detection result simultaneously comprises a first prediction frame and a second prediction frame and determines that the first prediction frame is not positioned in the second prediction frame, determining that the license plate of the target vehicle is a temporary license plate;
when the system determines that the target detection result simultaneously comprises a first prediction frame and a second prediction frame and determines that the first prediction frame is positioned in the second prediction frame, inputting the license plate image in the first prediction frame into a license plate classification model, and when the license plate classification result output by the license plate classification model is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate.
And when the system determines that the license plate of the target vehicle is the temporary license plate, the target vehicle is not automatically released, corresponding information is reported, and the vehicle owner is prompted to enter the vehicle through card taking or code scanning and other possible modes.
207. And determining the license plate of the target vehicle as a normal license plate, and triggering a traffic permission event.
When the system determines that the target detection result simultaneously comprises a first prediction frame and a second prediction frame and determines that the first prediction frame is positioned in the second prediction frame, inputting the license plate image in the first prediction frame into the license plate classification model, and when the license plate classification result output by the license plate classification model is a normal license plate, determining that the license plate of the target vehicle is a normal license plate.
And when the system determines that the license plate of the target vehicle is a normal license plate, releasing the target vehicle according to the conventional parking lot service logic.
In the embodiment, an image is taken of a target vehicle, the image is input into a trained target detection model, a license plate (a first prediction frame) and a vehicle head (a second prediction frame) in the image are detected and classified, and then the relative positions of the detected license plate (the first prediction frame) and the detected vehicle head (the second prediction frame) are combined to judge whether the license plate is a temporary license plate, so that the judgment of the temporary license plate on site is more robust, whether a vehicle with the temporary license plate appears on site can be accurately judged, if the vehicle with the temporary license plate appears, the vehicle is not automatically released, but relevant information is reported or an owner is reminded to enter the site in other modes, thereby reducing the risk of traffic jam and improving the parking experience of the owner.
Referring to fig. 3, fig. 3 is a diagram illustrating an embodiment of a temporary license plate recognition system according to the present application, the system including:
the acquiring unit 301 is configured to acquire an image to be detected of a target vehicle when the target vehicle is detected to enter a preset area;
a detection classification unit 302, configured to input the image to be detected into a target detection model, so as to obtain a target detection result, where the target detection model is configured to detect and classify a license plate and a vehicle head in the input image, and output a detection classification result, where the detection classification result includes a first prediction frame and a second prediction frame, the first prediction frame is a detection classification result of the license plate in the input image, and the second prediction frame is a detection classification result of the vehicle head in the input image;
a first determining unit 303, configured to determine whether the target detection result only includes the first prediction frame;
a second determining unit 304, configured to determine whether the first prediction frame is located in the second prediction frame when the first determining unit 303 determines that the target detection result does not include the first prediction frame;
a first determining unit 305, configured to determine that the license plate of the target vehicle is a temporary license plate when the second determining unit 304 determines that the first prediction frame is outside the second prediction frame.
In the embodiment, the image of the target vehicle is shot, the image is input into the trained target detection model, the license plate (the first prediction frame) and the vehicle head (the second prediction frame) in the image are detected and classified, and the relative positions of the detected license plate (the first prediction frame) and the vehicle head (the second prediction frame) are combined to judge whether the license plate is the temporary license plate, so that the judgment of the temporary license plate on site is more robust, whether the temporary license plate exists on site can be accurately judged, and the parking lot can perform special treatment on the vehicles of the temporary license plate, thereby reducing the risk of traffic jam and improving the parking experience of the vehicle owner.
Referring to fig. 4, fig. 4 is a diagram illustrating another embodiment of a temporary license plate recognition system provided in the present application, where the system includes:
an obtaining unit 401, configured to obtain an image to be detected of a target vehicle when it is detected that the target vehicle enters a preset area;
a detection classification unit 402, configured to input the image to be detected into a target detection model, so as to obtain a target detection result, where the target detection model is configured to detect and classify a license plate and a vehicle head in the input image, and output a detection classification result, where the detection classification result includes a first prediction frame and a second prediction frame, the first prediction frame is a detection classification result of the license plate in the input image, and the second prediction frame is a detection classification result of the vehicle head in the input image;
a first determining unit 403, configured to determine whether the target detection result only includes the first prediction frame;
a second determining unit 404, configured to determine whether the first prediction frame is located in the second prediction frame when the first determining unit 403 determines that the target detection result includes the first prediction frame;
a first determining unit 405, configured to determine that the license plate of the target vehicle is a temporary license plate when the second determining unit 404 determines that the first prediction frame is located outside the second prediction frame.
Further, the first determining unit 405 is further configured to:
when the first determining unit 403 determines that the target detection result only includes the first prediction frame, it determines that the license plate of the target vehicle is a temporary license plate.
Further, the system further comprises:
an input unit 406, configured to input, when the second determining unit 404 determines that the first prediction frame is located in the second prediction frame, the image content in the first prediction frame to a license plate classification model to obtain a license plate classification result, where the license plate classification result includes a normal license plate and a temporary license plate;
the first determination unit 405 is further configured to:
and when the license plate classification result is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate.
Further, the system further comprises:
a second determining unit 407, configured to determine that the license plate of the target vehicle is a normal license plate when the license plate classification result is a normal license plate.
Further, the system further comprises:
a first triggering unit 408, configured to trigger a pass prohibition event when the first determining unit determines that the license plate of the target vehicle is a temporary license plate.
Further, the system further comprises:
a second triggering unit 409, configured to trigger a pass-allowing event when the second determining unit determines that the license plate of the target vehicle is a normal license plate.
In the system of this embodiment, the functions of each unit correspond to the steps in the method embodiment shown in fig. 2, and are not described herein again.
Referring to fig. 5, fig. 5 is a diagram illustrating an embodiment of a temporary license plate recognition device according to the present application, where the temporary license plate recognition device includes:
a processor 501, a memory 502, an input/output unit 503, and a bus 504;
the processor 501 is connected with the memory 502, the input/output unit 503 and the bus 504;
the memory 502 holds a program that the processor 501 calls to perform any of the temporary license plate recognition methods described above.
The present application also relates to a computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, causes the computer to perform any of the above-described temporary license plate recognition methods.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (6)

1. A temporary license plate recognition method, characterized in that the method comprises:
when a target vehicle is detected to enter a preset area, acquiring an image to be detected of the target vehicle;
inputting the image to be detected into a target detection model to obtain a target detection result, wherein the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection classification result, the detection classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is the detection classification result of the license plate in the input image, and the second prediction frame is the detection classification result of the vehicle head in the input image;
judging whether the target detection result only contains the first prediction frame;
if the target detection result only contains the first prediction frame, determining that the license plate of the target vehicle is a temporary license plate;
if the target detection result does not contain the first prediction frame, judging whether the first prediction frame is located in the second prediction frame;
if the first prediction frame is determined to be located outside the second prediction frame, determining that the license plate of the target vehicle is a temporary license plate;
if the first prediction frame is located in a second prediction frame, inputting the image content in the first prediction frame into a license plate classification model to obtain a license plate classification result, wherein the license plate classification result comprises a normal license plate and a temporary license plate;
when the license plate classification result is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate; and when the license plate classification result is a normal license plate, determining that the license plate of the target vehicle is a normal license plate.
2. The method of claim 1, wherein after the determining that the license plate of the vehicle is a temporary license plate, the method further comprises:
a no pass event is triggered.
3. The method of claim 1, wherein after the determining that the license plate of the vehicle is a normal license plate, the method further comprises:
a clear to pass event is triggered.
4. A temporary license plate recognition system, the system comprising:
the device comprises an acquisition unit, a detection unit and a processing unit, wherein the acquisition unit is used for acquiring an image to be detected of a target vehicle when the target vehicle is detected to enter a preset area;
the detection and classification unit is used for inputting the image to be detected into a target detection model to obtain a target detection result, the target detection model is used for detecting and classifying the license plate and the vehicle head in the input image and outputting a detection and classification result, the detection and classification result comprises a first prediction frame and a second prediction frame, the first prediction frame is used for detecting and classifying the license plate in the input image, and the second prediction frame is used for detecting and classifying the vehicle head in the input image;
a first judgment unit, configured to judge whether the target detection result only includes the first prediction frame;
a second determination unit, configured to determine whether the first prediction frame is located within the second prediction frame when the first determination unit determines that the target detection result includes the first prediction frame;
a first determining unit, configured to determine that the license plate of the target vehicle is a temporary license plate when the second determining unit determines that the first prediction frame is located outside the second prediction frame;
the input unit is used for inputting the image content in the first prediction frame to a license plate classification model to obtain a license plate classification result when the second judgment unit determines that the first prediction frame is positioned in a second prediction frame, and the license plate classification result comprises a normal license plate and a temporary license plate;
the first determination unit is further configured to:
when the first judging unit determines that the target detection result only contains the first prediction frame, determining that the license plate of the target vehicle is a temporary license plate;
when the license plate classification result is a temporary license plate, determining that the license plate of the target vehicle is the temporary license plate; and when the license plate classification result is a normal license plate, determining that the license plate of the target vehicle is a normal license plate.
5. A temporary license plate recognition device, the device comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any of claims 1 to 3.
6. A computer-readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of any one of claims 1 to 3.
CN202110575649.6A 2021-05-26 2021-05-26 Temporary license plate recognition method, system, device and storage medium Active CN113408364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110575649.6A CN113408364B (en) 2021-05-26 2021-05-26 Temporary license plate recognition method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110575649.6A CN113408364B (en) 2021-05-26 2021-05-26 Temporary license plate recognition method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN113408364A CN113408364A (en) 2021-09-17
CN113408364B true CN113408364B (en) 2022-11-11

Family

ID=77675170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110575649.6A Active CN113408364B (en) 2021-05-26 2021-05-26 Temporary license plate recognition method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN113408364B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114038228A (en) * 2021-10-20 2022-02-11 深圳市捷顺科技实业股份有限公司 Parking space guiding method and device
CN114333085A (en) * 2021-12-31 2022-04-12 绿城科技产业服务集团有限公司 Management method for entrance and exit of unlicensed vehicle into and out of unattended parking lot

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132004A (en) * 2019-12-06 2020-05-08 上海博泰悦臻电子设备制造有限公司 Monitoring method, system, medium and device for temporary license plate

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275653A1 (en) * 2011-04-28 2012-11-01 Industrial Technology Research Institute Method for recognizing license plate image, and related computer program product, computer-readable recording medium, and image recognizing apparatus using the same
CN107194393B (en) * 2016-03-15 2020-02-18 杭州海康威视数字技术股份有限公司 Method and device for detecting temporary license plate
DE112016007236T5 (en) * 2016-09-16 2019-07-04 Motorola Solutions, Inc. System and method for the cooperation of a fixed camera and an unmanned mobile device to improve the identification security of an object
CN108694387B (en) * 2018-05-15 2021-10-26 北京智芯原动科技有限公司 False license plate filtering method and device
CN109657674A (en) * 2018-11-28 2019-04-19 新华三技术有限公司 A kind of vehicles identifications determine method and device
CN110807499A (en) * 2019-11-06 2020-02-18 深圳微品致远信息科技有限公司 Method and system for solving parking of temporary license plate vehicle and applying preferential benefit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111132004A (en) * 2019-12-06 2020-05-08 上海博泰悦臻电子设备制造有限公司 Monitoring method, system, medium and device for temporary license plate

Also Published As

Publication number Publication date
CN113408364A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
US10762338B2 (en) Method and apparatus for detecting fake license plates of vehicles, readable storage medium, and electronic device
US9082038B2 (en) Dram c adjustment of automatic license plate recognition processing based on vehicle class information
CN109800633B (en) Non-motor vehicle traffic violation judgment method and device and electronic equipment
CN111815959B (en) Vehicle violation detection method and device and computer readable storage medium
CN113408364B (en) Temporary license plate recognition method, system, device and storage medium
US20120128210A1 (en) Method for Traffic Sign Recognition
CN111382704A (en) Vehicle line-pressing violation judgment method and device based on deep learning and storage medium
CN111192461B (en) License plate recognition method, server, parking charging method and system
CN114387591A (en) License plate recognition method, system, equipment and storage medium
CN112257541A (en) License plate recognition method, electronic device and computer-readable storage medium
CN111612104A (en) Vehicle loss assessment image acquisition method, device, medium and electronic equipment
US11482012B2 (en) Method for driving assistance and mobile device using the method
CN103927548A (en) Novel vehicle collision avoiding brake behavior detection method
CN105512662A (en) Detection method and apparatus for unlicensed vehicle
CN112115800A (en) Vehicle combination recognition system and method based on deep learning target detection
CN113297939B (en) Obstacle detection method, obstacle detection system, terminal device and storage medium
CN111444843A (en) Multimode driver and vehicle illegal behavior monitoring method and system
Islam et al. Bangla license plate detection, recognition and authentication with morphological process and template matching
Ali et al. License plate recognition system
CN106778765B (en) License plate recognition method and device
CN115880632A (en) Timeout stay detection method, monitoring device, computer-readable storage medium, and chip
WO2023124385A1 (en) Photographic apparatus shielding detection method and apparatus, and electronic device, storage medium and computer program product
CN111161542B (en) Vehicle identification method and device
TWI709917B (en) Assistant driving device, method, and storage medium
CN113283303A (en) License plate recognition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant