A method, device, medium and electronic device for recognizing license plate at an airport crossing

Through partition processing and maximum inter-class variance algorithm binarization technology in license plate recognition, the problem of poor license plate recognition quality under the influence of uneven illumination is solved, and more accurate and complete license plate information recognition is achieved.

CN118097650BActive Publication Date: 2024-08-27CIVIL AVIATION CHENGDU ELECTRONIC TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410480136.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-08-27
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

Existing license plate recognition technology has low recognition accuracy and efficiency under uneven lighting conditions, resulting in poor license plate information recognition quality, especially in open environments such as airport crossings.

Method used

By obtaining the vehicle image at the airport crossing, the license plate image is identified and partitioned according to the direction of light influence. The maximum inter-class variance algorithm is used to calculate the binarization threshold, and the partitioned image is binarized. Finally, the license plate information is identified based on the target license plate image and the character features are enhanced. to improve recognition quality.

Benefits of technology

Significantly reduces the interference of uneven illumination, retains the integrity of license plate character information, and improves the quality and accuracy of license plate recognition under uneven illumination conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118097650B
    Figure CN118097650B
Patent Text Reader

Abstract

The present application discloses a license plate recognition method, device, medium and electronic equipment at an airport road crossing, and relates to the field of license plate recognition technology, including: recognizing a vehicle image to obtain a license plate image; partitioning the license plate image according to the direction of illumination influence to obtain a partitioned license plate image; binarizing based on the maximum inter-class variance algorithm to obtain a target license plate image and recognize the vehicle's license plate information. The present application binarizes the license plate image by partitioning it to avoid using a global binarization threshold, and the partitioning is performed based on the influence of illumination in different directions, so that the partitioned image can adaptively obtain a binarization threshold based on the maximum inter-class variance algorithm, and on the target license plate image obtained by partitioning binarization, the interference of uneven illumination can be significantly reduced, and the character information on the license plate can be relatively completely retained, and the image can be recognized again to obtain more accurate and complete license plate information, thereby improving the quality of license plate recognition under uneven illumination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of license plate recognition, and in particular to a method, device, medium and electronic equipment for license plate recognition at an airport crossing. Background Art

[0002] License plate number recognition is abbreviated as license plate recognition, also known as license plate number recognition or vehicle license plate recognition or vehicle license plate recognition. It is an application of computer video image recognition technology in vehicle license plate recognition, that is, extracting and identifying the license plate number from the image information. The general principle of license plate number recognition is as follows: it is divided into four modules: image acquisition, license plate positioning, character segmentation, and character recognition. Software programming is then used to implement each part, and finally the license plate is recognized and the license plate number and other related information are output.

[0003] However, current license plate recognition methods are affected by uneven lighting. For example, at relatively open airport intersections, when vehicles enter and exit, they will be affected by sunlight on sunny days, lighting at the parking lot entrance at night, and the vehicle's own lights. The collected license plate images will have serious uneven lighting, which reduces recognition accuracy and efficiency, resulting in poor recognition quality of license plate information. Summary of the invention

[0004] The main purpose of the present application is to provide a method, device, medium and electronic equipment for license plate recognition at an airport crossing, aiming to solve the problem in the prior art that the recognition quality of license plate information is poor due to uneven lighting.

[0005] To achieve the above objectives, the technical solutions adopted in this application are as follows:

[0006] In a first aspect, the present application provides a method for license plate recognition at an airport crossing, comprising the following steps:

[0007] Acquire vehicle images at airport crossings;

[0008] Identify the vehicle image and obtain the license plate image;

[0009] Partition the license plate image according to the direction of illumination influence to obtain a partitioned license plate image;

[0010] The binarization threshold of each partition image of the partitioned license plate image is calculated based on the maximum inter-class variance algorithm, and each partition image is binarized according to the binarization threshold to obtain the target license plate image;

[0011] According to the target license plate image, the vehicle's license plate information is identified.

[0012] In a possible implementation of the first aspect, before partitioning the license plate image according to the illumination influence direction and obtaining the partitioned license plate image, the method further includes:

[0013] According to the illumination position, the illumination impact direction is determined; wherein the illumination impact direction includes a first illumination impact direction and a second illumination impact direction.

[0014] In a possible implementation of the first aspect, partitioning the license plate image according to the illumination influence direction to obtain the partitioned license plate image includes:

[0015] The license plate image is partitioned into upper and lower parts according to the first illumination impact direction to obtain a partitioned license plate image.

[0016] In a possible implementation of the first aspect, partitioning the license plate image according to the illumination influence direction to obtain the partitioned license plate image includes:

[0017] The license plate image is partitioned into left and right partitions according to the second illumination influence direction to obtain a partitioned license plate image.

[0018] In a possible implementation of the first aspect, recognizing a vehicle image to obtain a license plate image includes:

[0019] Performing grayscale transformation on the vehicle image to obtain a vehicle grayscale image;

[0020] Perform wavelet transform on the vehicle grayscale image in the horizontal direction to obtain the license plate image.

[0021] In a possible implementation of the first aspect, after performing a wavelet transform in a horizontal direction on the vehicle grayscale image to obtain a license plate image, the method further includes:

[0022] Perform a closing operation on the license plate image to obtain a first license plate image;

[0023] Extract the license plate image according to the preset external rectangular frame to obtain the image of the area to be selected;

[0024] Convert the image of the region to be selected into the HSI color space to obtain a first image of the region to be selected;

[0025] The background color of the first selected area image is identified to obtain a second license plate image.

[0026] In a possible implementation of the first aspect, recognizing the license plate information of the vehicle according to the target license plate image includes:

[0027] Determine the enhancement strategy based on the background color and character color on the target license plate image;

[0028] Perform feature enhancement on the target license plate image according to the enhancement strategy to obtain an enhanced target license plate image;

[0029] The character information on the enhanced target license plate image is extracted to recognize the vehicle's license plate information.

[0030] In a second aspect, the present application provides an airport road crossing license plate recognition device, comprising:

[0031] An acquisition module, which is used to acquire vehicle images at the airport crossing;

[0032] A first recognition module, the first recognition module is used to recognize the vehicle image and obtain the license plate image;

[0033] A partitioning module is used to partition the license plate image according to the direction of illumination influence to obtain a partitioned license plate image;

[0034] A binarization module, which is used to calculate the binarization threshold of each partition image of the partitioned license plate image based on the maximum inter-class variance algorithm, and binarize each partition image according to the binarization threshold to obtain the target license plate image;

[0035] The second recognition module is used to recognize the vehicle license plate information according to the target license plate image.

[0036] In a third aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the method for airport intersection license plate recognition provided in any one of the first aspects above is implemented.

[0037] In a fourth aspect, the present application provides an electronic device, including a processor and a memory, wherein:

[0038] The memory is used to store computer programs;

[0039] The processor is used to load and execute a computer program so that the electronic device executes the airport roadblock license plate recognition method provided in any one of the first aspects above.

[0040] Compared with the prior art, the beneficial effects of this application are:

[0041] The present application proposes a method, device, medium and electronic device for license plate recognition at an airport intersection. The method includes: acquiring a vehicle image at an airport intersection; recognizing the vehicle image to obtain a license plate image; partitioning the license plate image according to the direction of illumination influence to obtain a partitioned license plate image; calculating a binarization threshold of each partitioned image of the partitioned license plate image based on a maximum inter-class variance algorithm, and binarizing each partitioned image according to the binarization threshold to obtain a target license plate image; and recognizing the vehicle's license plate information based on the target license plate image. The present application first obtains its license plate image by performing an initial recognition on the vehicle image acquired at the airport intersection. Considering the need to improve the quality of information retained on the license plate after binarization and reduce the impact of uneven lighting, the license plate image is binarized in partitions to avoid the global use of a binarization threshold. The partitioning is performed based on the impact of lighting in different directions, so that the partitioned image can adaptively obtain a binarization threshold based on the maximum inter-class variance algorithm. On the target license plate image obtained after the partition binarization, the interference of uneven lighting can be significantly reduced, and the character information on the license plate can be relatively completely retained. Finally, more accurate and complete license plate information can be obtained by re-recognition from the image, thereby improving the quality of license plate recognition under uneven lighting. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of the flow chart of the license plate recognition method for an airport road crossing provided in an embodiment of the present application;

[0044] Figure 3 A schematic diagram of a module of a license plate recognition device for an airport crossing provided in an embodiment of the present application;

[0045] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION

[0046] 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.

[0047] See attached Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in an embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage; the processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.

[0048] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and an airport roadblock license plate recognition device.

[0050] In the attached Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the airport crossing license plate recognition device stored in the memory 105 through the processor 101, and executes the airport crossing license plate recognition method provided in the embodiment of the present application.

[0051] See attached Figure 2 Based on the hardware device of the aforementioned embodiment, the embodiment of the present application provides a method for recognizing license plates at an airport intersection, comprising the following steps:

[0052] S10: Acquire vehicle images at the airport crossing.

[0053] During the specific implementation process, vehicle images, that is, images of vehicles about to enter or leave the airport crossing, can be captured in real time by high-definition cameras at the crossing. Generally speaking, the vehicle recognition system at the airport crossing will have an automatic gate opening function. After identifying the vehicle and taking a photo of the vehicle, the gate will automatically lift the barrier to allow the vehicle to pass.

[0054] S20: Identify the vehicle image and obtain a license plate image.

[0055] In the specific implementation process, the vehicle image is an image that includes the vehicle body, license plate, etc. In actual use, only the license plate needs to be located. The vehicle body information can be entered and saved through other methods. After being stored together with the recognized license plate information, consistency comparison can be achieved in subsequent management. The license plate image is only a partial image of the vehicle image, which can be selected through some positioning algorithms or found through rectangular frame template matching. The recognition in this step can be recorded as the first recognition, and the purpose is to segment the license plate image.

[0056] In one embodiment, recognizing a vehicle image to obtain a license plate image includes:

[0057] Performing grayscale transformation on the vehicle image to obtain a vehicle grayscale image;

[0058] Perform wavelet transform on the vehicle grayscale image in the horizontal direction to obtain the license plate image.

[0059] In the specific implementation process, a wavelet transform is provided to locate the license plate. Since the collected image is a true color image, it is first transformed into a grayscale image. In the local image of the license plate area, the brightness contrast between the character strokes and the license plate background forms an obvious and dense edge, and the rising edge and the falling edge appear alternately. This high-frequency feature is used to perform a wavelet transform in the horizontal direction. The high-frequency feature after the wavelet transform can highlight the license plate area.

[0060] Furthermore, after performing a wavelet transform in the horizontal direction on the vehicle grayscale image to obtain a license plate image, the method further includes:

[0061] Perform a closing operation on the license plate image to obtain a first license plate image;

[0062] Extract the license plate image according to the preset external rectangular frame to obtain the image of the area to be selected;

[0063] Convert the image of the region to be selected into the HSI color space to obtain a first image of the region to be selected;

[0064] The background color of the first selected area image is identified to obtain a second license plate image.

[0065] In the specific implementation process, on the basis of wavelet transform processing, in order to further extract the license plate image on the high-frequency image, a closing operation can be performed first, that is, expansion first and then erosion, so as to highlight the contour information of the license plate, and then an external rectangular frame of a preset size can be positioned on the image to extract the image of the selected area. This part of the image is the image where the license plate exists. The image is converted to the HSI color gamut space, that is, hue, saturation, and brightness, and converted to the color gamut of human eye perception of color to obtain the first generation of selected area image. Finally, the background color can be identified and judged to accurately determine the license plate area, that is, the second license plate image.

[0066] Based on the above steps, the license plate image is partitioned according to the direction of illumination influence to obtain a partitioned license plate image, including:

[0067] The second license plate image is partitioned according to the illumination impact direction to obtain a partitioned license plate image.

[0068] S30: Partitioning the license plate image according to the direction of illumination influence to obtain a partitioned license plate image.

[0069] In the specific implementation process, the license plate image captured by the camera will be affected by the ambient light. Light irradiated from different directions will make the brightness of different parts of the license plate on the captured image different. If the image is also grayscaled, the grayscale value after grayscale will also be different, which will lead to unclear images of some license plates, and the characters on the license plate images may be missing, unrecognizable, disconnected, etc. Therefore, it is considered to partition the license plate image for processing. The partition is determined according to the direction of light influence. The direction of light influence can be divided into two categories, namely: partitioning the license plate image according to the direction of light influence. Before obtaining the partitioned license plate image, the method also includes:

[0070] According to the illumination position, the illumination impact direction is determined; wherein the illumination impact direction includes a first illumination impact direction and a second illumination impact direction.

[0071] The first illumination direction is upward. Usually, the license plate is perpendicular to the ground and there is no illumination below. When there is illumination above, the uneven illumination on the front of the license plate can be divided into upper and lower parts. That is, the license plate image is partitioned according to the illumination influence direction to obtain the partitioned license plate image, including:

[0072] The license plate image is partitioned into upper and lower parts according to the first illumination impact direction to obtain a partitioned license plate image.

[0073] The second illumination is from the side. The uneven illumination from the side can be divided into left and right parts, that is, the license plate image is partitioned according to the direction of illumination influence to obtain a partitioned license plate image, including:

[0074] The license plate image is partitioned into left and right partitions according to the second illumination influence direction to obtain a partitioned license plate image.

[0075] Of course, this embodiment is only explained in terms of the more conventional up, down, left, and right. In actual use, if there is oblique incidence, it can be divided into zones in the direction parallel to the illumination direction. The stronger the light and the greater the unevenness, the more zones can be set, and vice versa.

[0076] S40: Calculate the binarization threshold of each partitioned license plate image based on the maximum inter-class variance algorithm, and binarize each partitioned image according to the binarization threshold to obtain a target license plate image.

[0077] In the specific implementation process, the maximum inter-class variance algorithm is a method for automatically obtaining thresholds suitable for bimodal situations. According to the grayscale characteristics of the image, the image is divided into two parts: background and target. This also matches the recognition of license plates. The information extraction of license plates can be divided into two parts: background and target characters. The larger the inter-class variance between the background and the target, the greater the difference between the two parts of the image. When part of the target is misclassified as the background or part of the background is misclassified as the target, the difference between the two parts will become smaller. Therefore, the segmentation with the largest inter-class variance means the minimum probability of misclassification. Traditional binarization uses the global threshold method, that is, binarization only takes one threshold. Under uneven lighting, it is difficult to make the binarized image have good quality. Therefore, consider partitioning for binarization.

[0078] Partition binarization actually divides an entire image into multiple sub-images. Each sub-image uses the same maximum inter-class variance algorithm and adaptively determines a binarization threshold based on the partition, which also adaptively adjusts the impact of uneven lighting. The entire image obtained after partition binarization can eliminate the impact of uneven lighting, thereby retaining more and better information on the license plate.

[0079] S50: Identify the vehicle's license plate information according to the target license plate image.

[0080] In the specific implementation process, the first recognition segmented the license plate image, and the second recognition identified the license plate information of the segmented license plate image. The recognition can be performed by comparing the preset characters. Since the pixel value of the character part is different from the background part, the contour information of the area occupied by the character can also be extracted to extract the character. The embodiment of the present application provides a method for identifying license plate information by enhancing according to the difference between the background color and the character color. Specifically: according to the target license plate image, the license plate information of the vehicle is identified, including:

[0081] Determine the enhancement strategy based on the background color and character color on the target license plate image;

[0082] Perform feature enhancement on the target license plate image according to the enhancement strategy to obtain an enhanced target license plate image;

[0083] The character information on the enhanced target license plate image is extracted to recognize the vehicle's license plate information.

[0084] In the specific implementation process, first of all, different enhancement strategies need to be determined according to the background color and character color on the target license plate image. For example, for license plates with dark background and light characters and license plates with light background and dark characters, first binarization is performed, and the above types are obtained according to the number of black and white pixels. If it is the former, the image is subjected to a high-hat operation, and its open operation image is subtracted from the original image to obtain edge information brighter than the edge of the original image, so that the character area will be enhanced and the background will be suppressed. If it is the latter, the image is subjected to a low-hat operation, which is the difference image of the closing operation result of the original image and the original image, which is used to highlight the darker area than the area around the original outline.

[0085] The image processed according to different enhancement strategies is the enhanced target license plate image. The character area features are highlighted on the image. In terms of brightness, the character part becomes brighter relative to the background after enhancement. Further filtering can be performed to eliminate noise interference on the image, which is conducive to the accurate recognition and extraction of characters.

[0086] In this embodiment, first, the vehicle image acquired at the airport intersection is initially recognized to obtain its license plate image. Considering the need to improve the quality of information retained on the license plate after binarization and reduce the impact of uneven lighting, the license plate image is binarized in partitions to avoid the global use of a binarization threshold. The partitioning is performed based on the impact of lighting in different directions, so that the partitioned image can adaptively obtain a binarization threshold based on the maximum inter-class variance algorithm. On the target license plate image obtained after partition binarization, the interference of uneven lighting can be significantly reduced, and the character information on the license plate can be relatively completely retained. Finally, more accurate and complete license plate information can be obtained by re-recognition from the image, thereby improving the quality of license plate recognition under uneven lighting.

[0087] See attached Figure 3 Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides an airport road crossing license plate recognition device, which comprises:

[0088] An acquisition module, which is used to acquire vehicle images at the airport crossing;

[0089] A first recognition module, the first recognition module is used to recognize the vehicle image and obtain the license plate image;

[0090] A partitioning module is used to partition the license plate image according to the direction of illumination influence to obtain a partitioned license plate image;

[0091] A binarization module, which is used to calculate the binarization threshold of each partition image of the partitioned license plate image based on the maximum inter-class variance algorithm, and binarize each partition image according to the binarization threshold to obtain the target license plate image;

[0092] The second recognition module is used to recognize the vehicle license plate information according to the target license plate image.

[0093] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions, and can be fully or partially integrated into one or more actual carriers in actual application, and these modules can be implemented entirely in the form of software called by a processing unit, or entirely in the form of hardware, or in the form of a combination of software and hardware. It should be noted that the modules in the airport road crossing license plate recognition device in this embodiment correspond one-to-one to the steps in the airport road crossing license plate recognition method in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned airport road crossing license plate recognition method, which will not be repeated here.

[0094] Based on the same inventive concept as in the aforementioned embodiments, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the airport roadblock license plate recognition method provided in the embodiment of the present application is implemented.

[0095] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:

[0096] The memory is used to store computer programs;

[0097] The processor is used to load and execute a computer program so that the electronic device executes the airport roadblock license plate recognition method provided in the embodiment of the present application.

[0098] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0099] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0100] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0101] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0102] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0103] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0105] In summary, the present application provides a method, device, medium and electronic device for license plate recognition at an airport intersection, which method includes: acquiring a vehicle image at an airport intersection; identifying the vehicle image to obtain a license plate image; partitioning the license plate image according to the direction of illumination influence to obtain a partitioned license plate image; calculating a binarization threshold of each partitioned image of the partitioned license plate image based on the maximum inter-class variance algorithm, and binarizing each partitioned image according to the binarization threshold to obtain a target license plate image; and identifying the vehicle's license plate information based on the target license plate image. The present application first obtains its license plate image by performing an initial recognition on the vehicle image acquired at the airport intersection. Considering the need to improve the quality of information retained on the license plate after binarization and reduce the impact of uneven lighting, the license plate image is binarized in partitions to avoid the global use of a binarization threshold. The partitioning is performed based on the impact of lighting in different directions, so that the partitioned image can adaptively obtain a binarization threshold based on the maximum inter-class variance algorithm. On the target license plate image obtained after the partition binarization, the interference of uneven lighting can be significantly reduced, and the character information on the license plate can be relatively completely retained. Finally, more accurate and complete license plate information can be obtained by re-recognition from the image, thereby improving the quality of license plate recognition under uneven lighting.

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

Claims

1. A license plate recognition method at an airport crossing, characterized in that: The following steps are involved: Acquire vehicle images at airport crossings; Recognize the vehicle image to obtain a license plate image; Partitioning the license plate image according to the direction of illumination influence to obtain a partitioned license plate image; wherein, before partitioning the license plate image according to the direction of illumination influence to obtain the partitioned license plate image, the method further includes: Determine the illumination impact direction according to the illumination position; wherein the illumination impact direction includes a first illumination impact direction and a second illumination impact direction; partition the license plate image according to the illumination impact direction to obtain a partitioned license plate image, including: Partitioning the license plate image into upper and lower partitions according to the first illumination impact direction to obtain a partitioned license plate image; Partitioning the license plate image into left and right partitions according to the second illumination influence direction to obtain a partitioned license plate image; Calculating a binarization threshold of each partition image of the partitioned license plate image based on a maximum inter-class variance algorithm, and binarizing each of the partition images according to the binarization threshold to obtain a target license plate image; The vehicle license plate information is identified according to the target license plate image.

2. The method for recognizing license plates at airport crossings according to claim 1, characterized in that: The step of identifying the vehicle image to obtain a license plate image includes: Performing grayscale transformation on the vehicle image to obtain a vehicle grayscale image; Perform wavelet transform on the vehicle grayscale image in the horizontal direction to obtain a license plate image.

3. The method for recognizing license plates at airport crossings according to claim 2, characterized in that: After performing wavelet transform on the vehicle grayscale image in the horizontal direction to obtain the license plate image, the method further includes: Performing a closing operation on the license plate image to obtain a first license plate image; Extracting the license plate image according to a preset external rectangular frame to obtain an image of a selected area; Convert the image of the region to be selected into the HSI color gamut space to obtain a first image of the region to be selected; The background color of the first to-be-selected area image is identified to obtain a second license plate image.

4. The method for recognizing license plates at airport crossings according to claim 1, characterized in that: The step of identifying the vehicle license plate information according to the target license plate image includes: Determining an enhancement strategy according to the background color and character color on the target license plate image; Performing feature enhancement on the target license plate image according to the enhancement strategy to obtain an enhanced target license plate image; The character information on the enhanced target license plate image is extracted to recognize the license plate information of the vehicle.

5. An airport crossing license plate recognition device, characterized in that: include: An acquisition module, the acquisition module is used to acquire vehicle images at the airport crossing; A first recognition module, the first recognition module is used to recognize the vehicle image and obtain a license plate image; A partitioning module, the partitioning module is used to partition the license plate image according to the direction of illumination influence to obtain the partitioned license plate image; wherein, before partitioning the license plate image according to the direction of illumination influence to obtain the partitioned license plate image, it also includes: Determine the illumination impact direction according to the illumination position; wherein the illumination impact direction includes a first illumination impact direction and a second illumination impact direction; partition the license plate image according to the illumination impact direction to obtain a partitioned license plate image, including: Partitioning the license plate image into upper and lower partitions according to the first illumination impact direction to obtain a partitioned license plate image; Partitioning the license plate image into left and right partitions according to the second illumination influence direction to obtain a partitioned license plate image; A binarization module, the binarization module is used to calculate the binarization threshold of each partition image of the partitioned license plate image based on the maximum inter-class variance algorithm, and binarize each of the partition images according to the binarization threshold to obtain a target license plate image; The second recognition module is used to recognize the vehicle license plate information according to the target license plate image.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the airport road crossing license plate recognition method as described in any one of claims 1-4 is implemented.

7. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the airport roadblock license plate recognition method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Target identification method based on automatic illumination evaluation

    CN102509077A

  • Electric vehicle management system

    CN114359883A

  • Weak illumination compensation new energy license plate recognition system based on LabVIEW

    CN114495082A

  • License plate recognition method, device and system and storage medium

    CN116863458A

  • AU3826502A