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
classification digit digit-recognition highlight knearest-neighbor-algorithm

Recognition of digits and characters

digit-recognition.py --classifier-dir <dir> --img-dir <dir> [--teach] [--debug]
digit-recognition.py -c <dir> -i <dir> [-t] [-d]

During the teaching phase the program will highlight all the found digits/chars at a first stage. Then, by typing enter the learning phase will start and, one per time, the software will highlight the current digit/char and you have to teach to it what's the digit by typing the correspondent key on the keyboard.

During the testing phase the program will use the k-nearest-neighbor algorithm to match the current found digit with the real one.

Matteo Merola mattmezza@gmail.com