vehicle number plate recognition system. information and constraints character recognition using...

32
VEHICLE NUMBER PLATE RECOGNITION SYSTEM

Upload: dana-may

Post on 24-Dec-2015

232 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

VEHICLE NUMBER PLATE RECOGNITION SYSTEM

Page 2: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Information and constraints

Character recognition using moments. Character recognition using OCR. Signature. Mostly implemented using hardware.

Page 3: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Technique used - Signature

Take binary image. Sum of white or black pixels

in each row and column. Finding peaks and valleys in

row histogram or column histogram.

Ridge in the Row

signature

Row Histogram - Signature

Column Histogram –

Signature

Page 4: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Brief overview of the system

Takes image of the car and searches for the number plate in the image.

Once the probable number plate area is located it is given to OCR.

If OCR doesn’t recognize the characters from the image number plate area is searched again from the image.

If characters are recognized then number plate search is terminated.

Page 5: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Limitations of the system

Noise free image with uniform illumination. Numbers displayed in one line on the number plate.

Page 6: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Basic components of the system

Image division into small images (finding probable number plate area in the image).

Recognizing number plate area. Parsing number plate to extract characters. Apply OCR to the parsed characters.

Page 7: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Part I – Finding probable Number

Plate images

Page 8: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Finding probable number plate image

Using signature technique to break the vehicle image into smaller image pieces.

One of these image pieces will be number plate. Breaking image into pieces was the main issue.

Page 9: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Steps towards refinement

Thresh holding using average of minimum and maximum value of the signature.

Page 10: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Steps towards refinement – Cont.

Thresh holding using average of non zero minimum and second highest peak of the signature.

Page 11: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Steps towards refinement – Cont.

Thresh holding using average of minimum and minimum peak of the signature.

Page 12: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Row wise signature of binarised image

Page 13: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Row wise signature of inverted binarised image

Page 14: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Car Images

Original Image

Binarised image

Inverted binarised image

Page 15: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Steps towards refinement – Cont.

Thresh holding using average of minimum and median of the signature.

Page 16: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Extracting Number plate from the image

One piece of image that will be tested for number plate

Page 17: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Part II – Recognition of the Number Plate

Page 18: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Recognizing plate and parsing it

Looking for number plate in the broken pieces of vehicle image. Apply peak to valley to the candidate image pieces to further break

the image piece into possible character. Image piece with maximum peaks in candidate character is selected

as the number plate.

Column signature of the number plate image

Column signature of the another image piece

Page 19: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Recognizing plate and parsing it – Cont.

Column signature of the another image piece

Page 20: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Recognizing plate and parsing it – Cont.

Column signature with maximum number of ridges. Percentage width of the ridge should be 15% of the whole ‘number

plate image’. Taking minimum value of the column histogram as thresh hold value.

Page 21: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Parsing plate

Images of all characters

Page 22: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Optical Character Recognizer - OCR

Page 23: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Recognition of Characters.

Method of recognition of characters from an image containing these characters is based on object recognition techniques used in Digital Image Processing.

Two commonly used techniques for object recognition areTemplate Matching using Correlation.Distance Measurement.

Page 24: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Object Recognition Techniques. Distance Measurement is based on representation

technique which uses moments of an object. Moments represent such measurements of an

object which can represent features associated with that object, such as center of gravity, Eccentricity.

Distance Measurement has some drawbacks such as Extensive computations reduce efficiency of

execution of algorithm. Difficult to implement.

Page 25: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Template Matching Another technique which was used in this project

for character recognition is template matching using correlation.

The technique is based on performing correlation between segmented image from which a character is required to be recognized and character template image which is used for recognition. This technique is efficient as compared to distance

measurement. Only problem is associated with template image i.e.

proper acquisition of template image is required.

Page 26: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Correlation Modified form of convolution. f(x,y) function represents gray scale value at a

specific element (x,y) in an image. f(x,y) represents an image from which a

character is required to be recognized. g(x,y) represents image of a character template. h(x,y) represents result image after correlation.

Page 27: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Correlation Correlation in spatial domain can be represented

as:

h(x,y) = f(x,y) * g*(x,y) Correlation in frequency domain can be

represented as:

h(x,y) = f –1{f {f(x,y)} .* {g*(x,y)}}

In MATLAB correlation in frequency domain can be easily represented as:

h=real(ifft2(fft2(f,70,324) .*fft2(rot90(g,2),70,324)));

Page 28: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Result of Correlation

As it is basic form of convolution, its result is an image which represents convolutions of two matrices. The size of result matrix will be increased from input image matrices.

Due to which we have to apply some thresh holding on resultant image. Normally value of thresh hold is little less than maximum value of resultant image.

Page 29: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Detection of existence of a template image A single pixel’s presence provides

information about exact match of a template image with input segmented image.

An image after thresh holding provides information about the presence of a pixel in correlation result image.

Page 30: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Modules implemented in Matlab.

Three modules were defined in MATLAB for character recognition.

ocr_alpha (p1, p2, p3, p4); ocr_numeric(p1,p2,p3,p4);

P1 represents segmented image which is required to be recognized.

P2,p3,p4 represent template images which will be used for recognition

Template(numplateimage, charimage); Numplateimage represents the segmented image. Charimage represents template image which is currently

used for recognition.

Page 31: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Template module returns no of white pixels in resultant correlated image.

Template function is called by ocr_numeric() and ocr_alpha() functions.

Ocr_numeric() and ocr_alpha() functions are called by user and parameters to these functions are passed by user

Modules implemented in Matlab.

Page 32: VEHICLE NUMBER PLATE RECOGNITION SYSTEM. Information and constraints Character recognition using moments. Character recognition using OCR. Signature

Thank you