License Plate Detection & Segmentation

Total downloads: 194

This code detects the license plate in the image and segment the characters on the plate. The work is based on the Discrete Wavelet Transformation (DWT) followed by morphological operations. The height to width ratio of detected bounding box has to be tuned if images are use other than this project’s test images.

This package contains:

  1. Few Test Images (On request)
  2. MATLAB code is in the description

Note:  We don’t support to copy this code for your academic submission. This is to ease your pain to start writing code from scratch. We suggest to modify the code for your work.

Download Test
 Discuss Code
Categories: ,

Description

Segmented characters of License plate- free-thesis.com
Segmented characters of License plate

License-Plate-Detection

step 1 Convert the image into gray color and take DWT transform of gray colored image

step 2 Use sobel edge detcetion of vertical component of DWT transformed image

step 3 apply imclose, imopen morphological operations with strcutural co-efficient like

se=strel('rectangle',[20,30]);
eroded=imdilate(edgy,se);
eroded=imclose(edgy,se);
se=strel('disk',10);
eroded=imopen(eroded,se);

step 4 Use bounding box method to extract all possible bounding boxes and below condition to select the bounding box of license plate only

dim(jj)=BB(jj).BoundingBox(3)/BB(jj).BoundingBox(4);
if dim(jj)>4
--
end

BoundingBox(3)= height BoundingBox(4)= width

Detected License Plate- free-thesis.com
Detected License Plate

step5 crop the detected license plate and apply morphological operations again to extract the characters in license plate.

Step 5.1 Enhance the image edges by gradient enhancement operation

g=rgb2gray(cropedimg);              % Converting the RGB (color) image to gray (intensity).
g=medfilt2(g,[3 3]);                % Median filtering to remove noise.
se=strel('disk',1);                 % Structural element (disk of radius 1) for morphological processing.
gi=imdilate(g,se);                  % Dilating the gray image with the structural element.
ge=imerode(g,se);                   % Eroding the gray image with structural element.
gdiff=imsubtract(gi,ge);            % Morphological Gradient for edges enhancement.

Step 5.2 Eliminate the license plate edges and removing pixels area with more than 100 pixels results in segmented characters.

 

26 reviews for License Plate Detection & Segmentation

  1. morteza (verified owner)

    good

  2. deepan.parikh (verified owner)

    Nice work.

  3. venkat.reddy (verified owner)

    great

  4. venkat.reddy (verified owner)

    great

  5. waseem.sajjad (verified owner)

    Good for thesis

  6. divya.punia (verified owner)

    great

  7. garba.abdulrauf (verified owner)

    thank you very useful code

  8. theo.kontoh (verified owner)

    Xccc

  9. jesus.trapero (verified owner)

    muchas gracias fenomenal

  10. jesus.trapero (verified owner)

    gracias

  11. jesus.trapero (verified owner)

    gracias

  12. jesus.trapero (verified owner)

    gracias

  13. jesus.trapero (verified owner)

    fffff

  14. prince.narayan (verified owner)

    for personal use its best

  15. sameer.kumthekar (verified owner)

    best

  16. vankani.arjun (verified owner)

    Nice project !!

  17. sameer.kumthekar (verified owner)

    best one

  18. ratheesh.p m (verified owner)

    Very Helful

  19. ratheesh.p m (verified owner)

    Very Helpful

  20. ratheesh.p m (verified owner)

    Helpful

  21. ratheesh.p m (verified owner)

    good collection

  22. dbsignup (verified owner)

    thankyou very much

  23. Manikanta (verified owner)

    nice

  24. chou_aib (verified owner)

    Great

  25. imer.alvarenga (verified owner)

    excelent

  26. zakir (verified owner)

    thanx

Only logged in customers who have purchased this product may leave a review.