CN103065137A - License plate character recognition method - Google Patents
License plate character recognition method Download PDFInfo
- Publication number
- CN103065137A CN103065137A CN2012105873471A CN201210587347A CN103065137A CN 103065137 A CN103065137 A CN 103065137A CN 2012105873471 A CN2012105873471 A CN 2012105873471A CN 201210587347 A CN201210587347 A CN 201210587347A CN 103065137 A CN103065137 A CN 103065137A
- Authority
- CN
- China
- Prior art keywords
- density
- hop
- edge
- character
- transitions
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Character Discrimination (AREA)
- Character Input (AREA)
Abstract
The invention provides a novel license plate character recognition method. The method of combining the canny algorithm and binary images is adopted for recognizing characters. The edges and hop information of the characters are extracted in the process of recognition, hop of edge pixels of the characters are matched with hop of a template character set, a template character with the highest matched-degree is discovered, and then recognition results of the characters are further obtained. The character recognition method based on the hop solves character recognition problems under various kinds of interference well and overcomes various interference factors effectively, and a stable high-recognition rate can be maintained. In addition, the standard canny algorithm is simplified, recognition efficiency is improved greatly, occupied system resources are reduced, and recognition speed is accelerated.
Description
Affiliated technical field:
Patent of the present invention relates to a kind of character identifying method in the Vehicle License Plate Recognition System, belongs to technical field of image processing.
Background technology:
Along with the fast development of Chinese national economy, the requirement of control of traffic and road is progressively improved, intelligent transportation system is arisen at the historic moment.In intelligent transportation system, after accurate positioning licence plate and Character segmentation, carry out character recognition by Vehicle License Plate Recognition System and just finally finish complete car plate identification, so the quality of character recognition plays vital effect to character identification rate.Therefore, as the important component part of intelligent transportation system, Vehicle License Plate Recognition System has obtained fast development, by the Chinese scholars broad research.Vehicle License Plate Recognition System is divided into Image Acquisition, car plate location, Character segmentation, character recognition four parts, and wherein character recognition is the Research Emphasis of each enterprise of the industry.Aspect the character feature extraction, need to suppress various interference, rotation and the deformation of, character even such as uneven illumination, stroke weight is inconsistent and the situations such as fracture or adhesion, just can extract stable character feature, finally finishes character recognition.
Common threshold obtains bianry image in the prior art, and discrimination is not high when light is inhomogeneous, and original algorithm steps is more, and the system resource that takies when identifying is too high, and recognition speed is not high; Simultaneously, for license plate sloped, characters on license plate stroke fracture, character are stained because turn inside diameter, shooting angle etc. cause, low light according to the time noise etc., all can cause discrimination to descend.
Summary of the invention:
In order to improve the discrimination of character, the present invention proposes a kind of method of new Recognition of License Plate Characters, adopt the method for canny algorithm and bianry image combination to come identification character, and the canny algorithm of standard is simplified, specific as follows:
At first license plate grey level image is divided into some character zones, to the gray level image I of each character zone
CharOrder is processed in accordance with the following steps:
A, to I
CharAsk adaptive threshold;
B, to I
CharAdopt the Canny algorithm to determine the character edge image I
Edge
C, to above-mentioned character edge image I
EdgeCarry out filling cavity;
D, again determine above-mentioned character edge image I
EdgeThe border;
E, to above-mentioned I
EdgeCarry out normalized;
The horizontal hopping sequences S at F, calculating character edge
HoriWith vertical transition sequence S
Vert, and according to above-mentioned horizontal hopping sequences S
HoriWith vertical transition sequence S
VertDetermine upper number of transitions density Hop_Density
Top, lower number of transitions density Hop_Density
Bottom, left number of transitions density Hop_Density
Left, right number of transitions density Hop_Density
Right, and further determine up and down number of transitions density ratio Hop_Density
Top/BottomWith left and right sides number of transitions density ratio Hop_Density
Left/Right
G, with the above-mentioned horizontal hopping sequences S that determines in the above-mentioned F step
Hori, vertical transition sequence S
Vert, number of transitions density ratio Hop_Density up and down
Top/BottomWith left and right sides number of transitions density ratio Hop_Density
Left/RightWith the horizontal hopping sequences SM that concentrates the current character template that reads from Character mother plate
Hori, vertical transition sequence SM
Vert, number of transitions density ratio Hop_Density_M up and down
Top/Bottom, left and right sides number of transitions density ratio Hop_Density_M
Left/RightMate one by one, find the highest character index value of matching degree, finish character recognition.
Adopt method of the present invention that the characters on license plate gray level image is processed, owing to extracted edge and the saltus step information of character, again coupling is done in the saltus step of character edge pixel and the saltus step of template character set, found the highest template character of matching degree, and then obtain the recognition result of character.This character recognition based on saltus step has solved character identification problem under the various interference preferably, can effectively overcome various disturbing factors, keeps comparatively stable high discrimination.And, because the canny algorithm of standard is simplified, greatly improved the efficient of identification, reduced the system resource that takies, improved recognition speed.
Embodiment:
Method of the present invention is at first license plate grey level image to be carried out Character segmentation, and license plate image is divided into several character zones, to the gray level image I of each character zone
CharRepeat following operation, finally obtain the index value Index that each character is concentrated at predetermined template character
m, finish identification to all characters with this.Wherein, to be that the situations such as numeral, letter, Chinese character, font are self-defined (for example, can comprise each province's abbreviation, 26 English alphabet capital and small letters to the characters on license plate that predetermined masterplate character set can be identified as required, numeral can also be set other literal or other language as required).Specifically to gray level image I
CharTreatment step as follows:
1. to I
CharAsk adaptive threshold T
2. to I
CharAdopt the Canny algorithm to obtain the character edge image I
Edge
1) adopt the template of 3*3, ask about the current pixel point P, about, the gradient G of two clinodiagonals
1, G
2, G
3, G
4, the corresponding operator of each gradient direction is respectively H
1, H
2, H
3, H
4:
2) find maximum gradient G
Max=MAX4 (G
1, G
2, G
3, G
4), and with following mode mark P point:
Namely according to G
Max=MAX4 (G
1, G
2, G
3, G
4) find the greatest gradient of current pixel point P, and judge current pixel point P whether satisfy simultaneously greatest gradient greater than the gray-scale value of predetermined minimum rim value and current pixel point whether greater than above-mentioned adaptive threshold, if it is mark is judged to be marginal point, I
EdgeBe labeled as 1; Not marginal point, I if not then being judged to be
EdgeBe labeled as 0.
Gray (P) gray-scale value of ordering for P wherein, MIN_EDGE_GRADIENT is defaulted as 15, can get different values according to the difference of captured image type.
3) get back to step 1), repeat this process, until travel through completely, finally obtain edge image I
Edge
3. to the character edge image I
EdgeFilling cavity is with the impact of cancellation on character saltus step calculating.Be specially
1) at I
EdgeIn, obtain current pixel point P
Ij
2) if Gray is (P
Ij)==0 is then with P
IjCentered by get one 3 * 3 window, pixel value consists of matrix W in the window
3 * 3, the definition operator
Ask the scalar product C of the two
Ij=W
3 * 3H works as C
Ij〉=T
c(T
c=6), just at I
EdgeMiddle with P
IjBe set to marginal point.
3) get back to step 1, repeat this process, until travel through complete.
4. recomputate the border of character edge image, the purpose of doing like this is in order to eliminate the impact of noise at the boundary
1) looks for I
EdgeUpper marginal position index Index
Top
Method: row travels through from top to bottom, the Num until count in the row edge
Hori〉=T
Num, T
Num=1;
2) look for I
EdgeLower limb location index Index
Bottom
Method: row travels through from top to bottom, the Num until count in the row edge
Hori〉=T
Num, T
Num=1;
3) look for I
EdgeLeft hand edge location index Index
Left
Method: from left to right row travel through, until column border points N um
Vert〉=T
Num, T
Num=1;
4) look for I
EdgeRight hand edge location index Index
Right
Method: row travel through from right to left, until column border points N um
Vert〉=T
Num, T
Num=1.
5. to I
EdgeDo normalized, to reduce the requirement to the Character segmentation precision
1) Index
Top, Index
Bottom, index
Left, Index
RightFour determined images in border are I
Divided_edge, with I
Divided_edgeDo size normalization, its wide height is equated with the wide height of Character mother plate, obtain I
Normal_edge
2) record I
Normal_edgeHeight H eight, width is Width.
3)
6. the horizontal and vertical hopping sequences S at calculating character edge
HoriAnd S
Vert, and obtain up and down number of transitions density Hop_Density
Top, Hop_Density
Bottom, left and right sides number of transitions density Hop_Density
Left, Hop_Density
Right, number of transitions density ratio Hop_Density up and down
Top/BottomWith left and right sides number of transitions density ratio Hop_Density
Left/Right
1) obtains horizontal hopping sequences S
Hori
Method: row travels through I from top to bottom
Normal_edgeAll row are for the capable R of j
jIf there is some P
i(P
I-1=0, P
i=1), R then
jOn number of transitions Hop
jAdd 1(Hop
jInitial value is 0), traveled through so all row (R
1, R
2.., R
j..., R
Height), obtain horizontal hopping sequences
S
Hori={Hop
1,Hop
2,...,Hop
j,...,Hop
Height};
2) obtain vertical transition sequence S
Vert
Method: from left to right row travel through I
Normol_edgeAll row are for j row C
jIf there is some P
i(p
I-1=0, P
i=1), C then
jOn number of transitions Hop
jAdd 1(Hop
jInitial value is 0), traveled through so all row (C
1, C
2..., C
j..., C
Width), obtain vertical transition sequence S
Vert={ Hop
1, Hop
2..., Hop
j..., Hop
Width;
3) obtain up and down number of transitions density Hop_Density
Top, Hop_Density
Bottom
(the k default value is Height/2, h=Height, Hop
j∈ S
Hori)
4) obtain left and right sides number of transitions density Hop_Density
Left, Hop_Density
Right
(k gets default value Width/2, h=Width, Hop
j∈ S
Vert)
5) number of transitions density ratio up and down:
Hop_Density
Top/Bottom=Hop_Density
Top/Hop_Density
Bottom
Left and right sides number of transitions density ratio:
Hop_Density
Left/Right=Hop_Density
Left/Hop_Density
Rigth
7, coupling done one by one in all characters of Character mother plate collection, finds the highest Character mother plate index value of matching degree
1) at the concentrated current character template Tamplate that obtains of Character mother plate
i(1≤i≤n, n are the template set maximum index value) obtains its horizontal hopping sequences SM
Hori, vertical transition sequence SM
Vert, number of transitions density ratio Hop_Density_M up and down
Top/Bottom, left and right sides number of transitions density ratio Hop_Density_M
Left/Right
2) S
HoriWith SM
HoriDo coupling, obtain matching degree M
1
3) S
VertWith SM
VertDo coupling, obtain matching degree M
2
4) Hop_Density
Top/BottomWith Hop_Density_M
Top/BottomDo coupling, obtain mating M
3
5) Hop_Density
Left/RightWith Hop_Density_M
Left/RightDo coupling, obtain matching degree M
4
6) calculate total matching degree Mt
i: Mt
i=w
1M
1+ w
2M
2+ w
3M
3+ w
4M
4Wherein, w
1, w
2, w
3, w
4Be respectively M
1, M
2, M
3, M
4Weight
7) get back to step 1, repeat this process, until travel through complete;
8) get Index
mBe { Mt
1, Mt
2..., Mt
i..., Mt
nIn peaked index value, Index
mBe final recognition result.So far, this character recognition is complete.
Claims (5)
1. a license plate character recognition method is divided into some character zones with license plate grey level image, to the gray level image I of each character zone
CharOrder is processed in accordance with the following steps:
A, to I
CharAsk adaptive threshold;
B, to I
CharAdopt the Canny algorithm to determine the character edge image I
Edge
C, to above-mentioned character edge image I
EdgeCarry out filling cavity;
D, again determine above-mentioned character edge image I
EdgeThe border;
E, to above-mentioned I
EdgeCarry out normalized;
The horizontal hopping sequences S at F, calculating character edge
HoriWith vertical transition sequence S
Vert, and according to above-mentioned horizontal hopping sequences S
HoriWith vertical transition sequence S
VertDetermine upper number of transitions density Hop_Density
Top, lower number of transitions density Hop_Density
Bottom, left number of transitions density Hop_Density
Left, right number of transitions density Hop_Density
Right, and further determine up and down number of transitions density ratio Hop_Density
Top/BottomWith left and right sides number of transitions density ratio Hop_Density
Left/Right
G, with the above-mentioned horizontal hopping sequences S that determines in the above-mentioned F step
Hori, vertical transition sequence S
Vert, number of transitions density ratio Hop_Density up and down
Top/BottomWith left and right sides number of transitions density ratio Hop_Density
Left/RightWith the horizontal hopping sequences SM that concentrates the current character template that reads from Character mother plate
Hori, vertical transition sequence SM
Vert, number of transitions density ratio Hop_Density_M up and down
Top/Bottom, left and right sides number of transitions density ratio Hop_Density_M
Left/RightMate one by one, find the highest character index value of matching degree, finish character recognition.
2. license plate character recognition method as claimed in claim 1 further is included in and adopts the canny algorithm to obtain the character edge image among the above-mentioned steps B, is specially:
B1, adopt the template of 3*3, ask about the current pixel point P, about, the gradient G of two clinodiagonals
1, G
2, G
3, G
4, the corresponding operator of each gradient direction is respectively H
1, H
2, H
3, H
4:
According to G
Max=MAX4 (G
1, G
2, G
3, G
4) find the greatest gradient of current pixel point P, and judge current pixel point P whether satisfy simultaneously greatest gradient greater than the gray-scale value of predetermined minimum rim value and P whether greater than above-mentioned adaptive threshold, if it is mark is judged to be marginal point, I
EdgeBe labeled as 1; Not marginal point, I if not then being judged to be
EdgeBe labeled as 0;
B2, get back to step B2, repeat this process, until travel through completely, finally obtain edge image I
Edge
3. license plate character recognition method as claimed in claim 2 further comprises among the above-mentioned steps C the character edge image I
EdgeThe method of filling cavity is:
C1, at I
EdgeIn, obtain current pixel point P
Ij
If C2 Gray is (P
Ij)==0 is then with P
IjCentered by get one 3 * 3 window, pixel value consists of matrix W in the window
3 * 3, the definition operator
Ask the scalar product C of the two
Ij=W
3 * 3H works as C
Ij〉=T
c(T
c=6), just at I
EdgeMiddle with P
IjBe set to marginal point.
C3, get back to step C1, repeat this process, until travel through complete.
4. characters on license plate as claimed in claim 3 sets method, further is included in again to determine above-mentioned character edge image I among the above-mentioned steps D
EdgeThe method on border be:
D1, row traversal to be to determine I from top to bottom
EdgeUpper marginal position index Index
Top
D2, row traversal to be to determine I from top to bottom
EdgeLower limb location index Index
Bottom
D3, from left to right row traversal to be to determine I
EdgeLeft hand edge location index Index
Left
D4, row traversal to be to determine I from right to left
EdgeRight hand edge location index Index
Right
5. want the described license plate character recognition method of one of 1-4 such as right, comprise that further the method with Character mother plate collection coupling is as follows among the above-mentioned steps G:
1) at the concentrated current character template Tamplate that obtains of Character mother plate
i, obtain its horizontal hopping sequences SM
Hori, vertical transition sequence SM
Vert, number of transitions density ratio Hop_Density_M up and down
Top/Bottom, left and right sides number of transitions density ratio Hop_Density_M
Left/Right
2) S
HoriWith SM
HoriDo coupling, obtain matching degree M
1
3) S
VertWith SM
VertDo coupling, obtain matching degree M
2
4) Hop_Density
Top/BottomWith Hop_Density_M
Top/BottomDo coupling, obtain mating M
3
5) Hop_Density
Left/RightWith Hop_Density_M
Left/RightDo coupling, obtain matching degree M
4
6) calculate total matching degree Mt
i: Mt
i=w
1M
1+ w
2M
2+ w
3M
3+ w
4M
4
Wherein, w
1, w
2, w
3, w
4Be respectively M
1, M
2, M
3, M
4Weight, its weight numerical value can be according to concrete image different self-defined.
7) get back to step 1), repeat this process, until travel through complete;
8) get Index
mBe { Mt
1, Mt
2..., Mt
i..., Mt
nIn peaked index value, Index
mBe final recognition result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587347.1A CN103065137B (en) | 2012-12-30 | 2012-12-30 | A kind of license plate character recognition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587347.1A CN103065137B (en) | 2012-12-30 | 2012-12-30 | A kind of license plate character recognition method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103065137A true CN103065137A (en) | 2013-04-24 |
CN103065137B CN103065137B (en) | 2016-05-25 |
Family
ID=48107760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210587347.1A Active CN103065137B (en) | 2012-12-30 | 2012-12-30 | A kind of license plate character recognition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103065137B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636748A (en) * | 2013-11-14 | 2015-05-20 | 张伟伟 | License plate recognition method and device |
CN106423913A (en) * | 2016-09-09 | 2017-02-22 | 华侨大学 | Construction waste sorting method and system |
CN107301429A (en) * | 2017-06-27 | 2017-10-27 | 成都理工大学 | A kind of car plate similar character recognition methods for being worth dividing based on local location |
CN109834941A (en) * | 2019-04-09 | 2019-06-04 | 张柯 | Saving box body 3D printing system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101329734A (en) * | 2008-07-31 | 2008-12-24 | 重庆大学 | License plate character recognition method based on K-L transform and LS-SVM |
CN101739566A (en) * | 2009-12-04 | 2010-06-16 | 重庆大学 | Self-adapting projection template method-based automobile plate positioning method |
-
2012
- 2012-12-30 CN CN201210587347.1A patent/CN103065137B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101329734A (en) * | 2008-07-31 | 2008-12-24 | 重庆大学 | License plate character recognition method based on K-L transform and LS-SVM |
CN101739566A (en) * | 2009-12-04 | 2010-06-16 | 重庆大学 | Self-adapting projection template method-based automobile plate positioning method |
Non-Patent Citations (2)
Title |
---|
ALLAM MOUSA: "Canny Edge-Detection Based Vehicle Plate Recognition", 《INTERNATIONAL JOURNAL OF SIGNAL PROCESSING》, vol. 5, no. 3, 30 September 2012 (2012-09-30), pages 1 - 6 * |
韩立明 等: "车牌识别中关键技术的研究与实现", 《计算机工程与设计》, vol. 31, no. 17, 30 September 2010 (2010-09-30), pages 3919 - 3923 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104636748A (en) * | 2013-11-14 | 2015-05-20 | 张伟伟 | License plate recognition method and device |
CN106423913A (en) * | 2016-09-09 | 2017-02-22 | 华侨大学 | Construction waste sorting method and system |
CN107301429A (en) * | 2017-06-27 | 2017-10-27 | 成都理工大学 | A kind of car plate similar character recognition methods for being worth dividing based on local location |
CN107301429B (en) * | 2017-06-27 | 2020-05-19 | 成都理工大学 | License plate similar character recognition method based on local position value scoring |
CN109834941A (en) * | 2019-04-09 | 2019-06-04 | 张柯 | Saving box body 3D printing system |
Also Published As
Publication number | Publication date |
---|---|
CN103065137B (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273896A (en) | A kind of car plate detection recognition methods based on image recognition | |
CN105261017B (en) | The method that image segmentation based on road surface constraint extracts pedestrian's area-of-interest | |
CN105373794B (en) | A kind of licence plate recognition method | |
CN102043950B (en) | Vehicle outline recognition method based on canny operator and marginal point statistic | |
CN103198315B (en) | Based on the Character Segmentation of License Plate of character outline and template matches | |
CN103268489B (en) | Automotive number plate recognition methods based on sliding window search | |
CN102663378B (en) | Method for indentifying joined-up handwritten characters | |
CN103136528B (en) | A kind of licence plate recognition method based on dual edge detection | |
CN103824091B (en) | A kind of licence plate recognition method for intelligent transportation system | |
CN108765443A (en) | A kind of mark enhancing processing method of adaptive color Threshold segmentation | |
CN104361336A (en) | Character recognition method for underwater video images | |
CN102375982A (en) | Multi-character characteristic fused license plate positioning method | |
CN104751142A (en) | Natural scene text detection algorithm based on stroke features | |
CN103366190A (en) | Method for identifying traffic sign | |
CN105528609A (en) | Vehicle license plate location method based on character position | |
CN104881661B (en) | Vehicle checking method based on structural similarity | |
CN104200207A (en) | License plate recognition method based on Hidden Markov models | |
CN104700072A (en) | Lane line historical frame recognition method | |
CN104112132A (en) | Automatic gun number identification method | |
CN104299009A (en) | Plate number character recognition method based on multi-feature fusion | |
Sharma et al. | A hybrid technique for license plate recognition based on feature selection of wavelet transform and artificial neural network | |
CN103984949A (en) | License plate positioning method and system based on high and low cap transformation and connected domain | |
CN109886168B (en) | Ground traffic sign identification method based on hierarchy | |
CN103065137A (en) | License plate character recognition method | |
CN106650728A (en) | Shadow license plate image binarization method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210517 Address after: No. 6, Jiuhua Road, khuchuang Park, Mianyang, Sichuan Patentee after: Sichuan Jiuzhou Investment Holding Group Co.,Ltd. Address before: 621000 No.6, Jiuhua Road, Mianyang City, Sichuan Province Patentee before: SICHUAN JIUZHOU ELECTRIC GROUP Co.,Ltd. |
|
TR01 | Transfer of patent right |