Skip to content

This repository will show the method for detecting Indonesian plate car using Python OpenCV

Notifications You must be signed in to change notification settings

fidelisgalla/Indonesia-Car-Number-Plate-Detection

Repository files navigation

Indonesia Car Number Plate Detection

Overview

This repository will show the method for detecting Indonesian plate car using Python OpenCV (non deep learning method)(plate_detection_indonesia.py file) . The method will use contour detection concept.

Steps

  1. The first step is loading the image. We will use this image

Fig1

  1. The next step is image processing. It plays very important role for contour detection. In this code, for image processing, we will conduct : conversion from colored image to grayscale, then filtering, after that we conduct the adaptive Threshold. Adaptive threshold is applied because of its ability to handle different illuminaton intensity problem in an image.

  2. After that, we can find the contours using cv.findContours() method and we apply ROI (region of interest) technique to find the plate area.

  3. Image to string with Pytesseract and the result is :

Fig2

The code still needs improvement, especially for the image to text process.

About

This repository will show the method for detecting Indonesian plate car using Python OpenCV

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages