WO2019169532A1 - License plate recognition method and cloud system - Google Patents

License plate recognition method and cloud system Download PDF

Info

Publication number
WO2019169532A1
WO2019169532A1 PCT/CN2018/078044 CN2018078044W WO2019169532A1 WO 2019169532 A1 WO2019169532 A1 WO 2019169532A1 CN 2018078044 W CN2018078044 W CN 2018078044W WO 2019169532 A1 WO2019169532 A1 WO 2019169532A1
Authority
WO
WIPO (PCT)
Prior art keywords
license plate
image
plate image
corrected
information
Prior art date
Application number
PCT/CN2018/078044
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 CN201880001017.5A priority Critical patent/CN108701234A/en
Priority to PCT/CN2018/078044 priority patent/WO2019169532A1/en
Publication of WO2019169532A1 publication Critical patent/WO2019169532A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/243Aligning, centring, orientation detection or correction of the image by compensating for image skew or non-uniform image deformations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/625License plates

Definitions

  • the present application relates to the field of deep learning technology, and in particular to a license plate recognition method and a cloud system.
  • the license plate recognition mainly includes three steps of license plate location, character extraction and character recognition, as follows:
  • the traditional license plate location mainly relies on a certain feature to find a candidate frame that may be a license plate in the image. All the candidate frames are judged by the classifier whether it is a two-category of the license plate, but the environment of the vehicle is complicated. Variable, using one or more specific features can not effectively locate the license plate in the general scene, so the traditional license plate recognition is mainly for specific scenes such as bayonet, which greatly affects the promotion of license plate recognition in practical applications.
  • the traditional character extraction is mainly divided into the connected domain method and the projection method.
  • the connected domain method is to binarize the positioned license plate, and realizes the segmentation of characters by analyzing the connected domain, thereby extracting the binarized image of the character;
  • the projection method is to divide and extract characters according to the distribution of peaks and troughs in the grayscale projection curve of the license plate.
  • the traditional character extraction problem is that for the connected domain method, the noise causes the error of the binarization processing to be large, which results in a large influence on the extracted character features.
  • the noise affects the distribution of the peaks and valleys, so that the peaks and troughs in the graph are relatively inconspicuous or redundant peaks and troughs appear, which has a great influence on the correct segmentation of characters. It can be seen that the traditional character extraction has higher requirements on hardware devices, and the application promotion of license plate recognition is hindered.
  • the traditional character recognition is mainly divided into template matching and feature classifier-based recognition methods.
  • the template matching based recognition method is to match the characters to be recognized in the template library by constructing the template library to realize the recognition of characters;
  • the classifier is identified by extracting a certain feature of the character and using the feature classifier to realize the recognition of the character.
  • the problems with the two recognition methods are: the recognition method based on template matching has higher requirements on the environment, such as the damage of the license plate, or the change of illumination will affect the matching result of the character to be recognized and the template; the recognition method based on the feature classifier needs to be targeted Specific scenes extract specific features, which hinder their promotion in general scenarios.
  • the convolutional neural network is gradually used to realize the recognition of license plates.
  • the extraction of character features can not effectively identify the characters, and the domestic license plate has more character categories, which leads to the limited promotion of traditional license plate recognition in China.
  • the embodiment of the present application proposes a license plate recognition method and a cloud system, so as to solve the technical problem that the existing license plate recognition is mainly for a single scene such as a bayonet, and the hardware device is required to be high, resulting in poor practicability in a general scenario.
  • an embodiment of the present application provides a license plate recognition method, including:
  • a plurality of character images in the corrected license plate image are extracted, and the plurality of character images are identified by using a plurality of preset recognition models to obtain a license plate recognition result.
  • an embodiment of the present application provides a license plate recognition cloud system, including:
  • a detecting module configured to detect the acquired image information, and obtain a license plate image and boundary information thereof;
  • a correction module configured to perform correction processing on the license plate image according to the boundary information, to obtain a corrected license plate image
  • the identification module is configured to extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
  • an embodiment of the present application provides an electronic device, where the electronic device includes:
  • Transceiver memory, one or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
  • embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
  • a license plate image and its boundary information are obtained, and the license plate image is corrected according to the boundary information to obtain a corrected license plate image, and the corrected license plate image is extracted.
  • the plurality of character images in the plurality of character images are identified by using a plurality of preset recognition models to obtain a recognition result of the license plate.
  • the present application satisfies the requirement for accurate recognition of the license plate in the general scene, and is not limited to a specific scene such as a bayonet, and has strong robustness.
  • FIG. 1 is a schematic diagram of a method for license plate recognition in the first embodiment of the present application
  • FIG. 2 is a schematic diagram of a license plate angle of a license plate recognition in the first embodiment of the present application
  • FIG. 3 is a structural diagram of a cloud system for license plate recognition in Embodiment 2 of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 3 of the present application.
  • the three steps of license plate location, character extraction and character recognition included in the traditional license plate recognition have certain drawbacks.
  • For the license plate location due to the complex and varied environment of the vehicle, it is impossible to use one or more specific features. In the general scene, the license plate is effectively positioned; for character extraction, when the camera pixel is low or the image noise is too large, the extracted character features are greatly affected; for character recognition, the requirements for the environment of the vehicle are more High, or need to extract specific features for a specific scene, so its promotion in the general scene is hindered.
  • the embodiment of the present application proposes to obtain a license plate image and its boundary information by using multiple detection techniques according to the acquired image, correcting the license plate image according to the boundary information, and extracting the corrected license plate image.
  • the plurality of character images, and the plurality of recognized recognition models are used to identify the extracted plurality of character images, and the recognition result of the license plate is output, thereby realizing accurate recognition of the large inclination license plate and improving the license plate recognition for different scenarios. Robustness, while meeting the need for accurate identification of license plates in a common scenario.
  • FIG. 1 is a schematic diagram of a method for license plate recognition in the first embodiment of the present application. As shown in FIG. 1 , the method includes:
  • Step 101 Detect the acquired image information to obtain a license plate image and boundary information thereof.
  • Step 102 Perform correction processing on the license plate image according to the boundary information to obtain a corrected license plate image.
  • Step 103 Extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
  • a coarse license plate image is obtained by using rough detection based on depth learning, and the license plate image and the boundary information are obtained by performing edge detection on the edge information and color information in the rough license plate image, that is, the multiplex detection technology ensures The accurate positioning of the large dip license plate boundary and the license plate detection based on the feature information such as edge and color make the present application more robust to the detection of the license plate for different scenes, so that it is suitable for the general scene without being limited to the bayonet, etc. Specific scenes.
  • step 102 unlike the prior art, when the license plate image is direction-corrected, the license plate is usually tilt-corrected by direct rotation.
  • the present application uses a affine transformation process to obtain a rule for the tilting and skewing license plate.
  • the license plate rectangular image thereby effectively improving the accuracy of extracting the plurality of character images in the corrected license plate image in step 103.
  • the acquired image information is detected to obtain a license plate image and boundary information thereof, including:
  • the license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
  • the preset neural network model is a pre-trained deep learning-based detection model, that is, correct classification and labeling of the collected image information, and deep learning of the initialization of the construction through forward transmission and reverse conduction.
  • the network parameters in the network are trained to obtain a trained deep learning-based detection model.
  • the obtained image information is subjected to rough detection of the license plate, and the circumscribed rectangle information of the license plate (for example, the boundary coordinates of the circumscribed rectangle) is obtained, the rough license plate image is located, and the rough license plate image is extracted.
  • the edge information and color information are used to detect the extracted edge information and color information by Sobel operator and color matching method to locate the accurate license plate image and its boundary information.
  • the license plate image is corrected according to the boundary information, and the corrected license plate image is obtained, including:
  • the license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
  • FIG. 2 is a schematic diagram of the license plate angle of the license plate recognition in the first embodiment of the present application.
  • the boundary information of the license plate image includes the shape and boundary coordinates of the license plate, and is calculated according to the shape and boundary coordinates of the license plate.
  • License plate tilt angle ⁇ and skew angle And according to the inclination angle ⁇ and the skew angle
  • the plaque image is affine transformed to obtain a corrected license plate image.
  • extracting a plurality of character images in the corrected license plate image includes:
  • Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
  • the corrected license plate image is sequentially binarized, closed, contoured, and minimum circumscribed rectangle processed, and the connected domain in the corrected license plate image is calculated, and according to the connected domain image in the corrected license plate image.
  • the characters are split to get the character position.
  • the corrected license plate image is grayscaled to obtain a license plate grayscale image, and a plurality of character grayscale images in the license plate grayscale image are extracted according to the obtained character position.
  • the plurality of preset recognition models include a recognition model for recognizing characters, and a recognition model for recognizing English letters and numbers.
  • the preset recognition model is a pre-trained deep learning-based recognition model, that is, the correct classification and labeling of the collected character images, and the built-in deep learning network through forward transmission and reverse conduction.
  • the network parameters in the training are trained to obtain a first recognition model for recognizing text based on deep learning, a second recognition model for recognizing English letters and numbers, and a number for recognizing characters, English letters and numbers.
  • the three recognition model that is, by training multiple character classifiers, reduces the category that the single character classifier needs to classify, so as to improve the accuracy of license plate recognition.
  • the number of identification models can be set according to the actual situation, and the implementation does not limit the number of identification models.
  • the recognition model using a plurality of the extracted plurality of character recognition gray image, specifically, the character A 1 grayscale image into a first recognition model, the recognition result to obtain the output corresponding to Z 1; character The grayscale images A 2 -A 6 are respectively imported into the second recognition model, and the corresponding recognition results Z 2 -Z 6 are outputted; the character grayscale image A 7 is imported into the third recognition model, and the corresponding recognition result is output. Z 7 , thereby obtaining the recognition result of the license plate.
  • Step 201 Perform offline training on the deep learning network by using a pre-established data set to obtain a deep learning model M 1 for online license plate detection, and a deep learning model M 2 , M 3 , M for online character recognition. 4 .
  • Step 202 acquiring image information, using the depth learning model M 1 on the image information coarsely detected, to give a rough plate image, extracts edge and color information rough plate image, using the Sobel operator and a color matching method and the extracted Edge information and color information are used to detect the license plate and locate the accurate license plate image and its boundary information.
  • Step 203 Perform correction processing on the detected tilted or skewed license plate image by using affine transformation according to the boundary information of the license plate image, and perform binarization and morphological processing on the corrected license plate image to obtain correction processing.
  • the position information of 7 characters in the license plate image at the same time, grayscale the corrected license plate image to obtain a license plate grayscale image, and extract 7-character grayscale images in the license plate grayscale image according to the obtained character position.
  • Step 204 Identify the extracted 7-character grayscale image by using the pre-trained deep learning models M 2 , M 3 , M 4 , respectively output the license plate recognition result, and jump to step 202 to continue to the next one.
  • Image information for license plate recognition
  • a cloud system for license plate recognition is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the method for identifying a license plate, the implementation of these devices can be referred to the implementation of the method, and the method is repeated. I won't go into details here.
  • FIG. 3 is a structural diagram of a cloud system for license plate recognition in the second embodiment of the present application.
  • the license plate recognition cloud system 300 may include: a detection module 301, a correction module 302, and an identification module 303.
  • the detecting module 301 is configured to detect the acquired image information to obtain a license plate image and boundary information thereof.
  • the correction module 302 is configured to perform correction processing on the license plate image according to the boundary information to obtain a corrected license plate image.
  • the identification module 303 is configured to extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
  • the detecting module 301 includes:
  • the license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
  • the correction module 302 includes:
  • the license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
  • extracting a plurality of character images in the corrected license plate image includes:
  • Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
  • the plurality of preset recognition models include a recognition model for recognizing characters, and a recognition model for recognizing English letters and numbers.
  • an electronic device is also provided in the embodiment of the present application. Since the principle is similar to the method for identifying a license plate, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
  • the electronic device includes: a transceiver device 401, a memory 402, one or more processors 403, and one or more modules.
  • the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including steps for performing the steps of any of the above methods instruction.
  • the embodiment of the present application further provides a computer program product for use in combination with an electronic device. Since the principle is similar to a method for license plate recognition, the implementation can refer to the implementation of the method, and the repetition is no longer Narration.
  • the computer program product comprises a computer readable storage medium and a computer program mechanism embodied therein, the computer program mechanism comprising instructions for performing the various steps of any of the above methods.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Provided in the present application are a license plate recognition method and a cloud system. The method comprises: performing detection with respect to acquired image information to produce a license plate image and boundary information thereof; correcting the license plate image on the basis of the boundary information to produce a corrected license plate image; and, extracting multiple character images in the corrected license plate image and utilizing multiple preset recognition models in recognizing the multiple character images to produce a license plate recognition result. Compared with conventional license plate recognition, the present application satisfies the demand for accurate recognition of license plates in versatile scenarios, is not limited to specific scenarios such as overhead gantries, and provides strengthened robustness.

Description

车牌识别方法及云系统License plate recognition method and cloud system 技术领域Technical field
本申请涉及深度学习技术领域,特别涉及车牌识别方法及云系统。The present application relates to the field of deep learning technology, and in particular to a license plate recognition method and a cloud system.
背景技术Background technique
随着车辆数量的爆炸式增长,对车辆的管理难度不断升高,尤其是在车辆违章的监控中,以及套牌车查证的过程中,作为车辆身份表征的车牌号是需要提取的关键信息。因此,通过计算机自动提取车辆的车牌信息,能够有效减少车辆管理过程中的工作量,解放可观的人力资源,而车牌识别主要包括车牌定位、字符提取和字符识别三个步骤,具体如下:With the explosive growth of the number of vehicles, the management difficulty of the vehicle is increasing, especially in the monitoring of vehicle violations, and in the process of checking the license plate, the license plate number as the vehicle identity is the key information to be extracted. Therefore, the automatic extraction of the vehicle license plate information by the computer can effectively reduce the workload in the vehicle management process and liberate considerable human resources, and the license plate recognition mainly includes three steps of license plate location, character extraction and character recognition, as follows:
传统的车牌定位主要依靠某一种特定的特征,在图像中寻找可能是车牌的候选框,通过分类器对所有的候选框进行是否是车牌的二分类判断,但由于车辆所处环境的复杂多变,利用某一种或多种特定的特征无法在通用场景下对车牌进行有效定位,因此传统的车牌识别主要针对卡口等特定场景,极大地影响了车牌识别在实际应用中的推广。The traditional license plate location mainly relies on a certain feature to find a candidate frame that may be a license plate in the image. All the candidate frames are judged by the classifier whether it is a two-category of the license plate, but the environment of the vehicle is complicated. Variable, using one or more specific features can not effectively locate the license plate in the general scene, so the traditional license plate recognition is mainly for specific scenes such as bayonet, which greatly affects the promotion of license plate recognition in practical applications.
传统的字符提取主要分为连通域法和投影法,连通域法是对定位的车牌进行二值化处理,通过对连通域的分析实现对字符的分割,从而提取出字符的二值化图像;投影法是根据车牌的灰度投影曲线图中波峰波谷的分布情况实现对字符的分割和提取。在摄像头像素较低或图像噪声过大的情况下,传统的字符提取存在的问题有:对于连通域法,噪声导致二值化处理的误差较大,从而导致对提取出的字符特征影响较大;对于投影法,噪声影响波峰波谷的分布,使得曲线图中的波峰和波谷相对不明显或者出现多余的波峰和波谷,从而对字符的正确分割影响较大。可见,传统的字符提取对硬件设备的要求较高,对车牌识别的应用推广阻碍较大。The traditional character extraction is mainly divided into the connected domain method and the projection method. The connected domain method is to binarize the positioned license plate, and realizes the segmentation of characters by analyzing the connected domain, thereby extracting the binarized image of the character; The projection method is to divide and extract characters according to the distribution of peaks and troughs in the grayscale projection curve of the license plate. In the case of low camera pixels or excessive image noise, the traditional character extraction problem is that for the connected domain method, the noise causes the error of the binarization processing to be large, which results in a large influence on the extracted character features. For the projection method, the noise affects the distribution of the peaks and valleys, so that the peaks and troughs in the graph are relatively inconspicuous or redundant peaks and troughs appear, which has a great influence on the correct segmentation of characters. It can be seen that the traditional character extraction has higher requirements on hardware devices, and the application promotion of license plate recognition is hindered.
传统的字符识别主要分为基于模板匹配和基于特征分类器的识别方法,基于模板匹配的识别方法为通过构建模板库将待识别字符与模板库中的模板匹配,实现对字符的识别;基于特征分类器的识别方法为通过提取字符的某一种特征,利用特征分类器实现对字符的识别。两种识别方法存在的问题有:基于模板匹配的识别方法对环境的要求较高,如车牌的损坏,或者光照变化都会影响待识别字符与模板的匹配结果;基于特征分类器的识别方法需要针对特定的场景提取特定的特征,对其在通用场景下的推广阻碍较大。The traditional character recognition is mainly divided into template matching and feature classifier-based recognition methods. The template matching based recognition method is to match the characters to be recognized in the template library by constructing the template library to realize the recognition of characters; The classifier is identified by extracting a certain feature of the character and using the feature classifier to realize the recognition of the character. The problems with the two recognition methods are: the recognition method based on template matching has higher requirements on the environment, such as the damage of the license plate, or the change of illumination will affect the matching result of the character to be recognized and the template; the recognition method based on the feature classifier needs to be targeted Specific scenes extract specific features, which hinder their promotion in general scenarios.
随着深度学习在各技术领域的不断推广,开始逐渐利用卷积神经网络来实现对车牌的识别,而基于车牌图像中字符较小的特点,利用具备基础功能的卷积神经网络无法较好的提取字符特征,无法实现对字符的有效识别,且国内车牌的字符类别较多,导致传统的车牌识别在国内的持续推广受到了限制。With the continuous promotion of deep learning in various technical fields, the convolutional neural network is gradually used to realize the recognition of license plates. However, based on the characteristics of small characters in license plate images, it is not possible to use convolutional neural networks with basic functions. The extraction of character features can not effectively identify the characters, and the domestic license plate has more character categories, which leads to the limited promotion of traditional license plate recognition in China.
发明内容Summary of the invention
本申请实施例提出了车牌识别方法及云系统,以解决现有车牌识别主要针对卡口等单一场景,且对硬件设备的要求较高,导致在通用场景下实用性较差的技术问题。The embodiment of the present application proposes a license plate recognition method and a cloud system, so as to solve the technical problem that the existing license plate recognition is mainly for a single scene such as a bayonet, and the hardware device is required to be high, resulting in poor practicability in a general scenario.
在一个方面,本申请实施例提供了一种车牌识别方法,包括:In one aspect, an embodiment of the present application provides a license plate recognition method, including:
对获取到的图像信息进行检测,得到车牌图像及其边界信息;Detecting the acquired image information to obtain a license plate image and its boundary information;
根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像;Performing correction processing on the license plate image according to the boundary information to obtain a corrected license plate image;
提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。A plurality of character images in the corrected license plate image are extracted, and the plurality of character images are identified by using a plurality of preset recognition models to obtain a license plate recognition result.
在另一个方面,本申请实施例提供了一种车牌识别云系统,包括:In another aspect, an embodiment of the present application provides a license plate recognition cloud system, including:
检测模块,用于对获取到的图像信息进行检测,得到车牌图像及其边 界信息;a detecting module, configured to detect the acquired image information, and obtain a license plate image and boundary information thereof;
校正模块,用于根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像;a correction module, configured to perform correction processing on the license plate image according to the boundary information, to obtain a corrected license plate image;
识别模块,用于提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。The identification module is configured to extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
在另一个方面,本申请实施例提供了一种电子设备,所述电子设备包括:In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes:
收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行上述方法中各个步骤的指令。One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
在另一个方面,本申请实施例提供了一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行上述方法中各个步骤的指令。In another aspect, embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
有益效果如下:The benefits are as follows:
本实施例中,通过对获取到的图像信息进行检测,得到车牌图像及其边界信息,根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像,提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。相较于传统的车牌识别,本申请满足通用场景下对车牌精确识别的需求,而不局限于卡口等特定场景,具有较强的鲁棒性。In this embodiment, by detecting the acquired image information, a license plate image and its boundary information are obtained, and the license plate image is corrected according to the boundary information to obtain a corrected license plate image, and the corrected license plate image is extracted. The plurality of character images in the plurality of character images are identified by using a plurality of preset recognition models to obtain a recognition result of the license plate. Compared with the traditional license plate recognition, the present application satisfies the requirement for accurate recognition of the license plate in the general scene, and is not limited to a specific scene such as a bayonet, and has strong robustness.
附图说明DRAWINGS
下面将参照附图描述本申请的具体实施例,其中:Specific embodiments of the present application will be described below with reference to the accompanying drawings, in which:
图1为本申请实施例一中车牌识别的方法原理图;1 is a schematic diagram of a method for license plate recognition in the first embodiment of the present application;
图2为本申请实施例一中车牌识别的车牌角度示意图;2 is a schematic diagram of a license plate angle of a license plate recognition in the first embodiment of the present application;
图3为本申请实施例二中车牌识别的云系统结构图;3 is a structural diagram of a cloud system for license plate recognition in Embodiment 2 of the present application;
图4为本申请实施例三中电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 3 of the present application.
具体实施方式Detailed ways
以下通过具体示例,进一步阐明本发明实施例技术方案的实质。The essence of the technical solution of the embodiment of the present invention is further clarified by specific examples below.
为了使本申请的技术方案及优点更加清楚明白,以下结合附图对本申请的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本申请的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。The exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings, in which the embodiments described are only a part of the embodiments of the present application, but not all embodiments. An exhaustive example. And in the case of no conflict, the features in the embodiments and the embodiments in the description can be combined with each other.
发明人在发明过程中注意到:The inventor noticed during the invention:
传统的车牌识别中包括的车牌定位、字符提取和字符识别三个步骤均存在一定的弊端,对于车牌定位,由于车辆所处环境的复杂多变,利用某一种或多种特定的特征无法在通用场景下对车牌进行有效定位;对于字符提取,在摄像头像素较低或图像噪声过大的情况下,导致对提取出的字符特征影响较大;对于字符识别,对车辆所处环境的要求较高,或者需要针对特定的场景提取特定的特征,因此,对其在通用场景下的推广阻碍较大。The three steps of license plate location, character extraction and character recognition included in the traditional license plate recognition have certain drawbacks. For the license plate location, due to the complex and varied environment of the vehicle, it is impossible to use one or more specific features. In the general scene, the license plate is effectively positioned; for character extraction, when the camera pixel is low or the image noise is too large, the extracted character features are greatly affected; for character recognition, the requirements for the environment of the vehicle are more High, or need to extract specific features for a specific scene, so its promotion in the general scene is hindered.
针对上述不足/基于此,本申请实施例提出了根据获取到的图像,利用多重检测技术得到车牌图像及其边界信息,根据边界信息对车牌图像进行校正处理,并提取校正处理后的车牌图像中的多个字符图像,以及利用训练好的多个识别模型对提取的多个字符图像进行识别,输出车牌的识别结果,从而实现对大倾角车牌的准确识别,以及针对不同场景下提升车牌识别的鲁棒性,同时满足通用场景下对车牌精确识别的需求。In view of the above disadvantages/based on the above, the embodiment of the present application proposes to obtain a license plate image and its boundary information by using multiple detection techniques according to the acquired image, correcting the license plate image according to the boundary information, and extracting the corrected license plate image. The plurality of character images, and the plurality of recognized recognition models are used to identify the extracted plurality of character images, and the recognition result of the license plate is output, thereby realizing accurate recognition of the large inclination license plate and improving the license plate recognition for different scenarios. Robustness, while meeting the need for accurate identification of license plates in a common scenario.
为了便于本申请的实施,下面实例进行说明。In order to facilitate the implementation of the present application, the following examples are described.
实施例1Example 1
图1示出了本申请实施例一中车牌识别的方法原理图,如图1所示, 该方法包括:FIG. 1 is a schematic diagram of a method for license plate recognition in the first embodiment of the present application. As shown in FIG. 1 , the method includes:
步骤101:对获取到的图像信息进行检测,得到车牌图像及其边界信息。Step 101: Detect the acquired image information to obtain a license plate image and boundary information thereof.
步骤102:根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像。Step 102: Perform correction processing on the license plate image according to the boundary information to obtain a corrected license plate image.
步骤103:提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。Step 103: Extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
在步骤101中,利用基于深度学习的粗检测得到粗略的车牌图像,并对粗略的车牌图像中的边缘信息和颜色信息进行车牌细检测,得到车牌图像及其边界信息,即通过多重检测技术保证对大倾角车牌边界的准确定位,以及基于边缘、颜色等特征信息的车牌检测使得本申请在针对不同场景时的车牌检测的鲁棒性较强,从而适用于通用场景而无需局限于卡口等特定场景。In step 101, a coarse license plate image is obtained by using rough detection based on depth learning, and the license plate image and the boundary information are obtained by performing edge detection on the edge information and color information in the rough license plate image, that is, the multiplex detection technology ensures The accurate positioning of the large dip license plate boundary and the license plate detection based on the feature information such as edge and color make the present application more robust to the detection of the license plate for different scenes, so that it is suitable for the general scene without being limited to the bayonet, etc. Specific scenes.
在步骤102中,有别于现有技术,在对车牌图像进行方向校正时,通常采用直接旋转的方式对车牌进行倾斜校正,本申请针对倾斜、偏斜车牌,利用仿射变换处理得到规则的车牌矩形图像,从而有效提升步骤103中提取校正后的车牌图像中的多个字符图像的精确度。In step 102, unlike the prior art, when the license plate image is direction-corrected, the license plate is usually tilt-corrected by direct rotation. The present application uses a affine transformation process to obtain a rule for the tilting and skewing license plate. The license plate rectangular image, thereby effectively improving the accuracy of extracting the plurality of character images in the corrected license plate image in step 103.
在本实施例中,对获取到的图像信息进行检测,得到车牌图像及其边界信息,包括:In this embodiment, the acquired image information is detected to obtain a license plate image and boundary information thereof, including:
利用预设的神经网络模型,根据获取到的图像信息得到待确定车牌图像;Using a preset neural network model, obtaining a license plate image to be determined according to the acquired image information;
根据所述待确定车牌图像中的边缘信息和颜色信息得到车牌图像及其边界信息。The license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
实施中,预设的神经网络模型为预先训练好的基于深度学习的检测模型,即对采集到的图像信息进行正确的分类标注,通过正向传输和反向传导,对构建的初始化的深度学习网络中的网络参数进行训练,得到训练好 的基于深度学习的检测模型。In the implementation, the preset neural network model is a pre-trained deep learning-based detection model, that is, correct classification and labeling of the collected image information, and deep learning of the initialization of the construction through forward transmission and reverse conduction. The network parameters in the network are trained to obtain a trained deep learning-based detection model.
实施中,利用基于深度学习的检测模型,对获取到的图像信息进行车牌粗检测,得到车牌的外接矩形信息(如,外接矩形的边界坐标),定位出粗略的车牌图像,提取粗略的车牌图像的边缘信息和颜色信息,利用Sobel算子和颜色匹配方法对提取到的边缘信息和颜色信息进行车牌细检测,定位出精确的车牌图像及其边界信息。In the implementation, using the depth learning-based detection model, the obtained image information is subjected to rough detection of the license plate, and the circumscribed rectangle information of the license plate (for example, the boundary coordinates of the circumscribed rectangle) is obtained, the rough license plate image is located, and the rough license plate image is extracted. The edge information and color information are used to detect the extracted edge information and color information by Sobel operator and color matching method to locate the accurate license plate image and its boundary information.
在本实施例中,根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像,包括:In this embodiment, the license plate image is corrected according to the boundary information, and the corrected license plate image is obtained, including:
根据所述边界信息计算出车牌的倾斜角和偏斜角;Calculating a tilt angle and a skew angle of the license plate according to the boundary information;
根据所述车牌的倾斜角和偏斜角,对所述车牌图像进行仿射变换,得到校正后的车牌图像。The license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
实施中,图2示出了本申请实施例一中车牌识别的车牌角度示意图,如图2所示,车牌图像的边界信息包括车牌的形状和边界坐标,根据车牌的形状和边界坐标,计算出车牌的倾斜角θ和偏斜角
Figure PCTCN2018078044-appb-000001
并根据倾斜角θ和偏斜角
Figure PCTCN2018078044-appb-000002
对车牌图像进行仿射变换,得到校正后的车牌图像。
In the implementation, FIG. 2 is a schematic diagram of the license plate angle of the license plate recognition in the first embodiment of the present application. As shown in FIG. 2, the boundary information of the license plate image includes the shape and boundary coordinates of the license plate, and is calculated according to the shape and boundary coordinates of the license plate. License plate tilt angle θ and skew angle
Figure PCTCN2018078044-appb-000001
And according to the inclination angle θ and the skew angle
Figure PCTCN2018078044-appb-000002
The plaque image is affine transformed to obtain a corrected license plate image.
在本实施例中,提取校正后的车牌图像中的多个字符图像,包括:In this embodiment, extracting a plurality of character images in the corrected license plate image includes:
对校正后的车牌图像进行二值化和形态学处理,得到校正后的车牌图像中多个字符的位置信息;以及,Performing binarization and morphological processing on the corrected license plate image to obtain position information of a plurality of characters in the corrected license plate image;
对校正后的车牌图像进行灰度处理,得到车牌灰度图像;Performing grayscale processing on the corrected license plate image to obtain a license plate grayscale image;
根据所述多个字符的位置信息,对所述车牌灰度图像进行字符提取,得到校正后的车牌图像中的多个字符图像。Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
实施中,对校正后的车牌图像依次进行二值化、闭操作、取轮廓、取最小外接矩形处理,计算校正后的车牌图像内的连通域,并根据连通域对校正后的车牌图像中的字符进行分割,得到字符位置。同时,对校正后的车牌图像进行灰度化,得到车牌灰度图像,并根据得到的字符位置提取车 牌灰度图像中的多个字符灰度图像。In the implementation, the corrected license plate image is sequentially binarized, closed, contoured, and minimum circumscribed rectangle processed, and the connected domain in the corrected license plate image is calculated, and according to the connected domain image in the corrected license plate image. The characters are split to get the character position. At the same time, the corrected license plate image is grayscaled to obtain a license plate grayscale image, and a plurality of character grayscale images in the license plate grayscale image are extracted according to the obtained character position.
在本实施例中,多个预设的识别模型包括用于识别文字的识别模型,以及用于识别英文字母和数字的识别模型。In this embodiment, the plurality of preset recognition models include a recognition model for recognizing characters, and a recognition model for recognizing English letters and numbers.
实施中,预设的识别模型为预先训练好的基于深度学习的识别模型,即对采集到的字符图像进行正确的分类标注,通过正向传输和反向传导,对构建的初始化的深度学习网络中的网络参数进行训练,得到训练好的基于深度学习的用于识别文字的第一识别模型,用于识别英文字母和数字的第二识别模型,以及用于识别文字、英文字母和数字的第三识别模型,即通过训练多个字符分类器,减少单一字符分类器需要分类标注的类别,以提升车牌识别的准确度。其中,可根据实际情况的需要设定识别模型的数量,本实施不对识别模型的数量进行限定。In the implementation, the preset recognition model is a pre-trained deep learning-based recognition model, that is, the correct classification and labeling of the collected character images, and the built-in deep learning network through forward transmission and reverse conduction. The network parameters in the training are trained to obtain a first recognition model for recognizing text based on deep learning, a second recognition model for recognizing English letters and numbers, and a number for recognizing characters, English letters and numbers. The three recognition model, that is, by training multiple character classifiers, reduces the category that the single character classifier needs to classify, so as to improve the accuracy of license plate recognition. Among them, the number of identification models can be set according to the actual situation, and the implementation does not limit the number of identification models.
实施中,利用多个识别模型对提取到的多个字符灰度图像进行识别,具体为,将字符灰度图像A 1导入到第一识别模型中,输出得到对应的识别结果Z 1;将字符灰度图像A 2-A 6分别导入到第二识别模型中,输出得到对应的识别结果Z 2-Z 6;将字符灰度图像A 7导入到第三识别模型中,输出得到对应的识别结果Z 7,从而得到车牌的识别结果。 Embodiment, the recognition model using a plurality of the extracted plurality of character recognition gray image, specifically, the character A 1 grayscale image into a first recognition model, the recognition result to obtain the output corresponding to Z 1; character The grayscale images A 2 -A 6 are respectively imported into the second recognition model, and the corresponding recognition results Z 2 -Z 6 are outputted; the character grayscale image A 7 is imported into the third recognition model, and the corresponding recognition result is output. Z 7 , thereby obtaining the recognition result of the license plate.
本申请以具体场景为例,对本申请实施例1进行详细描述,具体流程如下:This application takes a specific scenario as an example to describe the embodiment 1 of the present application in detail. The specific process is as follows:
步骤201:利用预先建立的数据集对深度学习网络进行线下训练,得到用于线上车牌检测的深度学习模型M 1,以及用于线上字符识别的深度学习模型M 2,M 3,M 4Step 201: Perform offline training on the deep learning network by using a pre-established data set to obtain a deep learning model M 1 for online license plate detection, and a deep learning model M 2 , M 3 , M for online character recognition. 4 .
步骤202:获取图像信息,利用深度学习模型M 1对图像信息进行粗检测,得到粗略的车牌图像,提取粗略的车牌图像的边缘信息和颜色信息,利用Sobel算子和颜色匹配方法对提取到的边缘信息和颜色信息进行车牌细检测,定位出精确的车牌图像及其边界信息。 Step 202: acquiring image information, using the depth learning model M 1 on the image information coarsely detected, to give a rough plate image, extracts edge and color information rough plate image, using the Sobel operator and a color matching method and the extracted Edge information and color information are used to detect the license plate and locate the accurate license plate image and its boundary information.
步骤203:根据车牌图像的边界信息,利用仿射变换对检测到的倾斜或偏斜的车牌图像进行校正处理,通过对校正处理后的车牌图像进行二值化和形态学处理,得到校正处理后的车牌图像中7个字符的位置信息,同时,对校正后的车牌图像进行灰度化,得到车牌灰度图像,并根据得到的字符位置提取车牌灰度图像中的7个字符灰度图像。Step 203: Perform correction processing on the detected tilted or skewed license plate image by using affine transformation according to the boundary information of the license plate image, and perform binarization and morphological processing on the corrected license plate image to obtain correction processing. The position information of 7 characters in the license plate image, at the same time, grayscale the corrected license plate image to obtain a license plate grayscale image, and extract 7-character grayscale images in the license plate grayscale image according to the obtained character position.
步骤204:利用预先训练好的深度学习模型M 2,M 3,M 4,分别对提取到的7个字符灰度图像进行识别,输出车牌的识别结果,并跳转至步骤202继续对下一个图像信息进行车牌识别。 Step 204: Identify the extracted 7-character grayscale image by using the pre-trained deep learning models M 2 , M 3 , M 4 , respectively output the license plate recognition result, and jump to step 202 to continue to the next one. Image information for license plate recognition.
实施例2Example 2
基于同一发明构思,本申请实施例中还提供了一种车牌识别的云系统,由于这些设备解决问题的原理与一种车牌识别的方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a cloud system for license plate recognition is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the method for identifying a license plate, the implementation of these devices can be referred to the implementation of the method, and the method is repeated. I won't go into details here.
图3示出了本申请实施例二中车牌识别的云系统结构图,如图3所示,车牌识别的云系统300可以包括:检测模块301、校正模块302和识别模块303。FIG. 3 is a structural diagram of a cloud system for license plate recognition in the second embodiment of the present application. As shown in FIG. 3, the license plate recognition cloud system 300 may include: a detection module 301, a correction module 302, and an identification module 303.
检测模块301,用于对获取到的图像信息进行检测,得到车牌图像及其边界信息。The detecting module 301 is configured to detect the acquired image information to obtain a license plate image and boundary information thereof.
校正模块302,用于根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像。The correction module 302 is configured to perform correction processing on the license plate image according to the boundary information to obtain a corrected license plate image.
识别模块303,用于提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。The identification module 303 is configured to extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
在本实施例中,检测模块301包括:In this embodiment, the detecting module 301 includes:
利用预设的神经网络模型,根据获取到的图像信息得到待确定车牌图像;Using a preset neural network model, obtaining a license plate image to be determined according to the acquired image information;
根据所述待确定车牌图像中的边缘信息和颜色信息得到车牌图像及其 边界信息。The license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
在本实施例中,校正模块302包括:In this embodiment, the correction module 302 includes:
根据所述边界信息计算出车牌的倾斜角和偏斜角;Calculating a tilt angle and a skew angle of the license plate according to the boundary information;
根据所述车牌的倾斜角和偏斜角,对所述车牌图像进行仿射变换,得到校正后的车牌图像。The license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
在本实施例中,提取校正后的车牌图像中的多个字符图像,包括:In this embodiment, extracting a plurality of character images in the corrected license plate image includes:
对校正后的车牌图像进行二值化和形态学处理,得到校正后的车牌图像中多个字符的位置信息;以及,Performing binarization and morphological processing on the corrected license plate image to obtain position information of a plurality of characters in the corrected license plate image;
对校正后的车牌图像进行灰度处理,得到车牌灰度图像;Performing grayscale processing on the corrected license plate image to obtain a license plate grayscale image;
根据所述多个字符的位置信息,对所述车牌灰度图像进行字符提取,得到校正后的车牌图像中的多个字符图像。Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
在本实施例中,多个预设的识别模型包括用于识别文字的识别模型,以及用于识别英文字母和数字的识别模型。In this embodiment, the plurality of preset recognition models include a recognition model for recognizing characters, and a recognition model for recognizing English letters and numbers.
实施例3Example 3
基于同一发明构思,本申请实施例中还提供了一种电子设备,由于其原理与一种车牌识别的方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application. Since the principle is similar to the method for identifying a license plate, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
图4示出了本申请实施例三中电子设备的结构示意图,如图4所示,所述电子设备包括:收发设备401,存储器402,一个或多个处理器403;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一上述方法中各个步骤的指令。4 is a schematic structural diagram of an electronic device in Embodiment 3 of the present application. As shown in FIG. 4, the electronic device includes: a transceiver device 401, a memory 402, one or more processors 403, and one or more modules. The one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including steps for performing the steps of any of the above methods instruction.
实施例4Example 4
基于同一发明构思,本申请实施例还提供了一种与电子设备结合使用的计算机程序产品,由于其原理与一种车牌识别的方法相似,因此其实施 可以参见方法的实施,重复之处不再赘述。所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行任一上述方法中各个步骤的指令。Based on the same inventive concept, the embodiment of the present application further provides a computer program product for use in combination with an electronic device. Since the principle is similar to a method for license plate recognition, the implementation can refer to the implementation of the method, and the repetition is no longer Narration. The computer program product comprises a computer readable storage medium and a computer program mechanism embodied therein, the computer program mechanism comprising instructions for performing the various steps of any of the above methods.
为了描述的方便,以上所述装置的各部分以功能分为各种模块分别描述。当然,在实施本申请时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-described apparatus are separately described by functions into various modules. Of course, the functions of each module or unit may be implemented in the same software or hardware in the implementation of the present application.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and

Claims (12)

  1. 一种车牌识别方法,其特征在于,包括:A license plate recognition method, comprising:
    对获取到的图像信息进行检测,得到车牌图像及其边界信息;Detecting the acquired image information to obtain a license plate image and its boundary information;
    根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像;Performing correction processing on the license plate image according to the boundary information to obtain a corrected license plate image;
    提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。A plurality of character images in the corrected license plate image are extracted, and the plurality of character images are identified by using a plurality of preset recognition models to obtain a license plate recognition result.
  2. 如权利要求1所述的方法,其特征在于,所述对获取到的图像信息进行检测,得到车牌图像及其边界信息,包括:The method according to claim 1, wherein the detecting the acquired image information to obtain a license plate image and boundary information thereof comprises:
    利用预设的神经网络模型,根据获取到的图像信息得到待确定车牌图像;Using a preset neural network model, obtaining a license plate image to be determined according to the acquired image information;
    根据所述待确定车牌图像中的边缘信息和颜色信息得到车牌图像及其边界信息。The license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
  3. 如权利要求1所述的方法,其特征在于,所述根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像,包括:The method according to claim 1, wherein the correcting the license plate image according to the boundary information to obtain a corrected license plate image comprises:
    根据所述边界信息计算出车牌的倾斜角和偏斜角;Calculating a tilt angle and a skew angle of the license plate according to the boundary information;
    根据所述车牌的倾斜角和偏斜角,对所述车牌图像进行仿射变换,得到校正后的车牌图像。The license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
  4. 如权利要求1或3所述的方法,其特征在于,所述提取校正后的车牌图像中的多个字符图像,包括:The method according to claim 1 or 3, wherein the extracting the plurality of character images in the corrected license plate image comprises:
    对校正后的车牌图像进行二值化和形态学处理,得到校正后的车牌图像中多个字符的位置信息;以及,Performing binarization and morphological processing on the corrected license plate image to obtain position information of a plurality of characters in the corrected license plate image;
    对校正后的车牌图像进行灰度处理,得到车牌灰度图像;Performing grayscale processing on the corrected license plate image to obtain a license plate grayscale image;
    根据所述多个字符的位置信息,对所述车牌灰度图像进行字符提取,得到校正后的车牌图像中的多个字符图像。Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
  5. 如权利要求1所述的方法,其特征在于,所述多个预设的识别模型包括用于识别文字的识别模型,以及用于识别英文字母和数字的识别模型。The method of claim 1 wherein said plurality of predetermined recognition models comprise an identification model for recognizing text and a recognition model for recognizing English letters and numbers.
  6. 一种车牌识别云系统,其特征在于,包括:A license plate recognition cloud system, comprising:
    检测模块,用于对获取到的图像信息进行检测,得到车牌图像及其边界信息;a detecting module, configured to detect the acquired image information, and obtain a license plate image and boundary information thereof;
    校正模块,用于根据所述边界信息对所述车牌图像进行校正处理,得到校正后的车牌图像;a correction module, configured to perform correction processing on the license plate image according to the boundary information, to obtain a corrected license plate image;
    识别模块,用于提取校正后的车牌图像中的多个字符图像,并利用多个预设的识别模型对所述多个字符图像进行识别,得到车牌的识别结果。The identification module is configured to extract a plurality of character images in the corrected license plate image, and identify the plurality of character images by using a plurality of preset recognition models to obtain a recognition result of the license plate.
  7. 如权利要求6所述的云系统,其特征在于,所述检测模块包括:The cloud system of claim 6, wherein the detecting module comprises:
    利用预设的神经网络模型,根据获取到的图像信息得到待确定车牌图像;Using a preset neural network model, obtaining a license plate image to be determined according to the acquired image information;
    根据所述待确定车牌图像中的边缘信息和颜色信息得到车牌图像及其边界信息。The license plate image and its boundary information are obtained according to the edge information and the color information in the license plate image to be determined.
  8. 如权利要求6所述的云系统,其特征在于,所述校正模块包括:The cloud system of claim 6 wherein said correction module comprises:
    根据所述边界信息计算出车牌的倾斜角和偏斜角;Calculating a tilt angle and a skew angle of the license plate according to the boundary information;
    根据所述车牌的倾斜角和偏斜角,对所述车牌图像进行仿射变换,得到校正后的车牌图像。The license plate image is affine transformed according to the inclination angle and the skew angle of the license plate to obtain a corrected license plate image.
  9. 如权利要求6或8所述的云系统,其特征在于,所述提取校正后的车牌图像中的多个字符图像,包括:The cloud system according to claim 6 or 8, wherein the extracting the plurality of character images in the corrected license plate image comprises:
    对校正后的车牌图像进行二值化和形态学处理,得到校正后的车牌图像中多个字符的位置信息;以及,Performing binarization and morphological processing on the corrected license plate image to obtain position information of a plurality of characters in the corrected license plate image;
    对校正后的车牌图像进行灰度处理,得到车牌灰度图像;Performing grayscale processing on the corrected license plate image to obtain a license plate grayscale image;
    根据所述多个字符的位置信息,对所述车牌灰度图像进行字符提取,得到校正后的车牌图像中的多个字符图像。Character extraction is performed on the license plate grayscale image according to position information of the plurality of characters, and a plurality of character images in the corrected license plate image are obtained.
  10. 如权利要求6所述的云系统,其特征在于,所述多个预设的识别模型包括用于识别文字的识别模型,以及用于识别英文字母和数字的识别模型。The cloud system according to claim 6, wherein said plurality of preset recognition models include a recognition model for recognizing characters, and a recognition model for recognizing English letters and numbers.
  11. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, comprising:
    收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
    一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求1-5中任一所述方法中各个步骤的指令。One or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing claim 1 The instructions of the various steps in any of the methods described in 5.
  12. 一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行权利要求1-5中任一所述方法中各个步骤的指令。A computer program product for use in conjunction with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising means for performing any of claims 1-5 An instruction for each step in the method.
PCT/CN2018/078044 2018-03-05 2018-03-05 License plate recognition method and cloud system WO2019169532A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880001017.5A CN108701234A (en) 2018-03-05 2018-03-05 Licence plate recognition method and cloud system
PCT/CN2018/078044 WO2019169532A1 (en) 2018-03-05 2018-03-05 License plate recognition method and cloud system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/078044 WO2019169532A1 (en) 2018-03-05 2018-03-05 License plate recognition method and cloud system

Publications (1)

Publication Number Publication Date
WO2019169532A1 true WO2019169532A1 (en) 2019-09-12

Family

ID=63841511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078044 WO2019169532A1 (en) 2018-03-05 2018-03-05 License plate recognition method and cloud system

Country Status (2)

Country Link
CN (1) CN108701234A (en)
WO (1) WO2019169532A1 (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969160A (en) * 2019-11-21 2020-04-07 合肥工业大学 License plate image correction and recognition method and system based on deep learning
CN111126383A (en) * 2019-12-06 2020-05-08 广州烽火众智数字技术有限公司 License plate detection method, system, device and storage medium
CN111325122A (en) * 2020-02-10 2020-06-23 西安艾润物联网技术服务有限责任公司 License plate correction method, ETC antenna device and computer-readable storage medium
CN111340045A (en) * 2020-02-12 2020-06-26 浙江大华技术股份有限公司 License plate number recognition method and device and storage medium
CN111368816A (en) * 2020-02-27 2020-07-03 深圳中兴网信科技有限公司 License plate recognition method, system, device and computer readable storage medium
CN111382722A (en) * 2020-03-23 2020-07-07 浙江大华技术股份有限公司 License plate image optimization method, image processing device and device with storage function
CN111507342A (en) * 2020-04-21 2020-08-07 浙江大华技术股份有限公司 Image processing method, device and system and storage medium
CN111860512A (en) * 2020-02-25 2020-10-30 北京嘀嘀无限科技发展有限公司 Vehicle identification method and device, electronic equipment and computer readable storage medium
CN112001383A (en) * 2020-08-10 2020-11-27 长沙奇巧匠人软件有限公司 Water meter code intelligent identification method based on convolutional neural network technology
CN112016556A (en) * 2020-08-21 2020-12-01 中国科学技术大学 Multi-type license plate recognition method
CN112133101A (en) * 2020-09-22 2020-12-25 杭州海康威视数字技术股份有限公司 Method and device for enhancing license plate area, camera device, computing equipment and storage medium
CN112232237A (en) * 2020-10-20 2021-01-15 城云科技(中国)有限公司 Vehicle flow monitoring method, system, computer device and storage medium
CN112686246A (en) * 2019-10-18 2021-04-20 深圳市优必选科技股份有限公司 License plate character segmentation method and device, storage medium and terminal equipment
CN112883973A (en) * 2021-03-17 2021-06-01 北京市商汤科技开发有限公司 License plate recognition method and device, electronic equipment and computer storage medium
CN113326843A (en) * 2021-06-17 2021-08-31 讯飞智元信息科技有限公司 License plate recognition method and device, electronic equipment and readable storage medium
CN113688649A (en) * 2021-08-16 2021-11-23 江苏博赛孚医疗科技有限公司 Quick QR code positioning method
CN113762233A (en) * 2020-06-05 2021-12-07 北京都是科技有限公司 License plate detection method, system and device and thermal infrared image processor
CN115661807A (en) * 2022-12-28 2023-01-31 成都西物信安智能系统有限公司 Method for acquiring license plate information

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287793A (en) * 2019-05-23 2019-09-27 北京爱诺斯科技有限公司 A kind of image analysis method of recognizable eyesight prescription
CN110427937B (en) * 2019-07-18 2022-03-22 浙江大学 Inclined license plate correction and indefinite-length license plate identification method based on deep learning
CN112446375A (en) * 2019-09-03 2021-03-05 上海高德威智能交通系统有限公司 License plate recognition method, device, equipment and storage medium
CN111339846B (en) * 2020-02-12 2022-08-12 深圳市商汤科技有限公司 Image recognition method and device, electronic equipment and storage medium
CN111476109A (en) * 2020-03-18 2020-07-31 深圳中兴网信科技有限公司 Bill processing method, bill processing apparatus, and computer-readable storage medium
CN111652208A (en) * 2020-04-17 2020-09-11 北京三快在线科技有限公司 User interface component identification method and device, electronic equipment and storage medium
CN113688658A (en) * 2020-05-18 2021-11-23 华为技术有限公司 Object identification method, device, equipment and medium
CN112052845A (en) * 2020-10-14 2020-12-08 腾讯科技(深圳)有限公司 Image recognition method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080568A1 (en) * 2005-01-31 2006-08-03 Nec Corporation Character reader, character reading method, and character reading control program used for the character reader
KR20100083966A (en) * 2009-01-15 2010-07-23 주식회사 비츠로시스 Number plate extraction method of a car image
CN105279512A (en) * 2015-10-22 2016-01-27 东方网力科技股份有限公司 Tilt vehicle license plate recognition method and device
CN106203418A (en) * 2016-07-14 2016-12-07 北京精英智通科技股份有限公司 A kind of method and device of car plate detection
CN107180230A (en) * 2017-05-08 2017-09-19 上海理工大学 General licence plate recognition method
CN107679531A (en) * 2017-06-23 2018-02-09 平安科技(深圳)有限公司 Licence plate recognition method, device, equipment and storage medium based on deep learning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080568A1 (en) * 2005-01-31 2006-08-03 Nec Corporation Character reader, character reading method, and character reading control program used for the character reader
KR20100083966A (en) * 2009-01-15 2010-07-23 주식회사 비츠로시스 Number plate extraction method of a car image
CN105279512A (en) * 2015-10-22 2016-01-27 东方网力科技股份有限公司 Tilt vehicle license plate recognition method and device
CN106203418A (en) * 2016-07-14 2016-12-07 北京精英智通科技股份有限公司 A kind of method and device of car plate detection
CN107180230A (en) * 2017-05-08 2017-09-19 上海理工大学 General licence plate recognition method
CN107679531A (en) * 2017-06-23 2018-02-09 平安科技(深圳)有限公司 Licence plate recognition method, device, equipment and storage medium based on deep learning

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686246A (en) * 2019-10-18 2021-04-20 深圳市优必选科技股份有限公司 License plate character segmentation method and device, storage medium and terminal equipment
CN112686246B (en) * 2019-10-18 2024-01-02 深圳市优必选科技股份有限公司 License plate character segmentation method and device, storage medium and terminal equipment
CN110969160A (en) * 2019-11-21 2020-04-07 合肥工业大学 License plate image correction and recognition method and system based on deep learning
CN110969160B (en) * 2019-11-21 2023-04-14 合肥工业大学 License plate image correction and recognition method and system based on deep learning
CN111126383A (en) * 2019-12-06 2020-05-08 广州烽火众智数字技术有限公司 License plate detection method, system, device and storage medium
CN111325122A (en) * 2020-02-10 2020-06-23 西安艾润物联网技术服务有限责任公司 License plate correction method, ETC antenna device and computer-readable storage medium
CN111325122B (en) * 2020-02-10 2024-04-02 西安艾润物联网技术服务有限责任公司 License plate correction method, ETC antenna device and computer readable storage medium
CN111340045A (en) * 2020-02-12 2020-06-26 浙江大华技术股份有限公司 License plate number recognition method and device and storage medium
CN111340045B (en) * 2020-02-12 2023-09-01 浙江大华技术股份有限公司 License plate number recognition method, device and storage medium
CN111860512A (en) * 2020-02-25 2020-10-30 北京嘀嘀无限科技发展有限公司 Vehicle identification method and device, electronic equipment and computer readable storage medium
CN111860512B (en) * 2020-02-25 2023-12-05 北京嘀嘀无限科技发展有限公司 Vehicle identification method, device, electronic equipment and computer readable storage medium
CN111368816A (en) * 2020-02-27 2020-07-03 深圳中兴网信科技有限公司 License plate recognition method, system, device and computer readable storage medium
CN111382722B (en) * 2020-03-23 2023-09-05 浙江大华技术股份有限公司 License plate image optimization method, image processing device and device with storage function
CN111382722A (en) * 2020-03-23 2020-07-07 浙江大华技术股份有限公司 License plate image optimization method, image processing device and device with storage function
CN111507342B (en) * 2020-04-21 2023-10-10 浙江大华技术股份有限公司 Image processing method, device, system and storage medium
CN111507342A (en) * 2020-04-21 2020-08-07 浙江大华技术股份有限公司 Image processing method, device and system and storage medium
CN113762233A (en) * 2020-06-05 2021-12-07 北京都是科技有限公司 License plate detection method, system and device and thermal infrared image processor
CN112001383A (en) * 2020-08-10 2020-11-27 长沙奇巧匠人软件有限公司 Water meter code intelligent identification method based on convolutional neural network technology
CN112016556B (en) * 2020-08-21 2022-07-15 中国科学技术大学 Multi-type license plate recognition method
CN112016556A (en) * 2020-08-21 2020-12-01 中国科学技术大学 Multi-type license plate recognition method
CN112133101A (en) * 2020-09-22 2020-12-25 杭州海康威视数字技术股份有限公司 Method and device for enhancing license plate area, camera device, computing equipment and storage medium
CN112232237B (en) * 2020-10-20 2024-03-12 城云科技(中国)有限公司 Method, system, computer device and storage medium for monitoring vehicle flow
CN112232237A (en) * 2020-10-20 2021-01-15 城云科技(中国)有限公司 Vehicle flow monitoring method, system, computer device and storage medium
CN112883973A (en) * 2021-03-17 2021-06-01 北京市商汤科技开发有限公司 License plate recognition method and device, electronic equipment and computer storage medium
CN113326843A (en) * 2021-06-17 2021-08-31 讯飞智元信息科技有限公司 License plate recognition method and device, electronic equipment and readable storage medium
CN113688649A (en) * 2021-08-16 2021-11-23 江苏博赛孚医疗科技有限公司 Quick QR code positioning method
CN115661807B (en) * 2022-12-28 2023-04-07 成都西物信安智能系统有限公司 Method for acquiring license plate information
CN115661807A (en) * 2022-12-28 2023-01-31 成都西物信安智能系统有限公司 Method for acquiring license plate information

Also Published As

Publication number Publication date
CN108701234A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2019169532A1 (en) License plate recognition method and cloud system
US10635946B2 (en) Eyeglass positioning method, apparatus and storage medium
US10025998B1 (en) Object detection using candidate object alignment
US8494273B2 (en) Adaptive optical character recognition on a document with distorted characters
US9292759B2 (en) Methods and systems for optimized parameter selection in automated license plate recognition
US8867828B2 (en) Text region detection system and method
US9014432B2 (en) License plate character segmentation using likelihood maximization
WO2016107103A1 (en) Method and device for recognizing main region of image
WO2018233038A1 (en) Deep learning-based method, apparatus and device for recognizing license plate, and storage medium
CN112686812B (en) Bank card inclination correction detection method and device, readable storage medium and terminal
US9489561B2 (en) Method and system for estimating fingerprint pose
WO2018086233A1 (en) Character segmentation method and device, and element detection method and device
CN104573688A (en) Mobile platform tobacco laser code intelligent identification method and device based on deep learning
CN110222687A (en) Complex background card face information identifying method and system
US9704024B2 (en) Object discriminating apparatus and method
CN106874901B (en) Driving license identification method and device
CN111079571A (en) Identification card information identification and edge detection model training method and device
CN109376717A (en) Personal identification method, device, electronic equipment and the storage medium of face comparison
JP2018142189A (en) Program, distance measuring method, and distance measuring device
He et al. Aggregating local context for accurate scene text detection
WO2017054276A1 (en) Biometric identity verification method and device
Wu et al. Contour restoration of text components for recognition in video/scene images
KR101396713B1 (en) Apparatus for recognizing medicine using image technique
Lee et al. Vehicle model recognition in video
US20230147685A1 (en) Generalized anomaly detection

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: 18908525

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 25.01.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18908525

Country of ref document: EP

Kind code of ref document: A1