+ All Categories
Home > Documents > Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a...

Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a...

Date post: 01-Jun-2020
Category:
Upload: others
View: 11 times
Download: 2 times
Share this document with a friend
81
What? Why? Scope System Issues Tools Implementation Testing Automatic License Plate Recognition Nijad Ashraf, Sajjad KM, Shehzad Abdulla, Saalim Jabir Dept. of CSE, MESCE Guide: Sajith N July 13, 2010 Group VI Automatic License Plate Recognition
Transcript
Page 1: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Automatic License Plate Recognition

Nijad Ashraf, Sajjad KM, Shehzad Abdulla, Saalim JabirDept. of CSE, MESCE

Guide: Sajith N

July 13, 2010

Group VI Automatic License Plate Recognition

Page 2: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 3: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 4: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 5: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 6: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 7: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 8: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 9: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 10: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 11: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

What?

Automatic License Plate Recognition (ALPR) is a real timeembedded mass surveillance system that captures the imageof vehicles and recognizes their license number.

ALPR technology tends to be region-specific, owing to platevariation from place to place.

The crude system was invented in 1976 at the PoliceScientific Development Branch in the UK.And none for India.

Group VI Automatic License Plate Recognition

Page 12: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

What?

Automatic License Plate Recognition (ALPR) is a real timeembedded mass surveillance system that captures the imageof vehicles and recognizes their license number.

ALPR technology tends to be region-specific, owing to platevariation from place to place.

The crude system was invented in 1976 at the PoliceScientific Development Branch in the UK.And none for India.

Group VI Automatic License Plate Recognition

Page 13: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

What?

Automatic License Plate Recognition (ALPR) is a real timeembedded mass surveillance system that captures the imageof vehicles and recognizes their license number.

ALPR technology tends to be region-specific, owing to platevariation from place to place.

The crude system was invented in 1976 at the PoliceScientific Development Branch in the UK.And none for India.

Group VI Automatic License Plate Recognition

Page 14: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

The first arrest due to a detected stolen car was made in1981.

Uses series of image manipulation techniques to detect,normalise and enhance the image of the number plate.Optical Character Recognition (OCR) to extract thealphanumerics of the licence plate.

Active research area for implementing fool proof solutionwith international support.

Group VI Automatic License Plate Recognition

Page 15: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

The first arrest due to a detected stolen car was made in1981.

Uses series of image manipulation techniques to detect,normalise and enhance the image of the number plate.Optical Character Recognition (OCR) to extract thealphanumerics of the licence plate.

Active research area for implementing fool proof solutionwith international support.

Group VI Automatic License Plate Recognition

Page 16: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

The first arrest due to a detected stolen car was made in1981.

Uses series of image manipulation techniques to detect,normalise and enhance the image of the number plate.Optical Character Recognition (OCR) to extract thealphanumerics of the licence plate.

Active research area for implementing fool proof solutionwith international support.

Group VI Automatic License Plate Recognition

Page 17: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Making the process fast, effective and cost efficient

Some applications of the system are:

Automated traffic surveillance and tracking system.

Automated high-way/parking toll collection systems.

Automation of petrol stations.

Journey time monitoring.

Group VI Automatic License Plate Recognition

Page 18: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Making the process fast, effective and cost efficient

Some applications of the system are:

Automated traffic surveillance and tracking system.

Automated high-way/parking toll collection systems.

Automation of petrol stations.

Journey time monitoring.

Group VI Automatic License Plate Recognition

Page 19: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 20: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Why?

ALPR systems have been implemented in many countrieslike Australia, Korea and few others.

These countries enforced standards on the license plates interms of dimensions, borders, colour, font size and type.Thus making the system easy to implement.

Group VI Automatic License Plate Recognition

Page 21: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Why?

ALPR systems have been implemented in many countrieslike Australia, Korea and few others.

These countries enforced standards on the license plates interms of dimensions, borders, colour, font size and type.Thus making the system easy to implement.

Group VI Automatic License Plate Recognition

Page 22: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Indian situation is very different, as we cannot expect thestrict following of the standards,making the systemcomplicated.

Wide variations are found in font size, type, shape andcolours.

Hitachi offers a near real solution right now for a cost ofmore than Rs. 1000K per single license.

Systems have been implemented using proprietary tools andlibraries.

Group VI Automatic License Plate Recognition

Page 23: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Indian situation is very different, as we cannot expect thestrict following of the standards,making the systemcomplicated.

Wide variations are found in font size, type, shape andcolours.

Hitachi offers a near real solution right now for a cost ofmore than Rs. 1000K per single license.

Systems have been implemented using proprietary tools andlibraries.

Group VI Automatic License Plate Recognition

Page 24: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Indian situation is very different, as we cannot expect thestrict following of the standards,making the systemcomplicated.

Wide variations are found in font size, type, shape andcolours.

Hitachi offers a near real solution right now for a cost ofmore than Rs. 1000K per single license.

Systems have been implemented using proprietary tools andlibraries.

Group VI Automatic License Plate Recognition

Page 25: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Indian situation is very different, as we cannot expect thestrict following of the standards,making the systemcomplicated.

Wide variations are found in font size, type, shape andcolours.

Hitachi offers a near real solution right now for a cost ofmore than Rs. 1000K per single license.

Systems have been implemented using proprietary tools andlibraries.

Group VI Automatic License Plate Recognition

Page 26: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 27: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Scope

Understand the image processing techniques involved.

Realize the issues and challenges for implementing thesystem.

Gain basic project management skills.

Familiarize several tools for developing an intuitive system.

Develop basic document writing and presentation skills.

Group VI Automatic License Plate Recognition

Page 28: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Scope

Understand the image processing techniques involved.

Realize the issues and challenges for implementing thesystem.

Gain basic project management skills.

Familiarize several tools for developing an intuitive system.

Develop basic document writing and presentation skills.

Group VI Automatic License Plate Recognition

Page 29: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Scope

Understand the image processing techniques involved.

Realize the issues and challenges for implementing thesystem.

Gain basic project management skills.

Familiarize several tools for developing an intuitive system.

Develop basic document writing and presentation skills.

Group VI Automatic License Plate Recognition

Page 30: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Scope

Understand the image processing techniques involved.

Realize the issues and challenges for implementing thesystem.

Gain basic project management skills.

Familiarize several tools for developing an intuitive system.

Develop basic document writing and presentation skills.

Group VI Automatic License Plate Recognition

Page 31: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Scope

Understand the image processing techniques involved.

Realize the issues and challenges for implementing thesystem.

Gain basic project management skills.

Familiarize several tools for developing an intuitive system.

Develop basic document writing and presentation skills.

Group VI Automatic License Plate Recognition

Page 32: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 33: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

SystemThe proposed system consist of 6 phases

Group VI Automatic License Plate Recognition

Page 34: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Data Flow Diagram

Page 35: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Capturing Image

The image of the vehicle is captured using a high resolutionphotographic camera.

To understand the variations in settings like exposure, frameaperture etc, we have choosen 3 cameras.

Canon 1000D

High resolution DSLR camera. HD images.

Canon PowerShot IS 800

8 MP digital camera with Image Stabilization.

Nokia E72

5 MP digital camera embedded on a mobile phone.

Group VI Automatic License Plate Recognition

Page 36: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Capturing Image

The image of the vehicle is captured using a high resolutionphotographic camera.

To understand the variations in settings like exposure, frameaperture etc, we have choosen 3 cameras.

Canon 1000D

High resolution DSLR camera. HD images.

Canon PowerShot IS 800

8 MP digital camera with Image Stabilization.

Nokia E72

5 MP digital camera embedded on a mobile phone.

Group VI Automatic License Plate Recognition

Page 37: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Preprocessing

Two operations involved are:

1.Resize

Image from the camera is to be resized for optimizationreasons.

2.Change color space

Image is converted to Grayscale from RGB.

Group VI Automatic License Plate Recognition

Page 38: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Localization

Threshold is an image processing operation by which thepixels of the image are truncated to two values dependingupon the value of threshold.

We use this operation to convert the image to binary andlocalize the license plate from the image of the vehicle.

Group VI Automatic License Plate Recognition

Page 39: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Localization

Threshold is an image processing operation by which thepixels of the image are truncated to two values dependingupon the value of threshold.

We use this operation to convert the image to binary andlocalize the license plate from the image of the vehicle.

Group VI Automatic License Plate Recognition

Page 40: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Thresholding requires pre image analysis for identifying thesuitable threshold value.

Many statistical and physical modelling algorithms have beendeveloped for the same purpose. Normal thresholdingtechniques are inefficient due to several reasons. Hence,adaptive thresholding is used.

To be precise, Otsu thresholding is used.

Group VI Automatic License Plate Recognition

Page 41: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Thresholding requires pre image analysis for identifying thesuitable threshold value.

Many statistical and physical modelling algorithms have beendeveloped for the same purpose. Normal thresholdingtechniques are inefficient due to several reasons. Hence,adaptive thresholding is used.

To be precise, Otsu thresholding is used.

Group VI Automatic License Plate Recognition

Page 42: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Thresholding requires pre image analysis for identifying thesuitable threshold value.

Many statistical and physical modelling algorithms have beendeveloped for the same purpose. Normal thresholdingtechniques are inefficient due to several reasons. Hence,adaptive thresholding is used.

To be precise, Otsu thresholding is used.

Group VI Automatic License Plate Recognition

Page 43: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Connected Components

Connected component analysis is performed to identify thecharacters in the image.

Basic idea is to traverse through the image and find theconnected pixels. Label them and extract.

cvBlobsLib is a library under OpenCV which extract8-connected components in binary or grayscale images.

Group VI Automatic License Plate Recognition

Page 44: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Connected Components

Connected component analysis is performed to identify thecharacters in the image.

Basic idea is to traverse through the image and find theconnected pixels. Label them and extract.

cvBlobsLib is a library under OpenCV which extract8-connected components in binary or grayscale images.

Group VI Automatic License Plate Recognition

Page 45: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Connected Components

Connected component analysis is performed to identify thecharacters in the image.

Basic idea is to traverse through the image and find theconnected pixels. Label them and extract.

cvBlobsLib is a library under OpenCV which extract8-connected components in binary or grayscale images.

Group VI Automatic License Plate Recognition

Page 46: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Segmentation

Crop out the labelled connected components called blobs.

Save them as individual images.

Group VI Automatic License Plate Recognition

Page 47: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Segmentation

Crop out the labelled connected components called blobs.

Save them as individual images.

Group VI Automatic License Plate Recognition

Page 48: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Character recognition

The blobs are send to an Optical Character Recognitionengine for returning the ASCII.

Tesseract is a leading OCR library developed in the HP Labs,later acquired and highly modified by Google.

Google released this into the open source community.

Group VI Automatic License Plate Recognition

Page 49: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

Character recognition

The blobs are send to an Optical Character Recognitionengine for returning the ASCII.

Tesseract is a leading OCR library developed in the HP Labs,later acquired and highly modified by Google.

Google released this into the open source community.

Group VI Automatic License Plate Recognition

Page 50: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

DesignLicensing

License

The system will be released under the GNU General PublicLicense (GPL).

Group VI Automatic License Plate Recognition

Page 51: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 52: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

StandardizationImage Quality

Issues

Complexity and probability of failure of the system increasesas there are multiple issues.

Group VI Automatic License Plate Recognition

Page 53: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

StandardizationImage Quality

Flaw in license plate standardization

Dimensions

Fonts – type, size

Art works

Colours

Position of the plate

Group VI Automatic License Plate Recognition

Page 54: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

StandardizationImage Quality

Thresholding

Colour spaces

Camera

Lighting

Group VI Automatic License Plate Recognition

Page 55: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

StandardizationImage Quality

Blob Classification

Undesirable blobs creep in during connected componentanalysis which if un-noticed can cause trouble in thecharacter recognition phase.

Group VI Automatic License Plate Recognition

Page 56: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 57: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Tools

The entire system is implemented using free software.Ubuntu GNU/Linux operating system is used.

Group VI Automatic License Plate Recognition

Page 58: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Python

Python is an interactive, interpreted, dynamic languagewhich is free and highly efficient.

Python is language libre. Shaped by the users around theworld. Attracting more developers due to its simplicity.

The entire ALPR system is implemented in Python

Group VI Automatic License Plate Recognition

Page 59: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Libraries

Open Computer Vision

OpenCV library is developed at the laboratories of IntelCorporation. They contain sets of highly efficient multimediaprocessing functions.

Python Imaging Library

PIL is the base image processing library from Python.

Group VI Automatic License Plate Recognition

Page 60: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Libraries

Open Computer Vision

OpenCV library is developed at the laboratories of IntelCorporation. They contain sets of highly efficient multimediaprocessing functions.

Python Imaging Library

PIL is the base image processing library from Python.

Group VI Automatic License Plate Recognition

Page 61: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Libraries

Tesseract OCR

Tesseract OCR library from Google is used as the OCRengine.Developed at HP between 1984 and 1994.The code is available athttp://code.google.com/p/tesseract-ocr

Qt Designer and PyQt

The GUI is designed using Qt designer and Python code forthe same generated using PyQt.Qt is an extensive GUI library developed at Trolltech Inc.

Group VI Automatic License Plate Recognition

Page 62: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Libraries

Tesseract OCR

Tesseract OCR library from Google is used as the OCRengine.Developed at HP between 1984 and 1994.The code is available athttp://code.google.com/p/tesseract-ocr

Qt Designer and PyQt

The GUI is designed using Qt designer and Python code forthe same generated using PyQt.Qt is an extensive GUI library developed at Trolltech Inc.

Group VI Automatic License Plate Recognition

Page 63: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Other Tools

Project Management

Subversion Source code control system.is very powerful, very usable, and very flexible, free softwareversion control system.

Document Generation

LaTeXis a document preparation system created by Prof. DonaldKnuth

Group VI Automatic License Plate Recognition

Page 64: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Other Tools

Project Management

Subversion Source code control system.is very powerful, very usable, and very flexible, free softwareversion control system.

Document Generation

LaTeXis a document preparation system created by Prof. DonaldKnuth

Group VI Automatic License Plate Recognition

Page 65: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

LanguageLibrariesOthers

Diagram Generation

Diais a free Diagram editor software. With templates fordrawing DFD’s, UML’s etc.

Group VI Automatic License Plate Recognition

Page 66: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 67: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Following algorithms have been used:

Otsu thresholding technique.

A linear-time component labeling using contour tracingtechnique.

Blob Classification.

Group VI Automatic License Plate Recognition

Page 68: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Otsu Thresholding

Adaptive thresholding.

Considers that the image contains two classes of pixels (e.g.foreground and background).

Introduced by Nobuyuki Otsu.

Implemented using CV THRESHOLD OTSU Method ofOpenCV.

Group VI Automatic License Plate Recognition

Page 69: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Otsu Thresholding

Adaptive thresholding.

Considers that the image contains two classes of pixels (e.g.foreground and background).

Introduced by Nobuyuki Otsu.

Implemented using CV THRESHOLD OTSU Method ofOpenCV.

Group VI Automatic License Plate Recognition

Page 70: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Otsu Thresholding

Adaptive thresholding.

Considers that the image contains two classes of pixels (e.g.foreground and background).

Introduced by Nobuyuki Otsu.

Implemented using CV THRESHOLD OTSU Method ofOpenCV.

Group VI Automatic License Plate Recognition

Page 71: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Otsu Thresholding

Adaptive thresholding.

Considers that the image contains two classes of pixels (e.g.foreground and background).

Introduced by Nobuyuki Otsu.

Implemented using CV THRESHOLD OTSU Method ofOpenCV.

Group VI Automatic License Plate Recognition

Page 72: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Blob Classification

Unwanted and noisy blobs may occur, which should becarefully removed.

Step 1

Cropping

Step 2

Compares aspect ratio with every other blobs.

Step 3

Pixel coordinates are choosen to match the area of the plate.

Group VI Automatic License Plate Recognition

Page 73: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Blob Classification

Unwanted and noisy blobs may occur, which should becarefully removed.

Step 1

Cropping

Step 2

Compares aspect ratio with every other blobs.

Step 3

Pixel coordinates are choosen to match the area of the plate.

Group VI Automatic License Plate Recognition

Page 74: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

Otsu ThresholdingBlob Classification

Blob Classification

Unwanted and noisy blobs may occur, which should becarefully removed.

Step 1

Cropping

Step 2

Compares aspect ratio with every other blobs.

Step 3

Pixel coordinates are choosen to match the area of the plate.

Group VI Automatic License Plate Recognition

Page 75: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

Outline1 What?

2 Why?

3 Scope

4 SystemDesignLicensing

5 IssuesStandardizationImage Quality

6 ToolsLanguageLibrariesOthers

7 ImplementationOtsu ThresholdingBlob Classification

8 Testing

Page 76: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

PerformanceAccuracy

1 Test for Performance.

2 Test for Accuracy.

Group VI Automatic License Plate Recognition

Page 77: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

PerformanceAccuracy

Performance

Image size has been identified to be the key element.

Group VI Automatic License Plate Recognition

Page 78: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and
Page 79: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

PerformanceAccuracy

Accuracy

Larger images leave perfect recognizable blobs.

Group VI Automatic License Plate Recognition

Page 80: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and
Page 81: Automatic License Plate Recognition - Sajjad · Automatic License Plate Recognition (ALPR) is a real time embedded mass surveillance system that captures the image of vehicles and

What?Why?Scope

SystemIssuesTools

ImplementationTesting

PerformanceAccuracy

Thankyou!

Automatic License Plate Recognition

Group VI

Dept. of CSE

MES College of Engineering

..................................................................................................

Group VI Automatic License Plate Recognition


Recommended