CN106778742A - A kind of automobile logo detection method suppressed based on Gabor filter background texture - Google Patents

A kind of automobile logo detection method suppressed based on Gabor filter background texture Download PDF

Info

Publication number
CN106778742A
CN106778742A CN201611126129.2A CN201611126129A CN106778742A CN 106778742 A CN106778742 A CN 106778742A CN 201611126129 A CN201611126129 A CN 201611126129A CN 106778742 A CN106778742 A CN 106778742A
Authority
CN
China
Prior art keywords
logo
image
point
sample
detection method
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
Application number
CN201611126129.2A
Other languages
Chinese (zh)
Other versions
CN106778742B (en
Inventor
路小波
陈聪
孙权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201611126129.2A priority Critical patent/CN106778742B/en
Publication of CN106778742A publication Critical patent/CN106778742A/en
Application granted granted Critical
Publication of CN106778742B publication Critical patent/CN106778742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/245Aligning, centring, orientation detection or correction of the image by locating a pattern; Special marks for positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing

Abstract

The invention discloses a kind of automobile logo detection method suppressed based on Gabor filter background texture, comprise the steps of:The first step, line tilt correction pretreatment is entered to image;Second step, carries out car plate detection in image after the pre-treatment, obtain license plate area;3rd step, based on priori, according to car plate and the position relationship of logo, obtains the logo coarse positioning region comprising logo pattern after License Plate;4th step, Gabor filtering is carried out to logo coarse positioning region, suppresses radiator-grid texture around logo, highlights car mark region;5th step, carries out gaussian filtering and mathematical morphology closed operation;6th step, selectes threshold value to gray level image thresholding, and confines detection target area, realizes logo fine positioning.The automobile logo detection method detection time is short, and verification and measurement ratio is high.

Description

A kind of automobile logo detection method suppressed based on Gabor filter background texture
Technical field
The present invention relates to automobile logo detection method, more particularly to a kind of logo suppressed based on Gabor filter background texture Detection method.
Background technology
With the rapid growth of social economy, the automobile consumption demand of China is increasingly vigorous at present, and automobile number constantly increases It is long, such as escaping behavior after traffic accident is also brought, vehicle is stolen to wait traffic problems.In order to determine illegal and vehicles peccancy, at present Generally use and the car plate of automobile is identified.But deck in recent years, board, car plate abrasion and license plate shading etc. are existing The appearance of elephant so that determining automobile only by identification car plate becomes unreliable.Logo is to contain vehicle and manufacturer The key image of information, is the important evidence of separation vehicle and identification.If logo can exactly be positioned, it will effectively carry Separation vehicle high and the accuracy rate of identification.
But logo species is abundant, various shapes, the surface without stabilization, while the environment residing for it is texture Complicated automobile grills region.Other logo is easily influenceed by weather:In the case of night or rainy day illumination deficiency, logo is difficult to distinguish Recognize;Under intense light conditions, logo is easily reflective.These characteristics cause that vehicle-logo location has larger difficulty, very challenging property.It is existing Vehicle-logo location method is ripe not enough, and it is low to there is verification and measurement ratio, the problems such as easily interference by illumination variation, so logo Detection results are also Need further raising.
The content of the invention
Goal of the invention:The problem that the present invention exists for prior art, there is provided one kind is based on Gabor filter background texture The automobile logo detection method of suppression.
Technical scheme:The automobile logo detection method suppressed based on Gabor filter background texture of the present invention is included:
(1) to shooting the vehicle image with certain angle of inclination for obtaining, vehicle symmetry axis is carried out based on SIFT operators Detection and slant correction;
(2) cascade classifier is obtained using the machine learning algorithm training of Harr+AdaBoost, and uses the cascade sort Device positioning licence plate region from the vehicle image after correction;
(3) based on priori, according to car plate and the position relationship of logo, obtained comprising car in the license plate area of positioning The logo coarse positioning region of case of marking on a map;
(4) Gabor filtering is carried out to logo coarse positioning region, suppresses radiator-grid texture around logo, highlight car mark region;
(5) gaussian filtering and mathematical morphology closed operation are carried out to car mark region;
(6) threshold value is selected to the gray level image thresholding that obtains step (5), and confines detection target area, obtain essence The logo of positioning.
Beneficial effect:Compared with prior art, its remarkable advantage is the present invention:
1) accuracy of detection is high:The method has certain anti-interference to illumination variation, has under different illumination conditions Verification and measurement ratio higher, is had preferably (especially under high light) under the illumination condition such as sun light direct beam and night to logo Locating effect;
2) real-time is good:The inventive method night or illumination deficiency under the conditions of, under the conditions of sunshine blaze With detection speed faster is suffered under conditions of uniform illumination, for highway bayonet socket capture image data for, can To realize online real-time processing;
3) applicable object is wide:Traditional background texture restrainable algorithms are often first to carry out texture side to logo coarse positioning region To judgement, different vehicle-logo location algorithms is then used according to different grain direction, once there is logo line in conventional method The situation of discriminating direction mistake is managed, the localization method of mistake will be used, necessarily cause positioning to fail, and what the present invention was used The method suppressed based on Gabor filter background texture is had applicability higher and need not carry out grain direction differentiation, can It is level to be applied to logo background simultaneously, and the vehicle of vertical and reticular texture carries out logo detection, so the present invention is a kind of suitable For different situations and the more preferable algorithm of robustness.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the automobile logo detection method suppressed based on Gabor filter background texture of the invention;
Fig. 2 is the schematic flow sheet of License Plate;
Fig. 3 is the filtering schematic flow sheet of Gabor filter.
Specific embodiment
As shown in figure 1, the automobile logo detection method suppressed based on Gabor filter background texture of the present embodiment is included:
(1) to shooting the vehicle image with certain angle of inclination for obtaining, vehicle symmetry axis is carried out based on SIFT operators Detection and slant correction.
The step is specifically included:
(1-1) obtains the point vector of each characteristic point of vehicle image, wherein, the point vector of feature points i isxi,yiThe point coordinates is represented,Represent direction, siDimensional information is represented, i=1 ..., n, n is characterized The sum of point;
(1-2) is by the direction of characteristic pointBy after normalization, obtaining corresponding Feature Descriptor ki, i=1 ..., n, and By the Feature Descriptor default dimension of generation a little SIFT feature vector;
(1-3) is by directly modification Feature Descriptor kiGeneration mirror image mi, then generated by matching characteristic point and mirror image possible Symmetrical feature point to (pi,pj), i, j=1 ..., n, i ≠ j;
(1-4) calculates every a pair possible symmetrical feature points to (pi,pj) angle confidence level Φij, yardstick confidence level Sij With apart from confidence level Dij, then it is calculated total confidence level Mi,j, i, j=1 ..., n, i ≠ j;Wherein:
Angle confidence level ΦijComputing formula be:Wherein,Respectively point pi With point pjDirection, θijIt is point piTo point pjDirection;
Yardstick confidence level SijBy quantifying piAnd pjThe similarity s of mesoscaleiAnd sjTo obtain: Wherein σsIt is scale factor, is Gaussian function envelope along point piTo point pjDirection standard variance;
Apart from confidence level DijFor:σdIt is that, apart from border, d is symmetric points piTo point pjDistance;
Total confidence level Mi,jFor:
(1-5) calculates every a pair of symmetrical features point to (pi,pj) symmetry axis rij:rij=xc cosθij+yc sinθij, its Middle xc, ycRespectively characteristic point is to (pi,pj) length in x-axis and y-axis direction, θijIt is point piTo point pjDirection;
(1-6) finds main symmetry axis using linear Hough transform, and every a pair of symmetrical features point is to (pi,pj) empty to Hough Interior point (rijij) with weights Mi,jBallot, obtains main symmetry axis;
(1-7) is using the angle of main symmetry axis as inclination of vehicle angle, θ;
Vehicle image is entered line tilt correction by (1-8) according to inclination of vehicle angle, θ, and the image after correction is:
Width, height, are the wide and height of original image, and width', height' are the wide and height of correction chart picture.
(2) cascade classifier is obtained using the machine learning algorithm training of Harr+AdaBoost, and uses the cascade sort Device positioning licence plate region from the vehicle image after correction.
Step (2) specifically includes following steps:
The positive sample and negative sample of (2-1) collection predetermined number, set up positive sample storehouse and negative example base respectively, wherein, just Sample refers to the car plate cut out during the high definition vehicle shot from road gate shines, and negative sample is from the non-car plate area in vehicle photograph The random background sample cut out in domain, comprising various background environments;
(2-2) extracts the Harr features of all positive negative samples, and goes out several AdaBoost with these Harr features trainings The strong classifier of algorithm;
Wherein, the training method of the strong classifier of AdaBoost algorithms is:
(2-2-1) sets training set S={ (a1,b1),...,(am,bm) include m sample, wherein ai∈ A (i=1, 2 ..., m) represent training sample, A is training sample set, bi∈ B are aiCorresponding diagnostic criterium, and have B={ 1, -1 }, for I-th j-th Weak Classifier h of training samplej(ai) be expressed as
Wherein, Fj(ai) represent j-th value of Haar features, δ in subwindowjRepresent the threshold value of setting, pjRepresent control not The amount in the direction of equal sign;
Weak Classifier is trained for strong classifier by (2-2-2) with AdaBoost algorithms, is comprised the following steps that:
Initialization sample weights:
Wherein, w1I () represents i-th initial weight of sample in first round training, p represents the sum of positive sample in S, q The sum of negative sample in S is represented, it is total sample number to have p+q=m, m;
For t=1,2 ..., T (T is iterations) is circulated as follows:
1. weights normalization
Wherein, wtI () represents i-th weights of sample, i=1,2 ..., m in t wheel training;
2. its Weak Classifier h is trained to feature jj, calculate its weighted error εj, i.e.,
And select the minimum grader h of weighted errort minThe grader circulated as this;
3. sample weights are updated according to equation below:
Wherein when classifying correct, ht(ai)=bi, ei=0, during classification error, ht(ai)≠bi, ei=1;
(2-2-3) obtains final strong classifier, as follows
WhereinA is window to be checked, htA () represents the Weak Classifier obtained in t wheel training, H (a) Result for 1 represent receive, 0 represent refusal.
(2-3) will train some strong classifiers for obtaining that car plate detection cascade classifier is constructed in the form of cascading;
(2-4) using the car plate detection cascade classifier for training as shown in Fig. 2 detect the car plate area in vehicle image Domain;
It is foundation that (2-5) uses car plate ratio characteristic and car plate position feature, and the license plate area that will be detected is picked up by mistake Screening.
Step (2-5) is used to exclude after positioning the region of flase drop.
Wherein, car plate ratio characteristic:Car plate is shaped as rectangle, and car plate has the font of fixed number of words and fixed size, real Border width and height are respectively 44 centimetres and 14 centimetres, and the ratio of width to height in image is basic 3:1 or so, in algorithm can to width and Highly it is sized scope limit;
Car plate position feature:Because real road monitoring camera is shot and car by fixed position ground induction coil signal triggering The installation site of board is in the partial below of whole vehicle, therefore vertical direction position of the car plate in entire image is basicly stable (more Tend to occur at image the latter half), the center can be deviateed in the hope of average car plate center according to statistical information The possibility that more remote candidate region turns into car plate is lower.
(3) it is can be found that by observing each part topological structure of the headstock of vehicle:It is characterized in it that logo is easiest to differentiate Position, its maximum difference with other interference regions is that logo does not appear in other positions above except car plate, and is done The position for disturbing region is random, uncertain, therefore can be by car plate position coarse localization logo approximate range;By to big Amount vehicle pictures experiment, according to car plate and the position relationship of logo, obtains comprising logo pattern in the license plate area of positioning Logo coarse positioning region is:
Wherein, X1、X2、Y1、Y2The left and right of the logo approximate range that respectively coarse positioning is obtained and up-and-down boundary, Xleft、 XrightThe respectively right boundary of license plate area, YupIt is license plate area coboundary, for license plate area highly, N is optional to height The height coefficient selected, is typically taken as N=3.
(4) Gabor filtering is carried out to logo coarse positioning region, suppresses radiator-grid texture around logo, highlight car mark region.
As shown in figure 3, step (4) specifically includes following steps:
(4-1) define Gabor filter two-dimensional Gabor kernel function h (x, y) be
Wherein, u0It is function centre frequency, σx、σyIt is scale factor, respectively Gaussian function envelope is along x, y-axis direction Standard deviation, exp (2 π ju0R1) it is oscillating function, real part is cosine function, and imaginary part is SIN function,It is the direction of setting;
By changing Gabor kernel functions directionThe texture information of different directions in image can be extracted,Span ForIn the range of thisValue can describe all of direction, i.e.,WithSame direction is described, together Sample can extract texture information in image on different scale by changing the yardstick of Gabor kernel functions, without choosing in the present invention The extraction of multiple dimensioned upper texture information is selected, but under the particular dimensions for working well, have chosen 6 different directions Gabor filter constitutes wave filter group, and direction is respectively π/6, π/4, π/3,2 π/3,3 π/4,5 π/6.
(4-2) initializes Gabor filter:6 Gabor filter { h of different directions are built respectivelyl(x, y) | l= 1 ..., 6 }, so as to constitute wave filter group, wherein, directionIt is respectively set as π/6, π/4, π/3,2 π/3,3 π/4,5 π/6,6 The scale parameter and bandwidth parameter of the Gabor filter in direction set as follows:Yardstick σx、σyValue be set as 1, bandwidth Sigma It is set to 2 π, and Sigma=σ u0, therefore centre frequency u0It is 2 π;
The logo coarse positioning area image that (4-3) obtains step (3) respectively with 6 two-dimensional Gabor cores of different directions Function h (x, y) carries out convolution operation and modulus, obtains 6 filtering image G1(x, y), G2(x, y), G3(x, y), G4(x, y), G5 (x, y), G6(x, y), wave filter group final output image is G (x, y)=(G1(x,y)+G2(x,y)+G3(x,y)+G4(x,y)+G5 (x,y)+G6(x, y))/6, wherein, Gl(x, y)=∫ ∫ f (x0,y0)hl(x-x0,y-y0)dx0dy0, in formula, f (x, y) is that logo is thick Positioning region image;
Each pixel pk of wave filter group final output image G (x, y) that (4-4) is obtained to step (4-3) calculates it Attenuation coefficient λpk, k=1 ..., num, num are the total number of pixel, and calculation procedure is as follows:
1. to being hung down with Sobel horizontal edges detection method and Sobel respectively in the coarse positioning region that is obtained after License Plate Straight edge detection method obtains the image I comprising horizontal texturexAnd the image I comprising vertical texturey
2. the attenuation coefficient for calculating each pixel pk is:
(xpk,ypk) it is the coordinate of pixel pk, α and β is two constant coefficients, and α=0.5, β=2 are taken in the present invention; Width_pai is the width of the license plate area that positioning is obtained;From formula:λpkSize and Ix/IyAnd xpkIt is relevant:Ix/IyMore Level off to 0 or infinitely great the situation of texture (correspondence horizontally or vertically), λpkIt is smaller, similarly, xpkMore deviate at width_pai/2 (the common symmetry axis of logo and car plate), λpkIt is smaller,
Each pixel of ripple device group output image G (x, y) is all multiplied by its corresponding attenuation coefficient λ by (4-5)pk
(5) gaussian filtering and mathematical morphology closed operation are carried out to car mark region.
The step filters noise for the image that step (4) is obtained with two-dimensional discrete Gaussian filter function, and carries out ash Degree level mathematical morphology closed operation, to make detection target interruption up or be broken, eliminates the minuscule hole in target.
(6) threshold value is selected to the gray level image thresholding that obtains step (5), and confines detection target area, obtain essence The logo of positioning.
Step (6) specifically includes following steps:
(6-1) selects the image T (x that step (5) is obtainedpk,ypk) grey scale pixel value average 1/2 as threshold valueI.e.
(6-2) carries out thresholding using threshold value, and the image after thresholding is
The image center regular inspection of (6-3) from after thresholding surveys target area, and this target area is car mark region.

Claims (8)

1. it is a kind of based on Gabor filter background texture suppress automobile logo detection method, it is characterised in that the method includes:
(1) to shooting the vehicle image with certain angle of inclination for obtaining, the symmetrical shaft detection of vehicle is carried out based on SIFT operators And slant correction;
(2) obtain cascade classifier using the machine learning algorithm training of Harr+AdaBoost, and using the cascade classifier from Positioning licence plate region in vehicle image after correction;
(3) based on priori, according to car plate and the position relationship of logo, obtained comprising logo figure in the license plate area of positioning The logo coarse positioning region of case;
(4) Gabor filtering is carried out to logo coarse positioning region, suppresses radiator-grid texture around logo, highlight car mark region;
(5) gaussian filtering and mathematical morphology closed operation are carried out to car mark region;
(6) threshold value is selected to the gray level image thresholding that obtains step (5), and confines detection target area, obtain fine positioning Logo.
2. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (1) is specifically included:
(1-1) obtains the point vector of each characteristic point of vehicle image, wherein, the point vector of feature points i isxi,yiThe point coordinates is represented,Represent direction, siDimensional information is represented, i=1 ..., n, n is characterized The sum of point;
(1-2) is by the direction of characteristic pointBy after normalization, obtaining corresponding Feature Descriptor ki, i=1 ..., n, and by institute The SIFT feature vector of the default dimension of Feature Descriptor generation a little;
(1-3) is by directly modification Feature Descriptor kiGeneration mirror image mi, then it is possible right by matching characteristic point and mirror image generation Claim characteristic point to (pi,pj), i, j=1 ..., n, i ≠ j;
(1-4) calculates every a pair possible symmetrical feature points to (pi,pj) angle confidence level Φij, yardstick confidence level SijWith away from From confidence level Dij, then it is calculated total confidence level Mi,j, i, j=1 ..., n, i ≠ j;Wherein:
Angle confidence level ΦijComputing formula be:Wherein,Respectively point piAnd point pjDirection, θijIt is point piTo point pjDirection;
Yardstick confidence level SijBy quantifying piAnd pjThe similarity s of mesoscaleiAnd sjTo obtain:Its Middle σsIt is scale factor, is Gaussian function envelope along point piTo point pjDirection standard variance;
Apart from confidence level DijFor:σdIt is that, apart from border, d is symmetric points piTo point pjDistance;
Total confidence level Mi,jFor:
(1-5) calculates every a pair of symmetrical features point to (pi,pj) symmetry axis rij:rij=xccosθij+ycsinθij, wherein xc, yc Respectively characteristic point is to (pi,pj) length in x-axis and y-axis direction, θijIt is point piTo point pjDirection;
(1-6) finds main symmetry axis using linear Hough transform, and every a pair of symmetrical features point is to (pi,pj) in hough space Point (rijij) with weights Mi,jBallot, obtains main symmetry axis;
(1-7) is using the angle of main symmetry axis as inclination of vehicle angle, θ;
Vehicle image is entered line tilt correction by (1-8) according to inclination of vehicle angle, θ, and the image after correction is:
w i d t h ′ = w i d t h . c o s θ + h e i g h t . s i n θ h e i g h t ′ = w i d t h . s i n θ + h e i g h t . c o s θ
Width, height, are the wide and height of original image, and width', height' are the wide and height of correction chart picture.
3. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (2) is specifically included:
The positive sample and negative sample of (2-1) collection predetermined number, set up positive sample storehouse and negative example base respectively, wherein, positive sample Refer to the car plate cut out during the high definition vehicle shot from road gate shines, negative sample is from the non-license plate area in vehicle photograph The random background sample cut out, comprising various background environments;
(2-2) extracts the Harr features of all positive negative samples, and goes out several AdaBoost algorithms with these Harr features trainings Strong classifier;
(2-3) will train some strong classifiers for obtaining that car plate detection cascade classifier is constructed in the form of cascading;
(2-4) detects the license plate area in vehicle image using the car plate detection cascade classifier for training;
It is foundation that (2-5) uses car plate ratio characteristic and car plate position feature, and the license plate area that will be detected is picked up screening by mistake.
4. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 3, its feature exists In:The training method of the strong classifier of AdaBoost algorithms is described in step (2-2):
(2-2-1) sets training set S={ (a1,b1),...,(am,bm) include m sample, wherein ai∈ A (i=1,2 ..., m) Training sample is represented, A is training sample set, bi∈ B are aiCorresponding diagnostic criterium, and have B={ 1, -1 }, for i-th training J-th Weak Classifier h of samplej(ai) be expressed as
h j ( a i ) = 1 , p j F j ( a i ) < p j &delta; j 0 , o t h e r w i s e
Wherein, Fj(ai) represent j-th value of Haar features, δ in subwindowjRepresent the threshold value of setting, pjRepresent the control sign of inequality Direction amount;
Weak Classifier is trained for strong classifier by (2-2-2) with AdaBoost algorithms, is comprised the following steps that:
Initialization sample weights:
w 1 ( i ) = 1 2 p , b i = 1 1 2 q , b i = - 1
Wherein, w1I () represents i-th initial weight of sample in first round training, p represents the sum of positive sample in S, and q represents S The sum of middle negative sample, it is total sample number to have p+q=m, m;
For t=1,2 ..., T (T is iterations) is circulated as follows:
1. weights normalization
w t ( i ) &LeftArrow; w t ( i ) &Sigma; j = 1 m w t ( j )
Wherein, wtI () represents i-th weights of sample, i=1,2 ..., m in t wheel training;
2. its Weak Classifier h is trained to feature jj, calculate its weighted error εj, i.e.,
&epsiv; j = &Sigma; i = 1 m w t ( i ) | h j ( a i ) - b i |
And select the minimum grader h of weighted errortminThe grader circulated as this;
3. sample weights are updated according to equation below:
w t + 1 ( i ) = w t ( i ) ( &epsiv; t 1 - &epsiv; t ) 1 - e i = w t ( i ) &epsiv; t 1 - &epsiv; t , h t ( a i ) = b i w t ( i ) , h t ( a i ) &NotEqual; b i
Wherein when classifying correct, ht(ai)=bi, ei=0, during classification error, ht(ai)≠bi, ei=1;
(2-2-3) obtains final strong classifier, as follows
H ( a ) = s i g n ( &Sigma; t = 1 T &alpha; t h t ( a ) ) = 1 , &Sigma; t = 1 T &alpha; t h t ( a ) &GreaterEqual; 1 2 &Sigma; t = 1 T &alpha; t - 1 , o t h e r w i s e
WhereinA is window to be checked, htA () represents the Weak Classifier obtained in t wheel training, the knot of H (a) Fruit represents receiving for 1, and 0 represents refusal.
5. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (3) specifically includes following steps:
Based on priori, according to car plate and the position relationship of logo, obtained comprising logo pattern in the license plate area of positioning Logo coarse positioning region, wherein, logo coarse positioning region is:
X 1 = X l e f t X 2 = X r i g h t Y 1 = Y u p - N * h e i g h t Y 2 = Y u p
Wherein, X1、X2、Y1、Y2The left and right of the logo approximate range that respectively coarse positioning is obtained and up-and-down boundary, Xleft、XrightPoint Not Wei license plate area right boundary, YupIt is license plate area coboundary, for license plate area highly, N is selectable height to height Degree coefficient.
6. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (4) specifically includes following steps:
(4-1) define Gabor filter two-dimensional Gabor kernel function h (x, y) be
h ( x , y ) = 1 2 &pi;&sigma; x &sigma; y exp &lsqb; - 1 2 ( R 1 2 &sigma; x 2 + R 2 2 &sigma; y 2 ) &rsqb; . exp ( 2 &pi;ju 0 R 1 )
Wherein, u0It is function centre frequency, σx、σyIt is scale factor, respectively Gaussian function envelope is along x, y-axis direction Standard deviation, exp (2 π ju0R1) it is oscillating function, real part is cosine function, and imaginary part is SIN function, It is the direction of setting;
(4-2) initializes Gabor filter:6 Gabor filter { h of different directions are built respectivelyl(x, y) | l=1 ..., 6 }, so as to constitute wave filter group, wherein, directionIt is respectively set as π/6, π/4, π/3,2 π/3,3 π/4,5 π/6,6 directions The scale parameter and bandwidth parameter of Gabor filter set as follows:Yardstick σx、σyValue be set as 1, bandwidth Sigma is set to 2 π, and Sigma=σ u0, therefore centre frequency u0It is 2 π;
The logo coarse positioning area image that (4-3) obtains step (3) respectively with 6 two-dimensional Gabor kernel function h of different directions (x, y) carries out convolution operation and modulus, obtains 6 filtering image G1(x, y), G2(x, y), G3(x, y), G4(x, y), G5(x, y), G6(x, y), wave filter group final output image is G (x, y)=(G1(x,y)+G2(x,y)+G3(x,y)+G4(x,y)+G5(x,y)+ G6(x, y))/6, wherein, Gl(x, y)=∫ ∫ f (x0,y0)hl(x-x0,y-y0)dx0dy0, in formula, f (x, y) is logo coarse positioning area Area image;
Each pixel pk of wave filter group final output image G (x, y) that (4-4) is obtained to step (4-3) calculates its decay Coefficient lambdapk, k=1 ..., num, num are the total number of pixel, and calculation procedure is as follows:
1. to using Sobel horizontal edges detection method and Sobel vertical edges in the coarse positioning region that is obtained after License Plate respectively Edge detection method obtains the image I comprising horizontal texturexAnd the image I comprising vertical texturey
2. the attenuation coefficient for calculating each pixel pk is:
&lambda; p k = e - &alpha; | l n I x I y | . e - &beta; | l n x p k w i d t h _ p a i / 2 |
(xpk,ypk) it is the coordinate of pixel pk, α and β is two constant coefficients, and width_pai is the license plate area that positioning is obtained Width;
Each pixel of ripple device group output image G (x, y) is all multiplied by its corresponding attenuation coefficient λ by (4-5)pk
7. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (5) specifically includes following steps:
Noise is filtered with two-dimensional discrete Gaussian filter function for the image that step (4) is obtained, and carries out number of greyscale levels shape State closed operation, to make detection target interruption up or be broken, eliminates the minuscule hole in target.
8. the automobile logo detection method suppressed based on Gabor filter background texture according to claim 1, its feature exists In:Step (6) specifically includes following steps:
(6-1) selects the image T (x that step (5) is obtainedpk,ypk) grey scale pixel value average 1/2 as threshold valueI.e.
(6-2) carries out thresholding using threshold value, and the image after thresholding is
T &prime; ( x p k , y p k ) = 1 , T ( x p k , y p k ) > 1 2 t &OverBar; 0 , T ( x p k , y p k ) &le; 1 2 t &OverBar;
The image center regular inspection of (6-3) from after thresholding surveys target area, and this target area is car mark region.
CN201611126129.2A 2016-12-09 2016-12-09 Car logo detection method based on Gabor filter background texture suppression Active CN106778742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611126129.2A CN106778742B (en) 2016-12-09 2016-12-09 Car logo detection method based on Gabor filter background texture suppression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611126129.2A CN106778742B (en) 2016-12-09 2016-12-09 Car logo detection method based on Gabor filter background texture suppression

Publications (2)

Publication Number Publication Date
CN106778742A true CN106778742A (en) 2017-05-31
CN106778742B CN106778742B (en) 2020-03-31

Family

ID=58877560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611126129.2A Active CN106778742B (en) 2016-12-09 2016-12-09 Car logo detection method based on Gabor filter background texture suppression

Country Status (1)

Country Link
CN (1) CN106778742B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961137A (en) * 2018-07-12 2018-12-07 中山大学 A kind of image latent writing analysis method and system based on convolutional neural networks
CN110867083A (en) * 2019-11-20 2020-03-06 浙江宇视科技有限公司 Vehicle monitoring method, device, server and machine-readable storage medium
CN111723335A (en) * 2020-05-21 2020-09-29 河海大学 Target symmetry axis detection method based on concentric circumference filter
CN111915897A (en) * 2019-05-10 2020-11-10 北京万集科技股份有限公司 Method and device for determining position of identification area, storage medium and electronic device
CN113873442A (en) * 2021-09-08 2021-12-31 宁波大榭招商国际码头有限公司 External hub card positioning method
CN114220101A (en) * 2021-11-25 2022-03-22 慧之安信息技术股份有限公司 Method and system for reducing interference of natural light change on license plate marker extraction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075361A1 (en) * 2006-09-21 2008-03-27 Microsoft Corporation Object Recognition Using Textons and Shape Filters
CN101520841A (en) * 2009-03-10 2009-09-02 北京航空航天大学 Real-time and anti-interference method for positioning license plate in high-definition TV video
CN101937508A (en) * 2010-09-30 2011-01-05 湖南大学 License plate localization and identification method based on high-definition image
CN102419820A (en) * 2011-08-18 2012-04-18 电子科技大学 Method for rapidly detecting car logo in videos and images
CN104156692A (en) * 2014-07-07 2014-11-19 叶茂 Automobile logo sample training and recognition method based on air-inlet grille positioning
CN105740886A (en) * 2016-01-25 2016-07-06 宁波熵联信息技术有限公司 Machine learning based vehicle logo identification method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075361A1 (en) * 2006-09-21 2008-03-27 Microsoft Corporation Object Recognition Using Textons and Shape Filters
CN101520841A (en) * 2009-03-10 2009-09-02 北京航空航天大学 Real-time and anti-interference method for positioning license plate in high-definition TV video
CN101937508A (en) * 2010-09-30 2011-01-05 湖南大学 License plate localization and identification method based on high-definition image
CN102419820A (en) * 2011-08-18 2012-04-18 电子科技大学 Method for rapidly detecting car logo in videos and images
CN104156692A (en) * 2014-07-07 2014-11-19 叶茂 Automobile logo sample training and recognition method based on air-inlet grille positioning
CN105740886A (en) * 2016-01-25 2016-07-06 宁波熵联信息技术有限公司 Machine learning based vehicle logo identification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GARETH LOY ET AL.: "Detecting Symmetry and Symmetric Constellations of Features", 《ECCV"06 PROCEEDINGS OF THE 9TH EUROPEAN CONFERENCE ON COMPUTER VISION-VOLUME PART II》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961137A (en) * 2018-07-12 2018-12-07 中山大学 A kind of image latent writing analysis method and system based on convolutional neural networks
CN111915897A (en) * 2019-05-10 2020-11-10 北京万集科技股份有限公司 Method and device for determining position of identification area, storage medium and electronic device
CN110867083A (en) * 2019-11-20 2020-03-06 浙江宇视科技有限公司 Vehicle monitoring method, device, server and machine-readable storage medium
CN110867083B (en) * 2019-11-20 2021-06-01 浙江宇视科技有限公司 Vehicle monitoring method, device, server and machine-readable storage medium
CN111723335A (en) * 2020-05-21 2020-09-29 河海大学 Target symmetry axis detection method based on concentric circumference filter
CN111723335B (en) * 2020-05-21 2023-03-24 河海大学 Target symmetry axis detection method based on concentric circumference filter
CN113873442A (en) * 2021-09-08 2021-12-31 宁波大榭招商国际码头有限公司 External hub card positioning method
CN113873442B (en) * 2021-09-08 2023-08-04 宁波大榭招商国际码头有限公司 Positioning method for external collection card
CN114220101A (en) * 2021-11-25 2022-03-22 慧之安信息技术股份有限公司 Method and system for reducing interference of natural light change on license plate marker extraction

Also Published As

Publication number Publication date
CN106778742B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN106778742A (en) A kind of automobile logo detection method suppressed based on Gabor filter background texture
KR100912746B1 (en) Method for traffic sign detection
CN105740886B (en) A kind of automobile logo identification method based on machine learning
CN108918532B (en) System and method for detecting damage of expressway traffic sign
CN109101924A (en) A kind of pavement marking recognition methods based on machine learning
CN105956578A (en) Face verification method based on identity document information
CN106650731A (en) Robust license plate and logo recognition method
CN103218831A (en) Video moving target classification and identification method based on outline constraint
Li et al. Road lane detection with gabor filters
EP2659668A1 (en) Calibration device and method for use in a surveillance system for event detection
CN102314599A (en) Identification and deviation-detection method for lane
CN106686280A (en) Image repairing system and method thereof
CN107092876A (en) The low-light (level) model recognizing method combined based on Retinex with S SIFT features
CN109635722B (en) Automatic identification method for high-resolution remote sensing image intersection
CN107194393A (en) A kind of method and device for detecting Provisional Number Plate
CN109961042A (en) Smoke detection method combining deep convolutional neural network and visual change diagram
CN109460722A (en) A kind of license plate intelligent identification Method
CN106407951A (en) Monocular vision-based nighttime front vehicle detection method
CN110321855A (en) A kind of greasy weather detection prior-warning device
Elmikaty et al. Car detection in high-resolution urban scenes using multiple image descriptors
CN108073940A (en) A kind of method of 3D object instance object detections in unstructured moving grids
CN110458019A (en) The waterborne target detection method for excluding inverted image interference under rare cognition sample conditions
Li et al. Seatbelt detection based on cascade adaboost classifier
CN110516538B (en) Prison double off-duty violation assessment method based on deep learning target detection
Anagnostopoulos et al. Using sliding concentric windows for license plate segmentation and processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant