







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This report is for final year project to complete degree in Computer Science. It emphasis on Applications of Computer Sciences. It was supervised by Dr. Abhisri Yashwant at Bengal Engineering and Science University. Its main points are: Assumptions, Block, Diagram, Preprocessing, Image, Enhancement, Connected, Component, Filtering, Candidate, Verification
Typology: Study Guides, Projects, Research
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Table of Contents ................................................................................................................. i List of Figures ..................................................................................................................... ii
ii
In order to identify a vehicle by reading its license plate successfully, it is obviously necessary to locate the plate in the scene image provided by some acquisition system (e.g. in our case still camera). Locating the region of interest in the scene aids in dramatically reducing both the computational expense and algorithm complexity. For example, an image of resolution 640x480 which contains the region of interest (in this case a license plate) may account only 10% of the image area for region of interest. The technique used for extraction of plate is Edge Statistics and Morphology, based on the characteristics and shape of edges (Morphology).
To extract license plate from the image the assumptions are A visible boundary should be present between license plate and vehicle. License plate is of rectangular shape. Captured image contains only one and complete license plate attached to vehicle. License plate is clearly visible in the captured image.
The block diagram for the extraction of license plate is shown below.
Figure 1 Block diagram for Extraction Phase
In preprocessing the colored image is converted to grayscale. After that canny edge detector is used to detect the shape of license plate which is usually rectangular. Canny is used here because of its strength to detect all intensity changes which may result in some irrelevant details which can be removed in the filtering process to extract candidates discussed below.
Figure 2 Edge Detected Images
The edges detected by the Canny edge detector may not be connected in some of the cases, so it will be difficult to completely extract the License Plate if it is not fully edge detected. To over come this difficulty a thickening algorithm has been employed here. It thickens objects by adding pixels to the exterior of objects until doing so would result in previously unconnected objects being 8-connected. The result of applying this algorithm is that small gaps between edges are filled and we have 8- connected components in last.
Next candidates are further filtered by considering their length. We are considering images of vehicles in which license plate is attached to the vehicle than the length of the license plate must be less than the size of the image, using this constraint on the above filtered image using aspect ratio further reduces the number of candidates for the license plate.
The license plate of vehicles is a textured area as it contains characters on it. We can further verify it for smoothness. We have observed that from the selected candidates for license plate the license plate is an area which is least smooth as compared to the other area inside other objects such as wind screen, indicators etc. As a result we have a complete license plate in the end of this phase.
Figure 4 Original Colored Images
Figure 5 Extracted License Plates
1.2 System Configuration 800 Mhz Intel Original Processor. 256 MB RAM. Matlab 7.1.
1.3 Results
The system is tested on database of 100 images which include Pakistani and British License Plates. License Plate Recognition Rate is 91 %. Processing time is 2 seconds. 6% of plates were not correctly recognized (plates were half extracted). 3% of plates were not found.
Fig 5 Extracted License Plate.
Figure 6 After applying constraints
Figure 7 Extracted Characters
Character recognition is divided in to two steps:
In the first step the individual characters are normalized to a size of 40x40 using bilinear interpolation. In bilinear interpolation four nearest neighbor of a point are used for gray level assignment. If (x', y') denotes the coordinates of a point then v (x', y') is the gray level assigns to it using bilinear interpolation.
v (x', y') = ax'^ + by' + cx'y'^ + d Where the four coefficients are determined from the four equations in four unknowns that can be written using the four nearest neighbor of point (x',y').
Figure 8 Some Characters Templates
In the second step these characters are matched one by one with the template of characters stored in a database, and the template with the closest match is selected. The templates in database are made from the available vehicle images which are also normalized to a size of 30x30. This character database consists of 26 alphabets and 10 numeric templates. For template matching the cross correlation technique is used and the resultant value is in the range -1 to 1.The maximum value 1 indicates the closest or perfect match. The cross-correlation (or sometimes "cross-covariance") is a measure of similarity of two signals. It is a function of the relative time between the signals, is sometimes called the sliding dot product The principal use of correlation is for matching. In matching, f (x, y) is an image containing objects or regions. If we want to determine whether f contains a particular object or region in which we are interested, we let h (x, y) be that object or region (template). Then if there is a match then the correlation of two functions will be maximum at the location where h finds a correspondence in f. For discrete functions fi and gi the cross correlation is defined as
(f * g) (x) =ζ f *^ (t) g(x + t) dt
2.2 Result Character Recognition rate is 51.98 %. 278 characters were correctly recognized out of 535 characters. Frequently confused characters are (B, D, and O) (Z, 7) (P, R) (A, 4)
References