mattmezza / knn-digit-char-recognition

This python program helps you kickstart with digits recognition using OpenCV and k-nearest-neighbor algorithm
MIT License
1 stars 1 forks source link

Char Recognition issue #1

Open OhBoY21 opened 6 years ago

OhBoY21 commented 6 years ago

I have tried this code with Visual Studio 2015 the TestAndTrain.py also works like GenData.py. ![Uploading train data error.png…]()classifire exists Then I tried it on IDLE shell it worked with test images but when I try different images it didn't work properly. detection error

mattmezza commented 6 years ago

Hello, unfortunately this repo is about digit char recognition and it works when providing an image already segmented and properly set up (black digit/char on white background).

You need to use a different classifier to identify the license plate, then segment it, then identify the single digit/char – then knn-digit-char-recognition comes into play by helping you to understand and recognise the single digit/char under exam.

In order to solve your problem you'd better check out https://github.com/openalpr?utf8=✓&q=&type=&language=python but I sense that you will need a lot of license plate images.