Automatic license plate recognition for Indonesian plate (White on black)
This code was the adjustment version from :
https://github.com/MicrocontrollersAndMore/OpenCV_3_License_Plate_Recognition_Python
Object detection is manualy segmenting plate, and recognize each candidate number or alphabet using knn method.
Here for the detail :
Note :
It is recommended to use a newer method like yolo or ssd.
or you can read the state of the art of object detection
State-of-the-art of Object Detection
pip install -r requirements.txt
python Main.py -c <image_dir>
python Main.py
python Main.py -i <image_file_dir>
python Main.py -v <video_file_dir>
Retrain process will update classifications.txt and flattened_images.txt files
python GenData.py -d = <train_image>
example :
python GenData.py -d = train_image/train2.png
note: Just input base on marked object one by one and press esc to exit the training process
python TrainAndTestData.py -d = train_image/train2.png
python invert_imageData.py -d = train_image/train2.png