https://github.com/rinaldipakpahan/anpr-indonesian
ANPR Indonesian
https://github.com/rinaldipakpahan/anpr-indonesian
computer-vision knn-algorithm number-plate-recognition
Last synced: 22 days ago
JSON representation
ANPR Indonesian
- Host: GitHub
- URL: https://github.com/rinaldipakpahan/anpr-indonesian
- Owner: RinaldiPakpahan
- License: gpl-3.0
- Created: 2020-09-22T03:28:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-22T05:05:27.000Z (over 4 years ago)
- Last Synced: 2025-03-21T08:11:13.424Z (about 1 month ago)
- Topics: computer-vision, knn-algorithm, number-plate-recognition
- Language: Python
- Homepage: http://github-github.io/ANPR Indonesia
- Size: 4.9 MB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automatic-Number-Plate-Recognition-Using-K-NN-Algorithm-on-Raspberry-Pi-4
Automatic number plate recognition for indonesian plate (white on black)## Method:
Vehicle detection using the Viola-Jones Algorithm, determining the location of the number plate using the contour of the license plate and number plate recognition using the K-NN algorithm.## Prerequest
- python==3.6
- opencv-python==4.1.1.26
- numpy==1.17.3
or install using
`pip install -r requirements.txt`## How to run (Linux):
- Image
`python DETECT2.py
- Video
`python detectvd.py## Retrain
Retrain process will update classifications.txt and flattened_images.txt files
`python GenData.py -d = `
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*### Check the model
`python TrainAndTestData.py -d = train_image/train2.png`### Result
