WO2021138893A1 - Vehicle license plate recognition method and apparatus, electronic device, and storage medium - Google Patents

Vehicle license plate recognition method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021138893A1
WO2021138893A1 PCT/CN2020/071330 CN2020071330W WO2021138893A1 WO 2021138893 A1 WO2021138893 A1 WO 2021138893A1 CN 2020071330 W CN2020071330 W CN 2020071330W WO 2021138893 A1 WO2021138893 A1 WO 2021138893A1
Authority
WO
WIPO (PCT)
Prior art keywords
license plate
recognition
plate recognition
target
images
Prior art date
Application number
PCT/CN2020/071330
Other languages
French (fr)
Chinese (zh)
Inventor
张恒瑞
宋翔
郭明坚
林雨辉
张劲松
Original Assignee
顺丰科技有限公司
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 顺丰科技有限公司 filed Critical 顺丰科技有限公司
Priority to CN202080095192.2A priority Critical patent/CN115298705A/en
Priority to PCT/CN2020/071330 priority patent/WO2021138893A1/en
Publication of WO2021138893A1 publication Critical patent/WO2021138893A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • the invention relates to the technical field of license plate recognition, in particular to a license plate recognition method, device, electronic equipment and storage medium.
  • License plate recognition is a popular application field in the field of Optical Character Recognition (OCR).
  • OCR Optical Character Recognition
  • the license plate is about 1 meter away from the camera, coupled with the supporting lighting system and a proprietary camera, the image quality of the license plate image captured is very high, and naturally a high license plate recognition accuracy rate can be achieved.
  • the camera is sometimes far away from the vehicle or the license plate (for example, more than 3m), and the camera is a non-proprietary camera, such as the license plate recognition system applied to the loading and unloading port of the logistics transfer yard, used to identify loading and unloading vehicles License plate number.
  • the license plate recognition system uses a monitoring camera at the loading and unloading port instead of the proprietary camera in the aforementioned license plate recognition solution.
  • the monitoring camera of the loading and unloading port is generally installed close to the ceiling.
  • the distance between the camera and the license plate is greater than 3 meters, and the distance can be up to 10 meters or more during the parking and leaving of the vehicle, resulting in the license plate in the picture
  • the pixel area is too small, which brings challenges to recognition.
  • the complex lighting conditions in the transit field such as insufficient lighting, backlighting, and license plate reflections, also pose challenges for recognition.
  • the vehicles in the transit yard are mainly large trucks, and only the rear license plate can be seen when the truck is loading and unloading.
  • license plate recognition methods include license plate detection, image binarization, character segmentation, character recognition and other steps. Because license plate detection will have misdetection, it is generally necessary to add an image quality judgment link before image binarization.
  • the link uses a small classification network to eliminate non-license plate and fuzzy license plate images.
  • the traditional method contains so many links, which leads to a lot of manpower for data labeling and model training in each link.
  • the final recognition accuracy is obtained by multiplying the accuracy of each link. Because there are too many links, and each link cannot reach 100%, there is a bottleneck that is difficult to break through the accuracy of license plate recognition.
  • the embodiments of the present application provide a license plate recognition method, device, electronic equipment, and storage medium, which can effectively eliminate the influence of misdetection of license plates and blurring of license plate motion on the result of license plate recognition, and greatly improve the accuracy of license plate recognition.
  • the present application provides a method for recognizing a license plate, and the method for recognizing a license plate includes:
  • performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results includes:
  • the license plate recognition result of the target license plate image is determined.
  • the extracting features of the target license plate image to obtain a feature map corresponding to the license plate image includes:
  • the target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
  • the calculating the tensor of the license plate character recognition result according to the attention map includes:
  • the weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
  • the license plate character recognition tensor includes a character recognition tensor at multiple positions, and the character recognition tensor at each position includes a plurality of candidate characters. According to the license plate character recognition tensor, it is determined
  • the license plate recognition result of the target license plate image includes:
  • the candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
  • the fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle includes:
  • the fusion of the multiple license plate recognition results to obtain the fused license plate recognition result includes:
  • the acquiring multiple license plate images of the target vehicle includes:
  • the license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  • the detecting the license plate in the surveillance video to obtain multiple images including the license plate includes:
  • a multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
  • the present application provides a license plate recognition device, the license plate recognition device includes:
  • the acquiring unit is used to acquire multiple license plate images of the target vehicle
  • a recognition unit configured to perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results
  • the determining unit is used for fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
  • the identification unit is specifically configured to:
  • the license plate recognition result of the target license plate image is determined.
  • the identification unit is specifically configured to:
  • the target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
  • the identification unit is specifically configured to:
  • the weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
  • the license plate character recognition tensor includes character recognition tensors at multiple positions, and the character recognition tensor at each position includes multiple candidate characters, and the recognition unit is specifically configured to:
  • the candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
  • the determining unit is specifically configured to:
  • the determining unit is specifically configured to:
  • the acquiring unit is specifically configured to:
  • the license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  • the acquiring unit is specifically configured to:
  • a multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
  • this application also provides an electronic device, which includes:
  • One or more processors are One or more processors;
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps in the license plate recognition method described above.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the license plate recognition method.
  • multiple license plate images of the target vehicle are acquired; license plate recognition is performed on the multiple license plate images to obtain multiple license plate recognition results; multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle.
  • multiple license plate recognition results are obtained, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle, because the final license plate recognition result of the target vehicle is It is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
  • FIG. 1 is a schematic diagram of a scene of a license plate recognition system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an embodiment of a method for recognizing a license plate provided by an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of an embodiment in step 202 in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a specific scene of a license plate recognition scene in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of the attention map and the original image of the license plate in the embodiment of the present invention after being superimposed;
  • Fig. 6 is a schematic structural diagram of an embodiment of a license plate recognition device in an embodiment of the present invention.
  • Fig. 7 is a schematic structural diagram of an embodiment of an electronic device in an embodiment of the present invention.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present invention, “plurality” means two or more than two, unless otherwise specifically defined.
  • the embodiments of the present invention provide a license plate recognition method, device, electronic equipment, and storage medium, which will be described in detail below.
  • FIG. 1 is a schematic diagram of a scene of a license plate recognition system provided by an embodiment of the present invention.
  • the license plate recognition system may include a monitoring device 100 and an electronic device 200.
  • the monitoring device 100 and the electronic device 20 are connected to each other through a network.
  • a license plate recognition device such as the electronic device in FIG. 1, the monitoring device 100 can access the electronic device 200.
  • the electronic device 200 is mainly used to obtain multiple license plate images of a target vehicle; perform license plate recognition on the multiple license plate images respectively to obtain multiple license plate recognition results; merge the multiple license plate recognition results, Determine the license plate recognition result of the target vehicle.
  • the monitoring device 100 is mainly used to shoot monitoring video images and transmit them to the electronic device 200.
  • the electronic device 200 may be an independent server, or a server network or server cluster composed of servers.
  • the electronic device 200 described in the embodiment of the present invention includes, but is not limited to, a computer and a network.
  • the cloud server is composed of a large number of computers or network servers based on Cloud Computing.
  • the electronic device 200 and the monitoring device 100 can communicate through any communication method, including but not limited to, based on the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP), Long Term Evolution (Long Term) Evolution, LTE), Worldwide Interoperability for Microwave Access (WiMAX) mobile communications, or based on the TCP/IP protocol suite (TCP/IP Protocol Suite, TCP/IP), User Datagram Protocol (User Datagram Protocol, UDP) protocol computer network communication, etc.
  • 3rd Generation Partnership Project 3rd Generation Partnership Project, 3GPP
  • Long Term Evolution Long Term Evolution
  • LTE Long Term Evolution
  • WiMAX Worldwide Interoperability for Microwave Access
  • TCP/IP protocol suite TCP/IP Protocol Suite, TCP/IP
  • User Datagram Protocol User Datagram Protocol
  • UDP User Datagram Protocol
  • the monitoring device 100 used in the embodiment of the present invention may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link.
  • a monitoring device 100 may include a cellular or other communication device with a single-line display or a multi-line display or a cellular or other communication device without a multi-line display.
  • the specific monitoring device 100 may specifically be a monitoring camera.
  • Fig. 1 is only an application scenario with the solution of this application, and does not constitute a limitation on the application scenario of the solution of this application.
  • Other application environments may also include those shown in Fig. 1 Show more or fewer electronic devices, or the network connection relationship of electronic devices.
  • Fig. 1 Show more or fewer electronic devices, or the network connection relationship of electronic devices.
  • only one electronic device and two monitoring devices are shown in Figure 1.
  • the license plate recognition system may also include one or more other The electronic device, or/and one or more other monitoring devices connected to the electronic device network, are not specifically limited here.
  • the license plate recognition system may also include a memory 300 for storing data, such as storing video data, for example, video files collected by a monitoring device.
  • FIG. 1 the scene schematic diagram of the license plate recognition system shown in FIG. 1 is only an example.
  • the license plate recognition system and the scene described in the embodiment of the present invention are intended to explain the technical solutions of the embodiments of the present invention more clearly, and do not constitute As for the limitation of the technical solutions provided by the embodiments of the present invention, those of ordinary skill in the art know that with the evolution of the license plate recognition system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
  • an embodiment of the present invention provides a license plate recognition method.
  • the execution body of the license plate recognition method is a license plate recognition device, and the license plate recognition device is applied to electronic equipment.
  • the license plate recognition method includes: acquiring multiple license plate images of a target vehicle; Performing license plate recognition on the multiple license plate images respectively to obtain multiple license plate recognition results; fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
  • the license plate recognition method includes:
  • the acquiring multiple license plate images of the target vehicle may include: acquiring the collected surveillance video of the target vehicle; detecting the license plate in the surveillance video to obtain the license plate The multiple images of the multiple images; the license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  • the acquired monitoring video of the target vehicle may be a monitoring video shot by one or more monitoring devices.
  • the detecting the license plate in the surveillance video to obtain multiple images including the license plate includes: detecting the license plate in the surveillance video by using a multi-target detection method to obtain multiple images including the license plate.
  • the SSD Single Shot MultiBox Detector
  • the multi-target detection network model can be used to continuously detect the license plate, and the detected license plate image is cropped from the original image and normalized to a uniform size. As input to the image sequence of the subsequent steps.
  • the SSD algorithm is a multi-target detection algorithm that directly predicts the target category and bounding box.
  • the SSD algorithm uses feature maps of different convolutional layers for synthesis to achieve the same effect.
  • the main network structure of the SSD algorithm is VGG16.
  • the loading and unloading port of the logistics transfer yard it will also be used to identify the license plate number of the loading and unloading vehicle.
  • the transit site generally uses surveillance cameras at the loading and unloading ports instead of proprietary cameras.
  • the monitoring camera of the loading and unloading port is generally installed close to the ceiling.
  • the distance between the camera and the license plate is greater than 3 meters, and the distance can be up to 10 meters or more during the parking and leaving of the vehicle, resulting in the license plate in the picture
  • the pixel area is too small, which brings challenges to recognition.
  • the complex lighting conditions in the transit field such as insufficient lighting, backlighting, and license plate reflections, also pose challenges for recognition.
  • the vehicles in the transit yard are mainly large trucks, and only the rear license plate can be seen when the truck is loading and unloading.
  • the first line of Chinese characters and letters of the double-layer yellow license plate at the rear of the vehicle are too small, which makes it difficult to recognize, especially Chinese characters with many strokes, such as "Gan”, “Zang", and "E” are stuck together, making it more difficult to recognize.
  • the upper part of the license plate of some models will be blocked by the rear bumper, and the characters in the first line cannot be recognized.
  • the main application scenario in the embodiment of the present invention can be the license plate number recognition scenario of the loading and unloading vehicle at the loading and unloading port.
  • the target vehicle is the loading and unloading vehicle at the loading and unloading port
  • the monitoring device is the monitoring device set at the loading and unloading port of the transfer yard.
  • license plate recognition can be performed on the multiple license plate images to obtain multiple license plate recognition results. Specifically, the license plate recognition is performed on each license plate image to obtain a license plate recognition result.
  • performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results may further include:
  • license plate images in the plurality of license plate images as target license plate images extract features of the target license plate images to obtain feature maps corresponding to the license plate images.
  • extracting features of the target license plate image to obtain a feature map corresponding to the license plate image includes: inputting the target license plate image into a preset convolutional neural network (Convolutional Neural Networks, CNN) model to use the The convolutional neural network model extracts features corresponding to the license plate image, and outputs a feature map corresponding to the target license plate image.
  • CNN convolutional Neural Networks
  • the preset CNN model may be obtained after training using a large amount of collected license plate image data.
  • the attention map is the visual attention mask of the characters in the feature map.
  • the following formula (1), formula (2), and formula (3) can be used to extract the attention map of the characters in the feature map. :
  • V ⁇ is a preset vector
  • w s , w f1 , w f2 , and w f3 are the parameters of the weight matrix of the CNN model obtained in advance before the calculation, which will be updated during the CNN model training process
  • st is the preset
  • the attention map (also called attention mask) ⁇ t is obtained after normalization by the softmax function, ⁇ t is the attention map calculated at time t, which is a matrix, ⁇ t,i,j are the elements of the matrix ⁇ t, i , J is the row number and column number of the matrix respectively, which is a scalar.
  • Long Short-Term Memory (LSTM, Long Short-Term Memory) is a time cyclic neural network, which is specially designed to solve the long-term dependence problem of general RNN (recurrent neural network). All RNNs have a Repeat the chain form of neural network modules. In a standard RNN, this repeated structural module has only a very simple structure, such as a tanh layer.
  • the calculation of the license plate character recognition result tensor according to the attention map includes: weighting the attention map and the feature map to obtain a weighted map; and inputting the weighted map to a preset length
  • the short-term memory network model outputs the license plate character recognition result tensor corresponding to the target license plate image.
  • Steps 302 and 303 are the same LSTM.
  • these input values and output values are all vectors.
  • c t-1 is the one-hot encoding vector of the previous character number in the target license plate image
  • u t,c is the feature vector of the weighted image obtained after the weighted summation of the attention map and the feature map
  • w c and w u1 are the parameters of the weight matrix of the LSTM model obtained in advance, and are updated during the training of the LSTM model.
  • st is the hidden state of the LSTM at time t, which is a column vector
  • o t is the output vector of the LSTM at time t.
  • the character recognition result tensor at time t is obtained by the following formula (7):
  • the license plate character recognition tensor includes multiple positions of the character recognition tensor, and the character recognition tensor at each position includes multiple candidate characters.
  • the target license plate is determined according to the license plate character recognition tensor.
  • the image's license plate recognition result can include:
  • fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle may include:
  • the fusion of the plurality of license plate recognition results to obtain the fused license plate recognition result may further include: calculating the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result; taking qualified characters For the most N number of license plate recognition results, the license plate recognition results are fused, and the fused license plate recognition result is obtained.
  • the rules are as follows: a) Clear and correctly recognized characters, the confidence of Top5 candidate characters, the confidence of Top1 character is much greater than the confidence of other candidate characters, for example, the confidence of Top1 is greater than 0.9, and The total confidence of the remaining candidate characters is 0.1; b) When the characters are blurred, the confidence of the Top5 candidate characters cannot be widened. For example, the confidence of Top1 is 0.6 and the confidence of Top2 is 0.3.
  • a confidence threshold can be set, the number of qualified characters in the license plate recognition result that meets the confidence threshold can be calculated, and the number of qualified characters in the license plate recognition result can be used as an index for the quality of the license plate. For example, if the confidence threshold is 0.9, a certain license plate recognition result includes 6 characters, which are distributed in order of 0.95, 0.98, 0.97, 0.95, 0.89, 0.94. Among them, the number of characters that meet the confidence threshold is 5, that is, qualified characters The number is 5.
  • the N license plate recognition results with the largest number of qualified characters are taken, and the license plate recognition results are merged, and the following methods can be specifically adopted to obtain the merged license plate recognition result:
  • each license plate recognition result contains the position information of each character, based on this position information, character alignment is performed, and then the characters in each position are voted and sorted to obtain the best character at that position.
  • the specific steps are as follows:
  • the abscissa of the character vertex x and the character width width can be obtained according to the following formula, and the abscissa of the character center point can be calculated:
  • the candidate character with the highest score is subsequently obtained as the optimal character at that position, and the optimal characters in all positions are arranged in the order from left to right, and the result of the fusion license plate recognition can be obtained.
  • the multiple license plate recognition results are merged, and after the merged license plate recognition result is obtained, the merged license plate recognition result may be a complete license plate information, or it may only include a part of the license plate information.
  • the license plate recognition result of the target vehicle can be determined by searching in a preset license plate database according to the fusion license plate recognition result. For example, take the license plate recognition scene at the loading and unloading port of the transfer yard as an example, according to the result of the license plate recognition after fusion, it can be matched in the vehicle database of the logistics transfer yard to obtain the complete license plate number.
  • multiple license plate images of the target vehicle are acquired; license plate recognition is performed on the multiple license plate images to obtain multiple license plate recognition results; multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle.
  • multiple license plate recognition results are obtained by recognizing multiple license plate images of the target vehicle, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. Because the final license plate recognition of the target vehicle is determined The result is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
  • license plate recognition methods include license plate detection, image binarization, character segmentation, character recognition and other steps. Because license plate detection will have misdetection, it is generally necessary to add an image quality judgment link before image binarization. Using a small classification network to eliminate non-license plate and fuzzy license plate images, the traditional method contains so many links, which leads to a lot of manpower for data labeling and model training in each link. In addition, the final recognition accuracy rate is obtained by multiplying the accuracy rates of each link. Because there are too many links, and each link cannot reach 100%, there is a bottleneck that is difficult to break through in the recognition accuracy rate.
  • the image quality judgment, image binarization, character segmentation and character recognition in the existing license plate recognition process are integrated into a deep neural network (Attention-OCR).
  • Attention-OCR deep neural network
  • the Attention-OCR network structure is shown in Figure 1, including the following parts: a CNN network model and an LSTM network model.
  • a CNN network model By inputting an image sequence in CNN, outputting the feature map corresponding to the image sequence, extracting the attention map from each feature map , Input the attention map into the LSTM to get the character recognition result tensor at time t, analyze the character recognition result tensor at time t to get the confidence of each candidate character, and take the character with the highest confidence as the character recognition result at that position.
  • the attention map After visualizing the attention map, it is superimposed on the original license plate image, as shown in Figure 5, where the small square is the attention map.
  • the number of qualified characters in the license plate recognition result that meets the confidence threshold is calculated, the number of qualified characters in the license plate recognition result is used as the index of license plate quality judgment, and the five license plate recognition results with the largest number of qualified characters are taken to merge the license plate recognition results. According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
  • an embodiment of the present invention also provides a license plate recognition device.
  • the license plate recognition device 600 includes:
  • the acquiring unit 601 is configured to acquire multiple license plate images of the target vehicle
  • the recognition unit 602 is configured to perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
  • the determining unit 603 is configured to merge the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
  • the identification unit 602 is specifically configured to:
  • the license plate recognition result of the target license plate image is determined.
  • the identification unit 602 is specifically configured to:
  • the target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
  • the identification unit 602 is specifically configured to:
  • the weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
  • the license plate character recognition tensor includes character recognition tensors at multiple positions, and the character recognition tensor at each position includes multiple candidate characters, and the recognition unit 602 is specifically configured to:
  • the candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
  • the determining unit 603 is specifically configured to:
  • the determining unit 603 is specifically configured to:
  • the acquiring unit 601 is specifically configured to:
  • the license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  • the acquiring unit 601 is specifically configured to:
  • a multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
  • multiple license plate images of the target vehicle are acquired by the acquiring unit 601; the recognition unit 602 performs license plate recognition on the multiple license plate images to obtain multiple license plate recognition results; the determining unit 603 merges the multiple license plate recognition results, Determine the result of the license plate recognition of the target vehicle.
  • multiple license plate recognition results are obtained by recognizing multiple license plate images of the target vehicle, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. Because the final license plate recognition of the target vehicle is determined The result is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
  • An embodiment of the present invention also provides an electronic device that integrates any of the license plate recognition devices provided in the embodiments of the present invention, and the electronic device includes:
  • One or more processors are One or more processors;
  • the embodiment of the present invention also provides an electronic device that integrates any of the license plate recognition methods provided in the embodiment of the present invention.
  • FIG. 7 shows a schematic structural diagram of an electronic device involved in an embodiment of the present invention, specifically:
  • the electronic device may include one or more processing core processors 701, one or more computer-readable storage medium memory 702, power supply 703, input unit 704 and other components.
  • processing core processors 701 one or more computer-readable storage medium memory 702, power supply 703, input unit 704 and other components.
  • FIG. 7 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements. among them:
  • the processor 701 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and/or modules stored in the memory 702, and calls Data, perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 701.
  • the memory 702 may be used to store software programs and modules.
  • the processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702.
  • the memory 702 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of electronic equipment, etc.
  • the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the memory 702 may further include a memory controller to provide the processor 701 with access to the memory 702.
  • the electronic device also includes a power supply 703 for supplying power to various components.
  • the power supply 703 can be logically connected to the processor 701 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system.
  • the power supply 703 may also include any components such as one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
  • the electronic device may further include an input unit 704, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • an input unit 704 can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the electronic device may also include a display unit, etc., which will not be repeated here.
  • the processor 701 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run and store the executable file in the memory 702.
  • the application programs in the memory 702, thereby realizing various functions, are as follows:
  • an embodiment of the present invention provides a computer-readable storage medium, which may include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. .
  • a computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the license plate recognition methods provided in the embodiments of the present invention.
  • the computer program can be loaded by the processor to perform the following steps:
  • each of the above units or structures can be implemented as independent entities, or can be combined arbitrarily, and implemented as the same or several entities.
  • specific implementation of each of the above units or structures please refer to the previous method embodiments. No longer.

Abstract

A vehicle license plate recognition method and apparatus, an electronic device and a storage medium. The vehicle license plate recognition method comprises: acquiring a plurality of vehicle license plate images of a target vehicle (201); performing vehicle license plate recognition on the plurality of vehicle license plate images respectively, so as to obtain a plurality of vehicle license plate recognition results (202); and fusing the plurality of vehicle license plate recognition results, and determining a vehicle license plate recognition result of the target vehicle (203). As the finally determined recognition result of the vehicle license plate of the target vehicle is determined by fusing a plurality of recognition results of the vehicle license plate, the influence on the recognition result of the vehicle license plate caused by false detection of the vehicle license plate and motion blur of the vehicle license plate can be effectively eliminated, greatly improving the accuracy of recognition of vehicle license plates.

Description

车牌识别方法、装置、电子设备及存储介质License plate recognition method, device, electronic equipment and storage medium 技术领域Technical field
本发明涉及车牌识别技术领域,具体涉及一种车牌识别方法、装置、电子设备及存储介质。The invention relates to the technical field of license plate recognition, in particular to a license plate recognition method, device, electronic equipment and storage medium.
背景技术Background technique
车牌识别是光学字符识别(Optical Character Recognition,OCR)领域的一个热门应用领域,市面上已有大量的停车场、收费站的车牌识别解决方案。但是,这些应用场景中,车牌距离摄像头在1米左右,加上配套的照明系统,专有摄像头,拍摄的车牌图像成像质量很高,自然可以达到较高的车牌识别准确率。License plate recognition is a popular application field in the field of Optical Character Recognition (OCR). There are a large number of license plate recognition solutions for parking lots and toll stations on the market. However, in these application scenarios, the license plate is about 1 meter away from the camera, coupled with the supporting lighting system and a proprietary camera, the image quality of the license plate image captured is very high, and naturally a high license plate recognition accuracy rate can be achieved.
在实际的一些应用场景中,摄像头有时候距离车辆或车牌往往较远(例如超过3m),且摄像头非专有摄像头,例如应用于物流中转场的装卸口的车牌识别系统,用于识别装卸车辆的车牌号。为了节省成本,该车牌识别系统使用的是装卸口的监控摄像头,而不是前述车牌识别方案中的专有摄像头。装卸口的监控摄像头一般安装在接近天花板的位置,车辆停靠到位时,摄像头与车牌的距离都大于3米,而在车辆的停靠和离开过程中,距离最大可达10米以上,导致画面中车牌的像素面积过小,给识别带来挑战。其次,中转场的复杂光照条件,例如光照不足、逆光、车牌反光等也给识别带来挑战。另外,中转场的车辆主要是大型货车,而货车装卸货时只能看到车尾车牌,在画面中车尾的双层黄色车牌的第一行汉字和字母过小,导致识别困难,尤其是笔画较多的汉字,如“赣”、“藏”、“鄂”笔画粘连在一起,就更加难以识别。同时,由于摄像头安装位置很高,导致有些车型的车牌上半部会被后保险杠挡住,第一行的字符就无法识别。In some actual application scenarios, the camera is sometimes far away from the vehicle or the license plate (for example, more than 3m), and the camera is a non-proprietary camera, such as the license plate recognition system applied to the loading and unloading port of the logistics transfer yard, used to identify loading and unloading vehicles License plate number. In order to save costs, the license plate recognition system uses a monitoring camera at the loading and unloading port instead of the proprietary camera in the aforementioned license plate recognition solution. The monitoring camera of the loading and unloading port is generally installed close to the ceiling. When the vehicle is parked in place, the distance between the camera and the license plate is greater than 3 meters, and the distance can be up to 10 meters or more during the parking and leaving of the vehicle, resulting in the license plate in the picture The pixel area is too small, which brings challenges to recognition. Secondly, the complex lighting conditions in the transit field, such as insufficient lighting, backlighting, and license plate reflections, also pose challenges for recognition. In addition, the vehicles in the transit yard are mainly large trucks, and only the rear license plate can be seen when the truck is loading and unloading. In the picture, the first line of Chinese characters and letters of the double-layer yellow license plate at the rear of the vehicle are too small, which makes it difficult to recognize, especially Chinese characters with many strokes, such as "Gan", "Zang", and "E" are stuck together, making it more difficult to recognize. At the same time, due to the high installation position of the camera, the upper part of the license plate of some models will be blocked by the rear bumper, and the characters in the first line cannot be recognized.
另外传统的车牌识别方法包括了车牌检测、图像二值化、字符分割、字符识别等步骤,由于车牌检测会存在误检,一般还要在图像二值化之前增加一个图像质量判别的环节,该环节用一个小型分类网络将非车牌和模糊的车牌图像剔除,传统方法包含的环节如此之多,导致在每一个环节都耗费了大量的人力 进行数据标注和模型训练。此外,最终的识别准确率由各个环节的准确率相乘得到,由于环节太多,而每一环节都不可能达到100%,所以车牌识别的准确率存在一个难以突破的瓶颈。In addition, traditional license plate recognition methods include license plate detection, image binarization, character segmentation, character recognition and other steps. Because license plate detection will have misdetection, it is generally necessary to add an image quality judgment link before image binarization. The link uses a small classification network to eliminate non-license plate and fuzzy license plate images. The traditional method contains so many links, which leads to a lot of manpower for data labeling and model training in each link. In addition, the final recognition accuracy is obtained by multiplying the accuracy of each link. Because there are too many links, and each link cannot reach 100%, there is a bottleneck that is difficult to break through the accuracy of license plate recognition.
技术问题technical problem
由上可知,传统车牌识别方法识别环节过多,且易受环境条件影响,导致车牌识别准确度较低。It can be seen from the above that traditional license plate recognition methods have too many recognition links and are susceptible to environmental conditions, resulting in low accuracy of license plate recognition.
技术解决方案Technical solutions
本申请实施例提供一种车牌识别方法、装置、电子设备及存储介质,能有效剔除车牌误检、车牌运动模糊对车牌识别结果的影响,大幅提升车牌识别的准确率。The embodiments of the present application provide a license plate recognition method, device, electronic equipment, and storage medium, which can effectively eliminate the influence of misdetection of license plates and blurring of license plate motion on the result of license plate recognition, and greatly improve the accuracy of license plate recognition.
一方面,本申请提供一种车牌识别方法,所述车牌识别方法包括:In one aspect, the present application provides a method for recognizing a license plate, and the method for recognizing a license plate includes:
获取目标车辆的多张车牌图像;Acquire multiple license plate images of the target vehicle;
对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;Performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。Fusion of the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果,包括:In some embodiments of the present application, performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results includes:
分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图;Respectively taking the license plate images in the plurality of license plate images as target license plate images, extracting features of the target license plate images, and obtaining feature maps corresponding to the license plate images;
提取所述特征图中字符的注意力图;Extracting the attention map of the characters in the feature map;
根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量;Calculating, according to the attention map, a license plate character recognition result tensor corresponding to the target license plate image;
根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。According to the license plate character recognition tensor, the license plate recognition result of the target license plate image is determined.
在本申请一些实施例中,所述提取所述目标车牌图像特征,得到所述车牌图像对应的特征图,包括:In some embodiments of the present application, the extracting features of the target license plate image to obtain a feature map corresponding to the license plate image includes:
将所述目标车牌图像输入预设的卷积神经网络模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。The target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
在本申请一些实施例中,所述根据所述注意力图计算车牌字符识别结果张量,包括:In some embodiments of the present application, the calculating the tensor of the license plate character recognition result according to the attention map includes:
将所述注意力图与所述特征图进行加权,得到加权图;Weighting the attention map and the feature map to obtain a weighted map;
将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。The weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
在本申请一些实施例中,所述车牌字符识别张量中包括多个位置的字符识别张量,每个位置的字符识别张量包括多个候选字符,所述根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果,包括:In some embodiments of the present application, the license plate character recognition tensor includes a character recognition tensor at multiple positions, and the character recognition tensor at each position includes a plurality of candidate characters. According to the license plate character recognition tensor, it is determined The license plate recognition result of the target license plate image includes:
解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符的置信度;Parse the license plate character recognition tensor to obtain the confidence level of each candidate character in the character recognition tensor at each position;
根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符;Determine the candidate character with the highest confidence in each position according to the confidence of each candidate character in the character recognition tensor of each position;
取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。The candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
在本申请一些实施例中,所述对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果,包括:In some embodiments of the present application, the fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle includes:
对所述多个车牌识别结果进行融合,得到融合后车牌识别结果;Fusing the multiple license plate recognition results to obtain a fused license plate recognition result;
根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述对所述多个车牌识别结果进行融合,得到融合后车牌识别结果,包括:In some embodiments of the present application, the fusion of the multiple license plate recognition results to obtain the fused license plate recognition result includes:
计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;Calculate the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result;
取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Take the N license plate recognition results with the largest number of qualified characters, perform the fusion of the license plate recognition results, and obtain the fused license plate recognition results.
在本申请一些实施例中,所述获取目标车辆的多张车牌图像,包括:In some embodiments of the present application, the acquiring multiple license plate images of the target vehicle includes:
获取采集到的所述目标车辆的监控视频;Acquiring the collected surveillance video of the target vehicle;
在所述监控视频中检测车牌,以得到包括车牌的多张图像;Detecting the license plate in the surveillance video to obtain multiple images including the license plate;
对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。The license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
在本申请一些实施例中,所述在所述监控视频中检测车牌,以得到包括车牌的多张图像,包括:In some embodiments of the present application, the detecting the license plate in the surveillance video to obtain multiple images including the license plate includes:
采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。A multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
另一方面,本申请提供一种车牌识别装置,所述车牌识别装置包括:In another aspect, the present application provides a license plate recognition device, the license plate recognition device includes:
获取单元,用于获取目标车辆的多张车牌图像;The acquiring unit is used to acquire multiple license plate images of the target vehicle;
识别单元,用于对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;A recognition unit, configured to perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
确定单元,用于对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。The determining unit is used for fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述识别单元具体用于:In some embodiments of the present application, the identification unit is specifically configured to:
分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图;Respectively taking the license plate images in the plurality of license plate images as target license plate images, extracting features of the target license plate images, and obtaining feature maps corresponding to the license plate images;
提取所述特征图中字符的注意力图;Extracting the attention map of the characters in the feature map;
根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量;Calculating, according to the attention map, a license plate character recognition result tensor corresponding to the target license plate image;
根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。According to the license plate character recognition tensor, the license plate recognition result of the target license plate image is determined.
在本申请一些实施例中,所述识别单元具体用于:In some embodiments of the present application, the identification unit is specifically configured to:
将所述目标车牌图像输入预设的卷积神经网络模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。The target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
在本申请一些实施例中,所述识别单元具体用于:In some embodiments of the present application, the identification unit is specifically configured to:
将所述注意力图与所述特征图进行加权,得到加权图;Weighting the attention map and the feature map to obtain a weighted map;
将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。The weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
在本申请一些实施例中,所述车牌字符识别张量中包括多个位置的字符识 别张量,每个位置的字符识别张量包括多个候选字符,所述识别单元具体用于:In some embodiments of the present application, the license plate character recognition tensor includes character recognition tensors at multiple positions, and the character recognition tensor at each position includes multiple candidate characters, and the recognition unit is specifically configured to:
解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符的置信度;Parse the license plate character recognition tensor to obtain the confidence level of each candidate character in the character recognition tensor at each position;
根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符;Determine the candidate character with the highest confidence in each position according to the confidence of each candidate character in the character recognition tensor of each position;
取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。The candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
在本申请一些实施例中,所述确定单元具体用于:In some embodiments of the present application, the determining unit is specifically configured to:
对所述多个车牌识别结果进行融合,得到融合后车牌识别结果;Fusing the multiple license plate recognition results to obtain a fused license plate recognition result;
根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述确定单元具体用于:In some embodiments of the present application, the determining unit is specifically configured to:
计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;Calculate the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result;
取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Take the N license plate recognition results with the largest number of qualified characters, perform the fusion of the license plate recognition results, and obtain the fused license plate recognition results.
在本申请一些实施例中,所述获取单元具体用于:In some embodiments of the present application, the acquiring unit is specifically configured to:
获取采集到的所述目标车辆的监控视频;Acquiring the collected surveillance video of the target vehicle;
在所述监控视频中检测车牌,以得到包括车牌的多张图像;Detecting the license plate in the surveillance video to obtain multiple images including the license plate;
对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。The license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
在本申请一些实施例中,所述获取单元具体用于:In some embodiments of the present application, the acquiring unit is specifically configured to:
采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。A multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
另一方面,本申请还提供一种电子设备,所述电子设备包括:On the other hand, this application also provides an electronic device, which includes:
一个或多个处理器;One or more processors;
存储器;以及Memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器 中,并配置为由所述处理器执行以实现上述车牌识别方法中的步骤。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps in the license plate recognition method described above.
另一方面,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行所述的车牌识别方法中的步骤。On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the license plate recognition method.
有益效果Beneficial effect
本申请中通过获取目标车辆的多张车牌图像;对多张车牌图像分别进行车牌识别,得到多个车牌识别结果;对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果。本申请中通过对目标车辆的多张车牌图像进行识别,得到多个车牌识别结果,对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果,由于最终确定的目标车辆的车牌识别结果是由多个车牌识别结果进行融合后确定的,因此能有效剔除车牌误检、车牌运动模糊对车牌识别结果的影响,大幅提升车牌识别的准确率。In this application, multiple license plate images of the target vehicle are acquired; license plate recognition is performed on the multiple license plate images to obtain multiple license plate recognition results; multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. In this application, by recognizing multiple license plate images of the target vehicle, multiple license plate recognition results are obtained, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle, because the final license plate recognition result of the target vehicle is It is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1是本发明实施例提供的车牌识别系统的场景示意图;FIG. 1 is a schematic diagram of a scene of a license plate recognition system provided by an embodiment of the present invention;
图2是本发明实施例提供的车牌识别方法的一个实施例流程示意图;2 is a schematic flowchart of an embodiment of a method for recognizing a license plate provided by an embodiment of the present invention;
图3是本发明实施例中步骤202中一个实施例流程示意图;FIG. 3 is a schematic flowchart of an embodiment in step 202 in an embodiment of the present invention;
图4是本发明实施例中车牌识别场景的一个具体场景示意图;4 is a schematic diagram of a specific scene of a license plate recognition scene in an embodiment of the present invention;
图5是本发明实施例中注意力图与车牌原图叠加后的一个示意图;FIG. 5 is a schematic diagram of the attention map and the original image of the license plate in the embodiment of the present invention after being superimposed;
图6是本发明实施例中车牌识别装置的一个实施例结构示意图;Fig. 6 is a schematic structural diagram of an embodiment of a license plate recognition device in an embodiment of the present invention;
图7是本发明实施例中电子设备的一个实施例结构示意图。Fig. 7 is a schematic structural diagram of an embodiment of an electronic device in an embodiment of the present invention.
本发明的实施方式Embodiments of the present invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是 全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship indicated by “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, and “outer” are based on the orientation shown in the drawings The or positional relationship is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the pointed device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more than two, unless otherwise specifically defined.
在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本发明,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本发明。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本发明的描述变得晦涩。因此,本发明并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described as "exemplary" in this application is not necessarily construed as being more preferred or advantageous over other embodiments. In order to enable any person skilled in the art to implement and use the present invention, the following description is given. In the following description, the details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can realize that the present invention can also be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessary details to obscure the description of the present invention. Therefore, the present invention is not intended to be limited to the illustrated embodiments, but is consistent with the widest scope that conforms to the principles and features disclosed in the present application.
本发明实施例提供一种车牌识别方法、装置、电子设备及存储介质,以下分别进行详细说明。The embodiments of the present invention provide a license plate recognition method, device, electronic equipment, and storage medium, which will be described in detail below.
请参阅图1,图1为本发明实施例所提供的车牌识别系统的场景示意图,该车牌识别系统可以包括监控设备100和电子设备200,监控设备100和电子设备20网络连接,电子设备200中集成有车牌识别装置,如图1中的电子设备,监控设备100可以访问电子设备200。Please refer to FIG. 1, which is a schematic diagram of a scene of a license plate recognition system provided by an embodiment of the present invention. The license plate recognition system may include a monitoring device 100 and an electronic device 200. The monitoring device 100 and the electronic device 20 are connected to each other through a network. Integrated with a license plate recognition device, such as the electronic device in FIG. 1, the monitoring device 100 can access the electronic device 200.
本发明实施例中电子设备200主要用于获取目标车辆的多张车牌图像;对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。In the embodiment of the present invention, the electronic device 200 is mainly used to obtain multiple license plate images of a target vehicle; perform license plate recognition on the multiple license plate images respectively to obtain multiple license plate recognition results; merge the multiple license plate recognition results, Determine the license plate recognition result of the target vehicle.
本发明实施例中监控设备100主要用于拍摄监控视频图像,并传输给电子 设备200。In the embodiment of the present invention, the monitoring device 100 is mainly used to shoot monitoring video images and transmit them to the electronic device 200.
本发明实施例中,该电子设备200可以是独立的服务器,也可以是服务器组成的服务器网络或服务器集群,例如,本发明实施例中所描述的电子设备200,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云服务器。其中,云服务器由基于云计算(Cloud Computing)的大量计算机或网络服务器构成。本发明的实施例中,电子设备200与监控设备100之间可通过任何通信方式实现通信,包括但不限于,基于第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)、长期演进(Long Term Evolution,LTE)、全球互通微波访问(Worldwide Interoperability for Microwave Access,WiMAX)的移动通信,或基于TCP/IP协议族(TCP/IP Protocol Suite,TCP/IP)、用户数据报协议(User Datagram Protocol,UDP)协议的计算机网络通信等。In the embodiment of the present invention, the electronic device 200 may be an independent server, or a server network or server cluster composed of servers. For example, the electronic device 200 described in the embodiment of the present invention includes, but is not limited to, a computer and a network. A host, a single web server, a set of multiple web servers, or a cloud server composed of multiple servers. Among them, the cloud server is composed of a large number of computers or network servers based on Cloud Computing. In the embodiment of the present invention, the electronic device 200 and the monitoring device 100 can communicate through any communication method, including but not limited to, based on the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP), Long Term Evolution (Long Term) Evolution, LTE), Worldwide Interoperability for Microwave Access (WiMAX) mobile communications, or based on the TCP/IP protocol suite (TCP/IP Protocol Suite, TCP/IP), User Datagram Protocol (User Datagram Protocol, UDP) protocol computer network communication, etc.
可以理解的是,本发明实施例中所使用的监控设备100可以是既包括接收和发射硬件的设备,即具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种监控设备100可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备。具体的监控设备100具体可以是监控摄像头。It is understandable that the monitoring device 100 used in the embodiment of the present invention may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a monitoring device 100 may include a cellular or other communication device with a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific monitoring device 100 may specifically be a monitoring camera.
本领域技术人员可以理解,图1中示出的应用环境,仅仅是与本申请方案一种应用场景,并不构成对本申请方案应用场景的限定,其他的应用环境还可以包括比图1中所示更多或更少的电子设备,或者电子设备网络连接关系,例如图1中仅示出1个电子设备和2个监控设备,可以理解的,该车牌识别系统还可以包括一个或多个其他电子设备,或/且一个或多个与电子设备网络连接的其他监控设备,具体此处不作限定。Those skilled in the art can understand that the application environment shown in Fig. 1 is only an application scenario with the solution of this application, and does not constitute a limitation on the application scenario of the solution of this application. Other application environments may also include those shown in Fig. 1 Show more or fewer electronic devices, or the network connection relationship of electronic devices. For example, only one electronic device and two monitoring devices are shown in Figure 1. It is understandable that the license plate recognition system may also include one or more other The electronic device, or/and one or more other monitoring devices connected to the electronic device network, are not specifically limited here.
另外,如图1所示,该车牌识别系统还可以包括存储器300,用于存储数据,如存储视频数据,例如监控设备采集采集的视频文件。In addition, as shown in FIG. 1, the license plate recognition system may also include a memory 300 for storing data, such as storing video data, for example, video files collected by a monitoring device.
需要说明的是,图1所示的车牌识别系统的场景示意图仅仅是一个示例,本发明实施例描述的车牌识别系统以及场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着车牌识别系统的演变和新业务场景的出现,本发明实 施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the scene schematic diagram of the license plate recognition system shown in FIG. 1 is only an example. The license plate recognition system and the scene described in the embodiment of the present invention are intended to explain the technical solutions of the embodiments of the present invention more clearly, and do not constitute As for the limitation of the technical solutions provided by the embodiments of the present invention, those of ordinary skill in the art know that with the evolution of the license plate recognition system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
首先,本发明实施例中提供一种车牌识别方法,该车牌识别方法的执行主体为车牌识别装置,该车牌识别装置应用于电子设备,该车牌识别方法包括:获取目标车辆的多张车牌图像;对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。First, an embodiment of the present invention provides a license plate recognition method. The execution body of the license plate recognition method is a license plate recognition device, and the license plate recognition device is applied to electronic equipment. The license plate recognition method includes: acquiring multiple license plate images of a target vehicle; Performing license plate recognition on the multiple license plate images respectively to obtain multiple license plate recognition results; fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
如图2所示,为本发明实施例中车牌识别方法的一个实施例流程示意图,该车牌识别方法包括:As shown in FIG. 2, it is a schematic flowchart of an embodiment of a license plate recognition method in an embodiment of the present invention. The license plate recognition method includes:
201、获取目标车辆的多张车牌图像。201. Acquire multiple license plate images of the target vehicle.
具体的,在本发明一些实施例中,所述获取目标车辆的多张车牌图像,可以包括:获取采集到的所述目标车辆的监控视频;在所述监控视频中检测车牌,以得到包括车牌的多张图像;对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。其中,获取采集到的所述目标车辆的监控视频可以是通过一个或多个监控设备拍摄的监控视频。Specifically, in some embodiments of the present invention, the acquiring multiple license plate images of the target vehicle may include: acquiring the collected surveillance video of the target vehicle; detecting the license plate in the surveillance video to obtain the license plate The multiple images of the multiple images; the license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle. Wherein, the acquired monitoring video of the target vehicle may be a monitoring video shot by one or more monitoring devices.
进一步,所述在所述监控视频中检测车牌,以得到包括车牌的多张图像,包括:采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。具体的,对于摄像头采集到的监控视频,可以应用SSD(Single Shot MultiBox Detector)多目标检测网络模型持续检测车牌,将检测到的车牌图像从原图中裁剪出来,归一化为统一的尺寸,作为输入后续步骤的图像序列。Further, the detecting the license plate in the surveillance video to obtain multiple images including the license plate includes: detecting the license plate in the surveillance video by using a multi-target detection method to obtain multiple images including the license plate. Specifically, for the surveillance video collected by the camera, the SSD (Single Shot MultiBox Detector) multi-target detection network model can be used to continuously detect the license plate, and the detected license plate image is cropped from the original image and normalized to a uniform size. As input to the image sequence of the subsequent steps.
其中,SSD算法是一种直接预测目标类别和bounding box的多目标检测算法。SSD算法利用不同卷积层的feature map(特征映射)进行综合也能达到同样的效果,SSD算法的主网络结构是VGG16。Among them, the SSD algorithm is a multi-target detection algorithm that directly predicts the target category and bounding box. The SSD algorithm uses feature maps of different convolutional layers for synthesis to achieve the same effect. The main network structure of the SSD algorithm is VGG16.
由于物流中转场的装卸口,也会用于识别装卸车辆的车牌号。为了节省成本,该中转场一般使用的是装卸口的监控摄像头,而不是专有摄像头。装卸口的监控摄像头一般安装在接近天花板的位置,车辆停靠到位时,摄像头与车牌的距离都大于3米,而在车辆的停靠和离开过程中,距离最大可达10米以上,导致画面中车牌的像素面积过小,给识别带来挑战。中转场的复杂光照条件,例如光照不足、逆光、车牌反光等也给识别带来挑战。另外,中转场的车辆主 要是大型货车,而货车装卸货时只能看到车尾车牌,在画面中车尾的双层黄色车牌的第一行汉字和字母过小,导致识别困难,尤其是笔画较多的汉字,如“赣”、“藏”、“鄂”笔画粘连在一起,就更加难以识别。同时,由于摄像头安装位置很高,导致有些车型的车牌上半部会被后保险杠挡住,第一行的字符就无法识别。As the loading and unloading port of the logistics transfer yard, it will also be used to identify the license plate number of the loading and unloading vehicle. In order to save costs, the transit site generally uses surveillance cameras at the loading and unloading ports instead of proprietary cameras. The monitoring camera of the loading and unloading port is generally installed close to the ceiling. When the vehicle is parked in place, the distance between the camera and the license plate is greater than 3 meters, and the distance can be up to 10 meters or more during the parking and leaving of the vehicle, resulting in the license plate in the picture The pixel area is too small, which brings challenges to recognition. The complex lighting conditions in the transit field, such as insufficient lighting, backlighting, and license plate reflections, also pose challenges for recognition. In addition, the vehicles in the transit yard are mainly large trucks, and only the rear license plate can be seen when the truck is loading and unloading. In the picture, the first line of Chinese characters and letters of the double-layer yellow license plate at the rear of the vehicle are too small, which makes it difficult to recognize, especially Chinese characters with many strokes, such as "Gan", "Zang", and "E" are stuck together, making it more difficult to recognize. At the same time, due to the high installation position of the camera, the upper part of the license plate of some models will be blocked by the rear bumper, and the characters in the first line cannot be recognized.
因此,本发明实施例中主要应用场景可以是装卸口装卸车辆的车牌号识别场景,该目标车辆即为装卸口的装卸车辆,监控设备为中转场装卸口设置的监控设备,当然也不限定其他应用场景,例如对其他车牌识别要求较高的场景均可。Therefore, the main application scenario in the embodiment of the present invention can be the license plate number recognition scenario of the loading and unloading vehicle at the loading and unloading port. The target vehicle is the loading and unloading vehicle at the loading and unloading port, and the monitoring device is the monitoring device set at the loading and unloading port of the transfer yard. Application scenarios, such as scenarios with higher requirements for other license plate recognition.
202、对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果。202. Perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results.
本发明实施例中,在步骤201中得到目标车辆的多张车牌图像之后,即可对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果。具体的,即对每个车牌图像进行车牌识别,即得到一个车牌识别结果。In the embodiment of the present invention, after obtaining multiple license plate images of the target vehicle in step 201, license plate recognition can be performed on the multiple license plate images to obtain multiple license plate recognition results. Specifically, the license plate recognition is performed on each license plate image to obtain a license plate recognition result.
其中,如图3所示,所述对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果,可以进一步包括:Wherein, as shown in FIG. 3, performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results may further include:
301、分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图。301. Using license plate images in the plurality of license plate images as target license plate images, extract features of the target license plate images to obtain feature maps corresponding to the license plate images.
具体的,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图,包括:将所述目标车牌图像输入预设的卷积神经网络(Convolutional Neural Networks,CNN)模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。其中,该预设的CNN模型可以是利用采集的大量车牌图像数据训练之后得到。Specifically, extracting features of the target license plate image to obtain a feature map corresponding to the license plate image includes: inputting the target license plate image into a preset convolutional neural network (Convolutional Neural Networks, CNN) model to use the The convolutional neural network model extracts features corresponding to the license plate image, and outputs a feature map corresponding to the target license plate image. Among them, the preset CNN model may be obtained after training using a large amount of collected license plate image data.
例如,预设的CNN模型用于提取图像特征,将目标车牌图像输入预设的CNN模型,即可得到目标车牌图像对应的特征图f={f i,j,c},其中,f={f i,j,c}是经过CNN模型得到的特征图,是一个3维的张量,i,j代表特征图的位置坐标,c代表特征图的通道。 For example, the preset CNN model is used to extract image features, and the target license plate image is input into the preset CNN model to obtain the feature map corresponding to the target license plate image f={f i,j,c }, where f={ f i,j,c } is the feature map obtained through the CNN model, which is a 3-dimensional tensor, i, j represent the position coordinates of the feature map, and c represents the channel of the feature map.
302、提取所述特征图中字符的注意力图。302. Extract an attention map of characters in the feature map.
其中,该注意力图即所述特征图中字符的视觉注意力掩膜,具体的额,提取所述特征图中字符的注意力图可以采用如下公式(1)、公式(2)和公式(3):Wherein, the attention map is the visual attention mask of the characters in the feature map. Specifically, the following formula (1), formula (2), and formula (3) can be used to extract the attention map of the characters in the feature map. :
α t={α t,i,j}          (1) α t ={α t,i,j } (1)
Figure PCTCN2020071330-appb-000001
Figure PCTCN2020071330-appb-000001
α t=soft max i,jt)              (3) α t =soft max i,jt ) (3)
其中,V α是一个预设向量,w s,w f1,w f2,w f3为本次计算前预先获取的CNN模型权值矩阵的参数,在CNN模型训练过程中进行更新,s t是预设的长短期记忆网络(Long Short-Term Memory,LSTM)模型在t时刻的隐藏状态,e i,e j是特征的空间坐标i,j进行独热(one-hot)编码得到的列向量,例如:i=1,2,3,4;j=1,2,3,4,则当i=3,j=4时,
Figure PCTCN2020071330-appb-000002
Among them, V α is a preset vector, w s , w f1 , w f2 , and w f3 are the parameters of the weight matrix of the CNN model obtained in advance before the calculation, which will be updated during the CNN model training process, and st is the preset Suppose the hidden state of the Long Short-Term Memory (LSTM) model at time t, e i , e j are the space coordinates i of the feature, and the column vector obtained by one-hot encoding of j, For example: i = 1, 2, 3, 4; j = 1, 2, 3, 4, then when i = 3, j = 4,
Figure PCTCN2020071330-appb-000002
通过softmax函数归一化后得到注意力图(也称注意力掩膜)α tt是t时刻计算得到的注意力图,是一个矩阵,α t,i,j是矩阵α t的元素,i,j分别为矩阵的行号和列号,是一个标量。 The attention map (also called attention mask) α t is obtained after normalization by the softmax function, α t is the attention map calculated at time t, which is a matrix, α t,i,j are the elements of the matrix α t, i , J is the row number and column number of the matrix respectively, which is a scalar.
长短期记忆网络(LSTM,Long Short-Term Memory)是一种时间循环神经网络,是为了解决一般的RNN(循环神经网络)存在的长期依赖问题而专门设计出来的,所有的RNN都具有一种重复神经网络模块的链式形式。在标准RNN中,这个重复的结构模块只有一个非常简单的结构,例如一个tanh层。Long Short-Term Memory (LSTM, Long Short-Term Memory) is a time cyclic neural network, which is specially designed to solve the long-term dependence problem of general RNN (recurrent neural network). All RNNs have a Repeat the chain form of neural network modules. In a standard RNN, this repeated structural module has only a very simple structure, such as a tanh layer.
303、根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量。303. Calculate the license plate character recognition result tensor corresponding to the target license plate image according to the attention map.
本发明实施例中,所述根据所述注意力图计算车牌字符识别结果张量,包括:将所述注意力图与所述特征图进行加权,得到加权图;将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。In the embodiment of the present invention, the calculation of the license plate character recognition result tensor according to the attention map includes: weighting the attention map and the feature map to obtain a weighted map; and inputting the weighted map to a preset length The short-term memory network model outputs the license plate character recognition result tensor corresponding to the target license plate image.
其中步骤302和303中为同一个LSTM,在t时刻,LSTM的输入有三个:当前t时刻网络的输入值、上一时刻LSTM的输出值、以及上一时刻的单元状态;LSTM的输出有两个:当前t时刻LSTM输出值、和当前t时刻的单元状态。当然这些输入值和输出值都是向量。 Steps 302 and 303 are the same LSTM. At time t, there are three LSTM inputs: the input value of the network at the current time t, the output value of the LSTM at the previous time, and the unit state at the previous time; the output of the LSTM has two A: The output value of LSTM at the current time t, and the unit state at the current time t. Of course, these input values and output values are all vectors.
LSTM在t时刻的输入
Figure PCTCN2020071330-appb-000003
由如下公式(4)和公式(5)得到;
LSTM input at time t
Figure PCTCN2020071330-appb-000003
It is obtained by the following formula (4) and formula (5);
u t,c=∑ i,jα t,i,jf i,j,c      (4) u t,c =∑ i,j α t,i,j f i,j,c (4)
Figure PCTCN2020071330-appb-000004
Figure PCTCN2020071330-appb-000004
其中,c t-1为目标车牌图像中前一个字符序号的独热编码向量,u t,c是经注意力图与特征图加权求和后得到的加权图的特征向量,
Figure PCTCN2020071330-appb-000005
为LSTM在t时刻的输入向量,w c、w u1为预先获取LSTM模型的权值矩阵的参数,在LSTM模型训练时进行更新。
Among them, c t-1 is the one-hot encoding vector of the previous character number in the target license plate image, u t,c is the feature vector of the weighted image obtained after the weighted summation of the attention map and the feature map,
Figure PCTCN2020071330-appb-000005
Is the input vector of the LSTM at time t, w c and w u1 are the parameters of the weight matrix of the LSTM model obtained in advance, and are updated during the training of the LSTM model.
LSTM的状态更新和输出由如下公式(6)得到:The status update and output of LSTM are obtained by the following formula (6):
Figure PCTCN2020071330-appb-000006
Figure PCTCN2020071330-appb-000006
其中,s t是LSTM在t时刻的隐藏状态,是一个列向量,o t是LSTM在t时刻的输出向量,t时刻的字符识别结果张量由如下公式(7)得到: Among them, st is the hidden state of the LSTM at time t, which is a column vector, and o t is the output vector of the LSTM at time t. The character recognition result tensor at time t is obtained by the following formula (7):
Figure PCTCN2020071330-appb-000007
Figure PCTCN2020071330-appb-000007
其中,
Figure PCTCN2020071330-appb-000008
为t时刻的字符识别结果向量,u t为公式(4)计算得到,o t由公式(6)得到,w o、w u2为预先获取的LSTM模型的权值矩阵的参数。
among them,
Figure PCTCN2020071330-appb-000008
Is the character recognition result vector at time t, u t is calculated by formula (4), o t is obtained by formula (6), w o and w u2 are the parameters of the weight matrix of the LSTM model obtained in advance.
304、根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。304. Determine the license plate recognition result of the target license plate image according to the license plate character recognition tensor.
其中,所述车牌字符识别张量中包括多个位置的字符识别张量,每个位置的字符识别张量包括多个候选字符,此时所述根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果,可以包括:Wherein, the license plate character recognition tensor includes multiple positions of the character recognition tensor, and the character recognition tensor at each position includes multiple candidate characters. In this case, the target license plate is determined according to the license plate character recognition tensor. The image's license plate recognition result can include:
(1)解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符的置信度。(1) Analyze the license plate character recognition tensor to obtain the confidence of each candidate character in the character recognition tensor at each position.
(2)根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符。(2) According to the confidence of each candidate character in the character recognition tensor at each position, determine the candidate character with the highest confidence in each position.
(3)取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。(3) Take the candidate character with the highest confidence in each position as the character recognition result at that position, and obtain the license plate recognition result of the target license plate image.
203、对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。203. Fusion of the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
其中,对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果,可以包括:Wherein, fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle may include:
(1)对所述多个车牌识别结果进行融合,得到融合后车牌识别结果。(1) Fusion of the multiple license plate recognition results to obtain the merged license plate recognition result.
其中,所述对所述多个车牌识别结果进行融合,得到融合后车牌识别结果,可以进一步包括:计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Wherein, the fusion of the plurality of license plate recognition results to obtain the fused license plate recognition result may further include: calculating the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result; taking qualified characters For the most N number of license plate recognition results, the license plate recognition results are fused, and the fused license plate recognition result is obtained.
实验中发明人还发现规律如下:a)清晰且识别正确的字符,其置信度Top5候选字符中,Top1字符的置信度远远大于其他候选字符的置信度,例如Top1的置信度大于0.9,而其余候选字符的置信度之和为0.1;b)当字符模糊时,Top5 候选字符的置信度拉不开差距,例如Top1置信度为0.6,Top2置信度为0.3。In the experiment, the inventor also found that the rules are as follows: a) Clear and correctly recognized characters, the confidence of Top5 candidate characters, the confidence of Top1 character is much greater than the confidence of other candidate characters, for example, the confidence of Top1 is greater than 0.9, and The total confidence of the remaining candidate characters is 0.1; b) When the characters are blurred, the confidence of the Top5 candidate characters cannot be widened. For example, the confidence of Top1 is 0.6 and the confidence of Top2 is 0.3.
因此,本发明实施例中,可以设置置信度阈值,可以计算车牌识别结果中满足该置信度阈值的合格字符数量,以车牌识别结果中合格字符数量作为车牌质量判别的指标。例如,置信度阈值为0.9中,某车牌识别结果中包括6个字符,依次分布为0.95,0.98,0.97,0.95,0.89,0.94,其中,满足置信度阈值的字符数量有5个,即合格字符数量为5个。Therefore, in the embodiment of the present invention, a confidence threshold can be set, the number of qualified characters in the license plate recognition result that meets the confidence threshold can be calculated, and the number of qualified characters in the license plate recognition result can be used as an index for the quality of the license plate. For example, if the confidence threshold is 0.9, a certain license plate recognition result includes 6 characters, which are distributed in order of 0.95, 0.98, 0.97, 0.95, 0.89, 0.94. Among them, the number of characters that meet the confidence threshold is 5, that is, qualified characters The number is 5.
本发明实施例中,取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果具体可以采用如下方式:In the embodiment of the present invention, the N license plate recognition results with the largest number of qualified characters are taken, and the license plate recognition results are merged, and the following methods can be specifically adopted to obtain the merged license plate recognition result:
由于每个车牌识别结果含有每个字符的位置信息,基于这个位置信息,进行字符对准,再对每个位置的字符进行投票排序,得到该位置的最佳字符,具体步骤如下:Since each license plate recognition result contains the position information of each character, based on this position information, character alignment is performed, and then the characters in each position are voted and sorted to obtain the best character at that position. The specific steps are as follows:
1、对于车牌识别结果中的每个字符的位置信息,根据如下公式可以得到字符顶点横坐标x,字符宽度width,计算出字符中心点的横坐标:1. For the position information of each character in the license plate recognition result, the abscissa of the character vertex x and the character width width can be obtained according to the following formula, and the abscissa of the character center point can be calculated:
Figure PCTCN2020071330-appb-000009
Figure PCTCN2020071330-appb-000009
2、取N个车牌识别结果中的一个作为基准车牌识别结果,将剩余N-1个车牌识别结果中的每个字符从左往右依次与基准车牌识别结果进行比对,具体地,设定一个阈值,若一个字符的中心点与基准车牌识别结果的所有字符中心点的横坐标距离的最小值小于该阈值,则将该字符归到对应的基准字符处;2. Take one of the N license plate recognition results as the reference license plate recognition result, and compare each character in the remaining N-1 license plate recognition results with the reference license plate recognition result from left to right. Specifically, set A threshold. If the minimum value of the abscissa distance between the center point of a character and the center points of all characters of the reference license plate recognition result is less than the threshold, then the character is assigned to the corresponding reference character;
3、待N-1个车牌识别结果中的所有字符都归类到基准识别结果的对应字符处,则按照基准车牌识别结果的字符位置,从左往右依次进行每个位置的字符投票,假设某位置的候选字符有m个(C 1,C 1...C m),对于字符C i(i=1,2..m),假设出现次数为l,则该字符C i的得分为: 3. After all the characters in the N-1 license plate recognition results are classified into the corresponding characters of the reference recognition result, then according to the character position of the reference license plate recognition result, vote for the characters in each position in turn from left to right, assuming There are m candidate characters (C 1 , C 1 ... C m ) at a certain position. For a character C i (i=1, 2..m), assuming the number of occurrences is l, the score of the character C i is :
Figure PCTCN2020071330-appb-000010
Figure PCTCN2020071330-appb-000010
其中,
Figure PCTCN2020071330-appb-000011
为字符C i的得分,confidence l为字符C i第l次出现的置信度。
among them,
Figure PCTCN2020071330-appb-000011
Is the score of the character C i , and confidence l is the confidence of the first occurrence of the character C i.
4、随后取得分最高的候选字符作为该位置的最优字符,将所有位置的最优字符按照从左往右的顺序排列,就可以得到融合后的车牌识别结果。4. The candidate character with the highest score is subsequently obtained as the optimal character at that position, and the optimal characters in all positions are arranged in the order from left to right, and the result of the fusion license plate recognition can be obtained.
(2)根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。(2) According to the fusion license plate recognition result, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
在上述步骤(1)中对所述多个车牌识别结果进行融合,得到融合后车牌识别结果之后,融合后车牌识别结果可能是一个完整的车牌信息,也可能仅包括一部分车牌信息,此时,为了确保获取到完整车牌识别结果,可以根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。例如,以中转场装卸口车牌识别场景为例,可以根据融合后车牌识别结果,去物流中转场的车辆数据库中进行匹配,得到完整的车牌号码。In the above step (1), the multiple license plate recognition results are merged, and after the merged license plate recognition result is obtained, the merged license plate recognition result may be a complete license plate information, or it may only include a part of the license plate information. In this case, In order to ensure that the complete license plate recognition result is obtained, the license plate recognition result of the target vehicle can be determined by searching in a preset license plate database according to the fusion license plate recognition result. For example, take the license plate recognition scene at the loading and unloading port of the transfer yard as an example, according to the result of the license plate recognition after fusion, it can be matched in the vehicle database of the logistics transfer yard to obtain the complete license plate number.
本发明实施例中通过获取目标车辆的多张车牌图像;对多张车牌图像分别进行车牌识别,得到多个车牌识别结果;对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果。本发明实施例中通过对目标车辆的多张车牌图像进行识别,得到多个车牌识别结果,对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果,由于最终确定的目标车辆的车牌识别结果是由多个车牌识别结果进行融合后确定的,因此能有效剔除车牌误检、车牌运动模糊对车牌识别结果的影响,大幅提升车牌识别的准确率。In the embodiment of the present invention, multiple license plate images of the target vehicle are acquired; license plate recognition is performed on the multiple license plate images to obtain multiple license plate recognition results; multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. In the embodiment of the invention, multiple license plate recognition results are obtained by recognizing multiple license plate images of the target vehicle, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. Because the final license plate recognition of the target vehicle is determined The result is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
下面结合一具体应用场景对本发明实施例中车牌识别方案进行描述:The following describes the license plate recognition solution in the embodiment of the present invention in combination with a specific application scenario:
传统的车牌识别方法包括了车牌检测、图像二值化、字符分割、字符识别等步骤,由于车牌检测会存在误检,一般还要在图像二值化之前增加一个图像质量判别的环节,该环节用一个小型分类网络将非车牌和模糊的车牌图像剔除,传统方法包含的环节如此之多,导致在每一个环节都耗费了大量的人力进行数据标注和模型训练。此外,最终的识别准确率由各个环节的准确率相乘得到,由于环节太多,而每一环节都不可能达到100%,所以识别的准确率存在一个难以突破的瓶颈。Traditional license plate recognition methods include license plate detection, image binarization, character segmentation, character recognition and other steps. Because license plate detection will have misdetection, it is generally necessary to add an image quality judgment link before image binarization. Using a small classification network to eliminate non-license plate and fuzzy license plate images, the traditional method contains so many links, which leads to a lot of manpower for data labeling and model training in each link. In addition, the final recognition accuracy rate is obtained by multiplying the accuracy rates of each link. Because there are too many links, and each link cannot reach 100%, there is a bottleneck that is difficult to break through in the recognition accuracy rate.
因此,如图4所示,本发明实施例中将现有车牌识别过程中的图像质量判别、图像二值化、字符分割和字符识别整合到一个深度神经网络(Attention-OCR)中,在Attention-OCR模型训练过程中,只需要标注车牌号 码,而不需要标注每个字符的位置,简化了标注的工作量,利用大数据(大量采集车牌图像和车牌号码的数据)的优势,使用大量的车牌图像对Attention-OCR网络进行充分的训练,就能达到很高的准确率。Therefore, as shown in FIG. 4, in the embodiment of the present invention, the image quality judgment, image binarization, character segmentation and character recognition in the existing license plate recognition process are integrated into a deep neural network (Attention-OCR). -In the OCR model training process, only the license plate number needs to be labeled, instead of the position of each character, which simplifies the workload of labeling, and uses the advantages of big data (large collection of license plate images and license plate number data). The license plate image is fully trained on the Attention-OCR network to achieve a high accuracy rate.
Attention-OCR网络结构如图1所示,包含如下部分:一个CNN网络模型和一个LSTM网络模型,通过在CNN中输入图像序列,输出图像序列对应的特征图,在每张特征图中提取注意力图,将注意力图输入LSTM即可t时刻的字符识别结果张量,解析t时刻的字符识别结果张量可以得到各候选字符的置信度,取置信度最高的字符为该位置的字符识别结果。将注意力图可视化后,和原车牌图像叠加,如图5所示,其中小方块为注意力图。The Attention-OCR network structure is shown in Figure 1, including the following parts: a CNN network model and an LSTM network model. By inputting an image sequence in CNN, outputting the feature map corresponding to the image sequence, extracting the attention map from each feature map , Input the attention map into the LSTM to get the character recognition result tensor at time t, analyze the character recognition result tensor at time t to get the confidence of each candidate character, and take the character with the highest confidence as the character recognition result at that position. After visualizing the attention map, it is superimposed on the original license plate image, as shown in Figure 5, where the small square is the attention map.
计算车牌识别结果中满足该置信度阈值的合格字符数量,以车牌识别结果中合格字符数量作为车牌质量判别的指标,取合格字符数量最多的5个车牌识别结果,进行车牌识别结果的融合。根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。The number of qualified characters in the license plate recognition result that meets the confidence threshold is calculated, the number of qualified characters in the license plate recognition result is used as the index of license plate quality judgment, and the five license plate recognition results with the largest number of qualified characters are taken to merge the license plate recognition results. According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
为了更好实施本发明实施例中车牌识别方法,在车牌识别方法基础之上,本发明实施例中还提供一种车牌识别装置,如图6所示,该车牌识别装置600包括:In order to better implement the license plate recognition method in the embodiment of the present invention, on the basis of the license plate recognition method, an embodiment of the present invention also provides a license plate recognition device. As shown in FIG. 6, the license plate recognition device 600 includes:
获取单元601,用于获取目标车辆的多张车牌图像;The acquiring unit 601 is configured to acquire multiple license plate images of the target vehicle;
识别单元602,用于对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;The recognition unit 602 is configured to perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
确定单元603,用于对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。The determining unit 603 is configured to merge the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述识别单元602具体用于:In some embodiments of the present application, the identification unit 602 is specifically configured to:
分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图;Respectively taking the license plate images in the plurality of license plate images as target license plate images, extracting features of the target license plate images, and obtaining feature maps corresponding to the license plate images;
提取所述特征图中字符的注意力图;Extracting the attention map of the characters in the feature map;
根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量;Calculating, according to the attention map, a license plate character recognition result tensor corresponding to the target license plate image;
根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。According to the license plate character recognition tensor, the license plate recognition result of the target license plate image is determined.
在本申请一些实施例中,所述识别单元602具体用于:In some embodiments of the present application, the identification unit 602 is specifically configured to:
将所述目标车牌图像输入预设的卷积神经网络模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。The target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
在本申请一些实施例中,所述识别单元602具体用于:In some embodiments of the present application, the identification unit 602 is specifically configured to:
将所述注意力图与所述特征图进行加权,得到加权图;Weighting the attention map and the feature map to obtain a weighted map;
将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。The weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
在本申请一些实施例中,所述车牌字符识别张量中包括多个位置的字符识别张量,每个位置的字符识别张量包括多个候选字符,所述识别单元602具体用于:In some embodiments of the present application, the license plate character recognition tensor includes character recognition tensors at multiple positions, and the character recognition tensor at each position includes multiple candidate characters, and the recognition unit 602 is specifically configured to:
解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符的置信度;Parse the license plate character recognition tensor to obtain the confidence level of each candidate character in the character recognition tensor at each position;
根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符;Determine the candidate character with the highest confidence in each position according to the confidence of each candidate character in the character recognition tensor of each position;
取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。The candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
在本申请一些实施例中,所述确定单元603具体用于:In some embodiments of the present application, the determining unit 603 is specifically configured to:
对所述多个车牌识别结果进行融合,得到融合后车牌识别结果;Fusing the multiple license plate recognition results to obtain a fused license plate recognition result;
根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
在本申请一些实施例中,所述确定单元603具体用于:In some embodiments of the present application, the determining unit 603 is specifically configured to:
计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;Calculate the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result;
取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Take the N license plate recognition results with the largest number of qualified characters, perform the fusion of the license plate recognition results, and obtain the fused license plate recognition results.
在本申请一些实施例中,所述获取单元601具体用于:In some embodiments of the present application, the acquiring unit 601 is specifically configured to:
获取采集到的所述目标车辆的监控视频;Acquiring the collected surveillance video of the target vehicle;
在所述监控视频中检测车牌,以得到包括车牌的多张图像;Detecting the license plate in the surveillance video to obtain multiple images including the license plate;
对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。The license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
在本申请一些实施例中,所述获取单元601具体用于:In some embodiments of the present application, the acquiring unit 601 is specifically configured to:
采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。A multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
本发明实施例中通过获取单元601获取目标车辆的多张车牌图像;识别单元602对多张车牌图像分别进行车牌识别,得到多个车牌识别结果;确定单元603对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果。本发明实施例中通过对目标车辆的多张车牌图像进行识别,得到多个车牌识别结果,对多个车牌识别结果进行融合,确定目标车辆的车牌识别结果,由于最终确定的目标车辆的车牌识别结果是由多个车牌识别结果进行融合后确定的,因此能有效剔除车牌误检、车牌运动模糊对车牌识别结果的影响,大幅提升车牌识别的准确率。In the embodiment of the present invention, multiple license plate images of the target vehicle are acquired by the acquiring unit 601; the recognition unit 602 performs license plate recognition on the multiple license plate images to obtain multiple license plate recognition results; the determining unit 603 merges the multiple license plate recognition results, Determine the result of the license plate recognition of the target vehicle. In the embodiment of the invention, multiple license plate recognition results are obtained by recognizing multiple license plate images of the target vehicle, and the multiple license plate recognition results are merged to determine the license plate recognition result of the target vehicle. Because the final license plate recognition of the target vehicle is determined The result is determined by the fusion of multiple license plate recognition results, so it can effectively eliminate the influence of license plate misdetection and license plate motion blur on the license plate recognition result, and greatly improve the accuracy of license plate recognition.
本发明实施例还提供一种电子设备,其集成了本发明实施例所提供的任一种车牌识别装置,所述电子设备包括:An embodiment of the present invention also provides an electronic device that integrates any of the license plate recognition devices provided in the embodiments of the present invention, and the electronic device includes:
一个或多个处理器;One or more processors;
存储器;Memory
以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行上述车牌识别方法实施例中任一实施例中所述的车牌识别方法中的步骤。And one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to execute the license plate described in any one of the foregoing license plate recognition method embodiments Identify the steps in the method.
本发明实施例还提供一种电子设备,其集成了本发明实施例所提供的任一种车牌识别方法。如图7所示,其示出了本发明实施例所涉及的电子设备的结构示意图,具体来讲:The embodiment of the present invention also provides an electronic device that integrates any of the license plate recognition methods provided in the embodiment of the present invention. As shown in FIG. 7, it shows a schematic structural diagram of an electronic device involved in an embodiment of the present invention, specifically:
该电子设备可以包括一个或者一个以上处理核心的处理器701、一个或一个以上计算机可读存储介质的存储器702、电源703和输入单元704等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The electronic device may include one or more processing core processors 701, one or more computer-readable storage medium memory 702, power supply 703, input unit 704 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements. among them:
处理器701是该电子设备的控制中心,利用各种接口和线路连接整个电子 设备的各个部分,通过运行或执行存储在存储器702内的软件程序和/或模块,以及调用存储在存储器702内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器701可包括一个或多个处理核心;优选的,处理器701可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器701中。The processor 701 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and/or modules stored in the memory 702, and calls Data, perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 701.
存储器702可用于存储软件程序以及模块,处理器701通过运行存储在存储器702的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器702还可以包括存储器控制器,以提供处理器701对存储器702的访问。The memory 702 may be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of electronic equipment, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 702 may further include a memory controller to provide the processor 701 with access to the memory 702.
电子设备还包括给各个部件供电的电源703,优选的,电源703可以通过电源管理系统与处理器701逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源703还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power supply 703 for supplying power to various components. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system. The power supply 703 may also include any components such as one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
该电子设备还可包括输入单元704,该输入单元704可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The electronic device may further include an input unit 704, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器701会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器702中,并由处理器701来运行存储在存储器702中的应用程序,从而实现各种功能,如下:Although not shown, the electronic device may also include a display unit, etc., which will not be repeated here. Specifically in this embodiment, the processor 701 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run and store the executable file in the memory 702. The application programs in the memory 702, thereby realizing various functions, are as follows:
获取目标车辆的多张车牌图像;Acquire multiple license plate images of the target vehicle;
对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;Performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。Fusion of the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步 骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions to control related hardware, and the instructions can be stored in a computer-readable storage medium. It is loaded and executed by the processor.
为此,本发明实施例提供一种计算机可读存储介质,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行本发明实施例所提供的任一种车牌识别方法中的步骤。例如,所述计算机程序被处理器进行加载可以执行如下步骤:To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc. . A computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the license plate recognition methods provided in the embodiments of the present invention. For example, the computer program can be loaded by the processor to perform the following steps:
获取目标车辆的多张车牌图像;Acquire multiple license plate images of the target vehicle;
对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;Performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。Fusion of the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For a part that is not described in detail in an embodiment, please refer to the detailed description of other embodiments above, which will not be repeated here.
具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的方法实施例,在此不再赘述。In specific implementation, each of the above units or structures can be implemented as independent entities, or can be combined arbitrarily, and implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments. No longer.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, please refer to the previous embodiments, which will not be repeated here.
以上对本发明实施例所提供的一种车牌识别方法、装置、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above provides a detailed introduction to the license plate recognition method, device, electronic device, and storage medium provided by the embodiments of the present invention. Specific examples are used in this article to illustrate the principles and implementations of the present invention. The description of the above embodiments is only It is used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and the scope of application. In summary, this specification The content should not be construed as limiting the present invention.

Claims (20)

  1. 一种车牌识别方法,其中,所述车牌识别方法包括:A method for recognizing a license plate, wherein the method for recognizing a license plate includes:
    获取目标车辆的多张车牌图像;Acquire multiple license plate images of the target vehicle;
    对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;Performing license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
    对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。Fusion of the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
  2. 根据权利要求1所述的车牌识别方法,其中,所述对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果,包括:The license plate recognition method according to claim 1, wherein said performing license plate recognition on the plurality of license plate images respectively to obtain multiple license plate recognition results comprises:
    分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图;Respectively taking the license plate images in the plurality of license plate images as target license plate images, extracting features of the target license plate images, and obtaining feature maps corresponding to the license plate images;
    提取所述特征图中字符的注意力图;Extracting the attention map of the characters in the feature map;
    根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量;Calculating, according to the attention map, a license plate character recognition result tensor corresponding to the target license plate image;
    根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。According to the license plate character recognition tensor, the license plate recognition result of the target license plate image is determined.
  3. 根据权利要求2所述的车牌识别方法,其中,所述提取所述目标车牌图像特征,得到所述车牌图像对应的特征图,包括:The license plate recognition method according to claim 2, wherein said extracting the features of the target license plate image to obtain the feature map corresponding to the license plate image comprises:
    将所述目标车牌图像输入预设的卷积神经网络模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。The target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
  4. 根据权利要求2所述的车牌识别方法,其中,所述根据所述注意力图计算车牌字符识别结果张量,包括:The license plate recognition method according to claim 2, wherein the calculating the license plate character recognition result tensor according to the attention map comprises:
    将所述注意力图与所述特征图进行加权,得到加权图;Weighting the attention map and the feature map to obtain a weighted map;
    将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。The weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
  5. 根据权利要求2所述的车牌识别方法,其中,所述车牌字符识别张量中包括多个位置的字符识别张量,每个位置的字符识别张量包括多个候选字符,所述根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果,包括:The license plate recognition method according to claim 2, wherein the license plate character recognition tensor includes multiple positions of the character recognition tensor, and the character recognition tensor at each position includes a plurality of candidate characters, and the character recognition tensor of the license plate includes multiple candidate characters. The recognition tensor to determine the license plate recognition result of the target license plate image includes:
    解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符 的置信度;Parse the license plate character recognition tensor to obtain the confidence level of each candidate character in the character recognition tensor at each position;
    根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符;Determine the candidate character with the highest confidence in each position according to the confidence of each candidate character in the character recognition tensor of each position;
    取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。The candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
  6. 根据权利要求1所述的车牌识别方法,其中,所述对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果,包括:The license plate recognition method according to claim 1, wherein the fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle comprises:
    对所述多个车牌识别结果进行融合,得到融合后车牌识别结果;Fusing the multiple license plate recognition results to obtain a fused license plate recognition result;
    根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
  7. 根据权利要求6所述的车牌识别方法,其中,所述对所述多个车牌识别结果进行融合,得到融合后车牌识别结果,包括:The license plate recognition method according to claim 6, wherein the fusing the multiple license plate recognition results to obtain the fused license plate recognition result comprises:
    计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;Calculate the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result;
    取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Take the N license plate recognition results with the largest number of qualified characters, perform the fusion of the license plate recognition results, and obtain the fused license plate recognition results.
  8. 根据权利要求1至7中任一所述的车牌识别方法,其中,所述获取目标车辆的多张车牌图像,包括:The license plate recognition method according to any one of claims 1 to 7, wherein said acquiring multiple license plate images of the target vehicle comprises:
    获取采集到的所述目标车辆的监控视频;Acquiring the collected surveillance video of the target vehicle;
    在所述监控视频中检测车牌,以得到包括车牌的多张图像;Detecting the license plate in the surveillance video to obtain multiple images including the license plate;
    对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。The license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  9. 根据权利要求8所述的车牌识别方法,其中,所述在所述监控视频中检测车牌,以得到包括车牌的多张图像,包括:The license plate recognition method according to claim 8, wherein the detecting the license plate in the surveillance video to obtain a plurality of images including the license plate includes:
    采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。A multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
  10. 一种车牌识别装置,其中,所述车牌识别装置包括:A license plate recognition device, wherein the license plate recognition device includes:
    获取单元,用于获取目标车辆的多张车牌图像;The acquiring unit is used to acquire multiple license plate images of the target vehicle;
    识别单元,用于对所述多张车牌图像分别进行车牌识别,得到多个车牌识别结果;A recognition unit, configured to perform license plate recognition on the multiple license plate images to obtain multiple license plate recognition results;
    确定单元,用于对所述多个车牌识别结果进行融合,确定所述目标车辆的车牌识别结果。The determining unit is used for fusing the multiple license plate recognition results to determine the license plate recognition result of the target vehicle.
  11. 根据权利要求10所述的车牌识别装置,其中,所述识别单元具体用于:The license plate recognition device according to claim 10, wherein the recognition unit is specifically configured to:
    分别以所述多张车牌图像中的车牌图像为目标车牌图像,提取所述目标车牌图像特征,得到所述车牌图像对应的特征图;Respectively taking the license plate images in the plurality of license plate images as target license plate images, extracting features of the target license plate images, and obtaining feature maps corresponding to the license plate images;
    提取所述特征图中字符的注意力图;Extracting the attention map of the characters in the feature map;
    根据所述注意力图,计算所述目标车牌图像对应的车牌字符识别结果张量;Calculating, according to the attention map, a license plate character recognition result tensor corresponding to the target license plate image;
    根据所述车牌字符识别张量,确定所述目标车牌图像的车牌识别结果。According to the license plate character recognition tensor, the license plate recognition result of the target license plate image is determined.
  12. 根据权利要求11所述的车牌识别装置,其中,所述识别单元具体用于:The license plate recognition device according to claim 11, wherein the recognition unit is specifically configured to:
    将所述目标车牌图像输入预设的卷积神经网络模型,以利用所述卷积神经网络模型提取所述车牌图像对应的特征,输出所述目标车牌图像对应的特征图。The target license plate image is input into a preset convolutional neural network model to extract features corresponding to the license plate image using the convolutional neural network model, and output a feature map corresponding to the target license plate image.
  13. 根据权利要求11所述的车牌识别装置,其中,所述识别单元具体用于:The license plate recognition device according to claim 11, wherein the recognition unit is specifically configured to:
    将所述注意力图与所述特征图进行加权,得到加权图;Weighting the attention map and the feature map to obtain a weighted map;
    将所述加权图输入预设的长短期记忆网络模型,输出所述目标车牌图像对应的车牌字符识别结果张量。The weighted graph is input into a preset long-term short-term memory network model, and the license plate character recognition result tensor corresponding to the target license plate image is output.
  14. 根据权利要求11所述的车牌识别装置,其中,所述车牌字符识别张量中包括多个位置的字符识别张量,每个位置的字符识别张量包括多个候选字符,所述识别单元具体用于:The license plate recognition device according to claim 11, wherein the license plate character recognition tensor includes multiple positions of the character recognition tensor, and the character recognition tensor of each position includes a plurality of candidate characters, and the recognition unit is specifically configured to :
    解析所述车牌字符识别张量,得到每个位置的字符识别张量中各候选字符的置信度;Parse the license plate character recognition tensor to obtain the confidence level of each candidate character in the character recognition tensor at each position;
    根据所述每个位置的字符识别张量中各候选字符的置信度,确定每个位置的置信度最高的候选字符;Determine the candidate character with the highest confidence in each position according to the confidence of each candidate character in the character recognition tensor of each position;
    取每个位置的置信度最高的候选字符,作为该位置的字符识别结果,得到所述目标车牌图像的车牌识别结果。The candidate character with the highest confidence in each position is taken as the character recognition result of the position, and the license plate recognition result of the target license plate image is obtained.
  15. 根据权利要求10所述的车牌识别装置,其中,所述确定单元具体用于:The license plate recognition device according to claim 10, wherein the determining unit is specifically configured to:
    对所述多个车牌识别结果进行融合,得到融合后车牌识别结果;Fusing the multiple license plate recognition results to obtain a fused license plate recognition result;
    根据融合后车牌识别结果,在预设的车牌数据库中进行查找,确定所述目标车辆的车牌识别结果。According to the result of the license plate recognition after fusion, search in the preset license plate database to determine the license plate recognition result of the target vehicle.
  16. 根据权利要求15所述的车牌识别装置,其中,所述确定单元具体用于:The license plate recognition device according to claim 15, wherein the determining unit is specifically configured to:
    计算每个车牌识别结果中字符识别结果符合预设置信度要求的合格字符数量;Calculate the number of qualified characters whose character recognition results meet the preset reliability requirements in each license plate recognition result;
    取合格字符数量最多的N个车牌识别结果,进行车牌识别结果的融合,得到融合后车牌识别结果。Take the N license plate recognition results with the largest number of qualified characters, perform the fusion of the license plate recognition results, and obtain the fused license plate recognition results.
  17. 根据权利要求10至16中任一所述的车牌识别装置,其中,所述获取单元具体用于:The license plate recognition device according to any one of claims 10 to 16, wherein the acquiring unit is specifically configured to:
    获取采集到的所述目标车辆的监控视频;Acquiring the collected surveillance video of the target vehicle;
    在所述监控视频中检测车牌,以得到包括车牌的多张图像;Detecting the license plate in the surveillance video to obtain multiple images including the license plate;
    对所述多张图像中的车牌区域进行裁剪,归一化为预设尺寸,得到所述目标车辆的多张车牌图像。The license plate area in the multiple images is cropped and normalized to a preset size to obtain multiple license plate images of the target vehicle.
  18. 根据权利要求17中所述的车牌识别装置,其中,所述获取单元具体用于:The license plate recognition device according to claim 17, wherein the acquiring unit is specifically configured to:
    采用多目标检测方法在所述监控视频中检测车牌,以得到包括车牌的多张图像。A multi-target detection method is used to detect the license plate in the surveillance video to obtain multiple images including the license plate.
  19. 一种电子设备,其中,所述电子设备包括:An electronic device, wherein the electronic device includes:
    一个或多个处理器;One or more processors;
    存储器;以及Memory; and
    一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现权利要求1至9中任一项所述的车牌识别方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the license plate recognition method according to any one of claims 1 to 9 .
  20. 一种计算机可读存储介质,其中,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行权利要求1至9任一项所述的车牌识别方法中的步骤。A computer-readable storage medium, wherein a computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the license plate recognition method according to any one of claims 1 to 9.
PCT/CN2020/071330 2020-01-10 2020-01-10 Vehicle license plate recognition method and apparatus, electronic device, and storage medium WO2021138893A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080095192.2A CN115298705A (en) 2020-01-10 2020-01-10 License plate recognition method and device, electronic equipment and storage medium
PCT/CN2020/071330 WO2021138893A1 (en) 2020-01-10 2020-01-10 Vehicle license plate recognition method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/071330 WO2021138893A1 (en) 2020-01-10 2020-01-10 Vehicle license plate recognition method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021138893A1 true WO2021138893A1 (en) 2021-07-15

Family

ID=76787653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/071330 WO2021138893A1 (en) 2020-01-10 2020-01-10 Vehicle license plate recognition method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN115298705A (en)
WO (1) WO2021138893A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116012833B (en) * 2023-02-03 2023-10-10 脉冲视觉(北京)科技有限公司 License plate detection method, device, equipment, medium and program product
CN116977949A (en) * 2023-08-24 2023-10-31 北京唯行科技有限公司 Vehicle parking inspection method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303153A (en) * 2014-07-23 2016-02-03 中兴通讯股份有限公司 Vehicle license plate identification method and apparatus
CN108564088A (en) * 2018-04-17 2018-09-21 广东工业大学 Licence plate recognition method, device, equipment and readable storage medium storing program for executing
CN108830192A (en) * 2018-05-31 2018-11-16 珠海亿智电子科技有限公司 Vehicle and detection method of license plate under vehicle environment based on deep learning
CN108960189A (en) * 2018-07-20 2018-12-07 南京旷云科技有限公司 Image recognition methods, device and electronic equipment again
US20190228276A1 (en) * 2018-01-19 2019-07-25 Arcules Inc. License plate reader using optical character recognition on plural detected regions
CN110135427A (en) * 2019-04-11 2019-08-16 北京百度网讯科技有限公司 The method, apparatus, equipment and medium of character in image for identification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303153A (en) * 2014-07-23 2016-02-03 中兴通讯股份有限公司 Vehicle license plate identification method and apparatus
US20190228276A1 (en) * 2018-01-19 2019-07-25 Arcules Inc. License plate reader using optical character recognition on plural detected regions
CN108564088A (en) * 2018-04-17 2018-09-21 广东工业大学 Licence plate recognition method, device, equipment and readable storage medium storing program for executing
CN108830192A (en) * 2018-05-31 2018-11-16 珠海亿智电子科技有限公司 Vehicle and detection method of license plate under vehicle environment based on deep learning
CN108960189A (en) * 2018-07-20 2018-12-07 南京旷云科技有限公司 Image recognition methods, device and electronic equipment again
CN110135427A (en) * 2019-04-11 2019-08-16 北京百度网讯科技有限公司 The method, apparatus, equipment and medium of character in image for identification

Also Published As

Publication number Publication date
CN115298705A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN110427905B (en) Pedestrian tracking method, device and terminal
US11062123B2 (en) Method, terminal, and storage medium for tracking facial critical area
US11643076B2 (en) Forward collision control method and apparatus, electronic device, program, and medium
US20220383535A1 (en) Object Tracking Method and Device, Electronic Device, and Computer-Readable Storage Medium
CN109035304B (en) Target tracking method, medium, computing device and apparatus
WO2021238019A1 (en) Real-time traffic flow detection system and method based on ghost convolutional feature fusion neural network
WO2019020103A1 (en) Target recognition method and apparatus, storage medium and electronic device
US11288887B2 (en) Object tracking method and apparatus
Chen et al. Fast single shot multibox detector and its application on vehicle counting system
Ahmad et al. Overhead view person detection using YOLO
CN112669344A (en) Method and device for positioning moving object, electronic equipment and storage medium
WO2021138893A1 (en) Vehicle license plate recognition method and apparatus, electronic device, and storage medium
CN111353451A (en) Battery car detection method and device, computer equipment and storage medium
CN112200131A (en) Vision-based vehicle collision detection method, intelligent terminal and storage medium
CN111382735B (en) Night vehicle detection method, device, equipment and storage medium
CN111259868A (en) Convolutional neural network-based method, system and medium for detecting vehicles in reverse driving
CN115797736B (en) Training method, device, equipment and medium for target detection model and target detection method, device, equipment and medium
CN110008789A (en) Multiclass object detection and knowledge method for distinguishing, equipment and computer readable storage medium
US10599946B2 (en) System and method for detecting change using ontology based saliency
CN113112479A (en) Progressive target detection method and device based on key block extraction
CN114157829A (en) Model training optimization method and device, computer equipment and storage medium
CN114429631B (en) Three-dimensional object detection method, device, equipment and storage medium
CN113326836A (en) License plate recognition method and device, server and storage medium
CN115984723A (en) Road damage detection method, system, device, storage medium and computer equipment
CN112819859B (en) Multi-target tracking method and device applied to intelligent security

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20911597

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20911597

Country of ref document: EP

Kind code of ref document: A1