License plate recognition method, system, server and storage medium
By screening and identifying vehicle models and license plate numbers, the problem of inaccurate license plate identification in urban parking lots is solved, and the accurate identification of vehicles that appear on the site and cost deductions are achieved.
Patent Information
- Application Number
- CN202210922947.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-02
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-08-02
AI Technical Summary
Due to insufficient light and occlusion in urban parking lots, the license plate identification system cannot accurately identify the license plate number, resulting in the inability to deduct fees or charge incorrect fees.
By obtaining the information of the exit vehicle, filtering vehicles consistent with the pre-exit vehicle collection, identifying the vehicle model and license plate number based on the parking space status image, narrowing the target layer by layer, and determining the complete license plate number of the exit vehicle.
It improves the accuracy of license plate recognition, ensures that the vehicle can be deducted correctly when it appears, and improves the user experience of the car owner.
Smart Images

Figure CN115206106B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of parking management technology, and in particular to a license plate recognition method, system, server and storage medium. Background Art
[0002] With the modernization of cities and the improvement of people's living standards, the number of cars owned by urban residents has increased dramatically. Many cities have underground parking garages. During the vehicle exit recognition process, the license plate recognition system cannot obtain the complete license plate number due to insufficient light, obstruction by other objects, and vehicle angle problems. This results in the inability to deduct fees or the wrong fees being collected. Summary of the invention
[0003] The object of the present invention is to provide a license plate recognition method, system, server and storage medium.
[0004] In order to achieve the above-mentioned invention object, the present invention provides the following technical solutions: In a first aspect, the present application provides a license plate recognition method, the license plate recognition method comprising:
[0005] Obtaining exit vehicle information, wherein the exit vehicle information includes an incompletely identified license plate number and vehicle model;
[0006] Obtain a set of vehicles scheduled to exit the site within a preset time, wherein the set of vehicles scheduled to exit the site includes complete license plate numbers and vehicle models of several vehicles scheduled to exit the site;
[0007] Selecting vehicles that are consistent with the model of the exiting vehicle from the pre-exiting vehicle set to form a candidate vehicle set;
[0008] The complete license plate number of the exiting vehicle is determined based on the incompletely identified license plate number and the candidate vehicle set.
[0009] Further, obtaining the set of vehicles pre-exiting within a preset time includes: obtaining a parking space picture in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space picture includes a picture of a vehicle parked in the parking space;
[0010] The model and complete license plate number of the vehicle are identified according to the parking space image, thereby forming a pre-parking vehicle set.
[0011] Furthermore, the vehicle type includes the brand and model of the vehicle.
[0012] Further, obtaining a parking space picture in which the state of the parking space changes from an occupied state to an idle state within the preset time includes: obtaining a real-time parking space image of the parking space in the occupied state;
[0013] According to the real-time parking space image, determining whether the parking space is in an idle state;
[0014] When no vehicle can be identified in the parking space, the parking space is in an idle state, and a picture in an occupied state is obtained as the parking space picture.
[0015] In a second aspect, the present application provides a license plate recognition system, the system comprising: an exit vehicle information acquisition module, for acquiring exit vehicle information, wherein the exit vehicle information includes an incompletely recognized license plate number and vehicle model;
[0016] A pre-exit vehicle set acquisition module is used to acquire a pre-exit vehicle set within a preset time, wherein the pre-exit vehicle set includes complete license plate numbers and vehicle models of several pre-exit vehicles;
[0017] A screening module, used for screening vehicles of the same model as the exiting vehicle from the pre-exiting vehicle set to form an alternative vehicle set;
[0018] A determination module is used to determine the complete license plate number of the exit vehicle based on the incompletely identified license plate number and the candidate vehicle set.
[0019] Further, the pre-exit vehicle set acquisition module includes: a parking space picture acquisition unit, which is used to acquire a parking space picture in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space picture includes a picture of a vehicle parked in the parking space;
[0020] The pre-exit vehicle set forming unit is used to identify the model and complete license plate number of the vehicle according to the parking space picture, so as to form a pre-exit vehicle set.
[0021] Furthermore, the vehicle type includes the brand and model of the vehicle.
[0022] Further, the parking space image acquisition unit includes: a real-time parking space image acquisition subunit, which is used to acquire a real-time parking space image of a parking space in an occupied state;
[0023] A judging subunit, configured to judge whether the parking space is in an idle state according to the real-time parking space image;
[0024] The parking space picture acquisition subunit is used to acquire a picture of the parking space in an occupied state as the parking space picture when no vehicle is identified in the parking space and the parking space is in an idle state.
[0025] In a third aspect, the present application provides that the server includes: a memory, the memory is used to store a computer executable program; and a processor, the processor is used to execute the executable program to implement the license plate recognition method as described above.
[0026] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the storage medium is used to store a computer executable program, and the computer executable program is executed by a processor to implement the license plate recognition method as described above.
[0027] This application obtains the exit vehicle information, wherein the exit vehicle information includes the incompletely identified license plate number and vehicle model; obtains the set of vehicles to be pre-exited within a preset time, wherein the pre-exit vehicle set includes the complete license plate numbers and vehicle models of several pre-exit vehicles; selects vehicles that are consistent with the vehicle model of the exit vehicle from the pre-exit vehicle set to form a set of candidate vehicles; and determines the complete license plate number of the exit vehicle based on the incompletely identified license plate number and the set of candidate vehicles. This application determines the license plate number of the exit vehicle by narrowing down the set of target vehicles layer by layer. The accuracy of vehicle number recognition is guaranteed, thereby improving the user experience of the car owner. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] in: Figure 1 A schematic diagram of the steps of the license plate recognition method provided in the embodiment of the present application;
[0030] Figure 2 A schematic diagram of the sub-step flow chart of step S102 of the license plate recognition method provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of the sub-step flow chart of step S1021 of the license plate recognition method provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of the internal structure of a license plate recognition system provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of the internal structure of a pre-exit vehicle set acquisition module of a license plate recognition system provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of the internal structure of a parking space image acquisition unit of a license plate recognition system provided in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the internal structure of a server is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0036] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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.
[0038] It should be noted that the terms "include", "comprises" and "have" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, terminal, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the claims, specification and drawings of the present application, relational terms such as "first" and "second" are merely used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects.
[0039] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0040] Please refer to Figure 1 , which is a schematic diagram of the step flow of the license plate recognition method provided in an embodiment of the present application.
[0041] Step S101, obtaining exit vehicle information, wherein the exit vehicle information includes incompletely recognized license plate numbers and vehicle models. Specifically, a camera is provided at the exit of the parking lot to collect the vehicle license plate numbers. When an incomplete license plate number is recognized due to light or occlusion, the incompletely recognized license plate number may be 5 digits of the recognized license plate, or less. The vehicle model includes the brand, color, and series of the vehicle.
[0042] Step S102, obtaining a set of pre-exit vehicles within a preset time, wherein the pre-exit vehicle set includes the complete license plate numbers and vehicle models of several pre-exit vehicles. Specifically, a parking space includes an occupied state and an idle state. The occupied state is when a vehicle has parked in the parking space. The idle state is when no vehicle has parked in the parking space. This embodiment uses an image analysis-based parking space detection method to analyze the collected monitoring area images to detect the parking space status. In other feasible embodiments, the real-time status of the parking space can be detected based on parking space detectors such as infrared sensors, ultrasonic sensors, or geomagnetic sensors. Or a combination of the two methods. Pre-exit vehicles are vehicles originally parked in the parking space. When the vehicle leaves the parking space, this application defines these vehicles as pre-exit vehicles.
[0043] Step S103, filtering out vehicles of the same model as the exit vehicle from the pre-exit vehicle set to form a candidate vehicle set. Specifically, filtering out vehicles of the same brand, color, model, etc. further narrows the range of the number of vehicles, which is beneficial to the accuracy of recognition.
[0044] Step S104, determining the complete license plate number of the exiting vehicle according to the incompletely identified license plate number and the candidate vehicle set.
[0045] Please refer to Figure 2 , which is a schematic diagram of the sub-step flow of step S102 of the license plate recognition method provided in an embodiment of the present application.
[0046] Step S1021, obtaining a parking space image in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space image includes an image of a vehicle parked in the parking space.
[0047] Step S1022, identifying the model and complete license plate number of the vehicle according to the parking space image, thereby forming a set of pre-parking vehicles.
[0048] Please refer to Figure 3 , which is a schematic diagram of the sub-step flow chart of step S1021 of the license plate recognition method provided in an embodiment of the present application.
[0049] Step S10211, obtaining a real-time parking space image of an occupied parking space.
[0050] Step S10212: Determine whether the parking space is vacant based on the real-time parking space image.
[0051] Step S10213: When no vehicle is recognized in the parking space, the parking space is in an idle state, and a picture of the parking space in an occupied state is obtained as the picture of the parking space.
[0052] Please refer to Figure 4 , which is a schematic diagram of the internal structure of the license plate recognition system provided in the embodiment of the present application. The license plate recognition system 1 comprises: an exit vehicle information acquisition module 101, a pre-exit vehicle set acquisition module 102, a screening module 103, and a determination module 104.
[0053] The exit vehicle information acquisition module 101 is used to acquire the exit vehicle information, wherein the exit vehicle information includes the incompletely identified license plate number and vehicle model. Specifically, the exit vehicle information acquisition module 101 acquires the exit vehicle information. A camera is provided at the exit of the parking lot to collect the vehicle license plate number. When an incomplete license plate number is identified due to light or occlusion, the incompletely identified license plate number may be 5 digits of the identified license plate, or fewer digits. The vehicle model includes the brand of the vehicle, the color of the vehicle, the series of the vehicle, etc.
[0054] The pre-exit vehicle set acquisition module 102 is used to acquire the pre-exit vehicle set within a preset time, wherein the pre-exit vehicle set includes the complete license plate numbers and vehicle models of several pre-exit vehicles. Specifically, the pre-exit vehicle set acquisition module 102 acquires the pre-exit vehicle set within a preset time.
[0055] The screening module 103 is used to screen vehicles of the same model as the exiting vehicle from the pre-exiting vehicle set to form a candidate vehicle set.
[0056] The determination module 104 is used to determine the complete license plate number of the exiting vehicle according to the incompletely identified license plate number and the candidate vehicle set.
[0057] Please refer to Figure 5 , which is a schematic diagram of the internal structure of the pre-exit vehicle set acquisition module of the license plate recognition system provided in an embodiment of the present application. The pre-exit vehicle set acquisition module 102 includes: a parking space image acquisition unit 1021, which is used to acquire a parking space image in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space image includes an image of a vehicle parked in the parking space.
[0058] The pre-exit vehicle set forming unit 1022 is used to identify the model and complete license plate number of the vehicle according to the parking space image, so as to form a pre-exit vehicle set.
[0059] Please refer to Figure 6 , which is a schematic diagram of the internal structure of the parking space image acquisition unit of the license plate recognition system provided in the embodiment of the present application. The parking space image acquisition unit 1021 includes: a real-time parking space image acquisition subunit 10211, which is used to acquire a real-time parking space image of an occupied parking space.
[0060] The judging subunit 10212 is configured to judge whether the parking space is in an idle state according to the real-time parking space image.
[0061] The parking space picture acquisition subunit 10213 is used to acquire a picture of an occupied state as the parking space picture when no vehicle is identified in the parking space and the parking space is in an idle state.
[0062] Please see Figure 7 , which is a schematic diagram of the internal structure of a server provided in an embodiment of the present application. The server 100 includes a memory 1002 and a processor 1001. The memory 1002 is used to store a computer executable program, and the processor 1001 is used to execute the executable program to implement the license plate recognition method provided in the above embodiment.
[0063] In some embodiments, the processor 1001 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run the computer executable program stored in the memory 1002. Specifically, the processor 1001 executes the executable program to implement the above-mentioned license plate recognition method.
[0064] The memory 1002 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 1002 may be an internal storage unit of the server 100, such as a hard disk. In other embodiments, the memory 1002 may also be an external storage device, such as a plug-in hard disk equipped on the license plate recognition method 100, a smart memory card (SmartMedi a Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 1002 may also include both an internal storage unit of the server 100 and an external storage device. The memory 1002 may be used not only to store application software and various types of data installed on the server, but also to temporarily store data that has been output or is to be output.
[0065] The server 100 further includes a bus 1003. The bus 1003 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0066] Furthermore, the server 100 may also include a display component 1004. The display component 1004 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display component 1004 may also be appropriately referred to as a display device or a display unit, and the information processed in the server 100 and the user interface used to display visualization.
[0067] Further, the server 100 may also include a communication component 1005. The communication component 1005 may optionally include a wired communication component and / or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), and usually a communication connection is established between the server 100 and other computer devices.
[0068] Figure 7 Only some components and implementation server 100 are shown, and those skilled in the art can understand that Figure 7 The structure shown does not constitute a limitation on the server 100 , and the server 100 may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0069] The computer program product includes one or more computer instructions. When the computer program instruction is loaded and executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The simulation computer device can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from a computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction can be transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, a data center that includes one or more available media integrations. The available medium can be a magnetic medium, (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive Solid State Disk (SSD)) etc.
[0070] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0071] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0072] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0074] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a simulated computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only storage medium (ROM, Read-On l yMemory), random access storage medium (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0075] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A license plate recognition method, It is characterized in that The license plate recognition method comprises: Obtaining exit vehicle information, wherein the exit vehicle information includes an incompletely identified license plate number and vehicle model; Acquire a set of vehicles that are expected to leave the parking space within a preset time, and acquire a parking space picture in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space picture includes a picture of a vehicle parked in the parking space; Identify the model and complete license plate number of the vehicle according to the parking space image, thereby forming a pre-exit vehicle set, wherein the pre-exit vehicle set includes the complete license plate numbers and models of several pre-exit vehicles; Selecting vehicles that are consistent with the model of the exiting vehicle from the pre-exiting vehicle set to form a candidate vehicle set; The complete license plate number of the exiting vehicle is determined based on the incompletely identified license plate number and the candidate vehicle set.
2. The license plate recognition method according to claim 1, It is characterized in that The vehicle type includes the make and model of the vehicle.
3. The license plate recognition method according to claim 1, It is characterized in that Acquiring a parking space image in which the state of a parking space changes from an occupied state to an idle state within the preset time includes: Obtaining real-time parking space images of occupied parking spaces; According to the real-time parking space image, determining whether the parking space is in an idle state; When no vehicle can be identified in the parking space, the parking space is in an idle state, and a picture in an occupied state is obtained as the parking space picture.
4. A license plate recognition system, It is characterized in that The system comprises: The exit vehicle information acquisition module is used to acquire the exit vehicle information, wherein the exit vehicle information includes the license plate number and vehicle model that are not fully identified; A pre-exit vehicle set acquisition module is used to acquire a pre-exit vehicle set within a preset time, wherein the pre-exit vehicle set includes complete license plate numbers and vehicle models of several pre-exit vehicles; a parking space image acquisition unit, configured to acquire a parking space image in which the state of the parking space changes from an occupied state to an idle state within the preset time, wherein the parking space image includes an image of a vehicle parked in the parking space; A pre-exit vehicle set forming unit, used for identifying the model and complete license plate number of the vehicle according to the parking space picture, thereby forming a pre-exit vehicle set; A screening module, used for screening vehicles of the same model as the exiting vehicle from the pre-exiting vehicle set to form an alternative vehicle set; A determination module is used to determine the complete license plate number of the exit vehicle based on the incompletely identified license plate number and the candidate vehicle set.
5. The license plate recognition system as claimed in claim 4, It is characterized in that The vehicle type includes the make and model of the vehicle.
6. The license plate recognition system as claimed in claim 4, It is characterized in that The parking space image acquisition unit includes: A real-time parking space image acquisition subunit, used to acquire a real-time parking space image of an occupied parking space; a judging subunit, configured to judge whether the parking space is in an idle state according to the real-time parking space image; The parking space picture acquisition subunit is used to acquire a picture of the parking space in an occupied state as the parking space picture when no vehicle is identified in the parking space and the parking space is in an idle state.
7. A server, It is characterized in that The server comprises: a memory, the memory being used to store a computer executable program; and a processor, the processor being used to execute the executable program to implement the license plate recognition method according to any one of claims 1 to 3.
8. A computer-readable storage medium, It is characterized in that The storage medium is used to store a computer executable program, and the computer executable program is executed by a processor to implement the license plate recognition method according to any one of claims 1 to 3.
