##Requirements##
- OpenCV 3.1.0
- Python-dev
- Pip
- Numpy
- SciPy
- Scikit-Learn
- OpenCV 3.1.0 :- http://opencv.org/downloads.html
- Rest of the requirements : run
make install
in the root directory
python toto.py --model <MODEL> <image_to_test>
from files import generate_ground_data
generate_ground_data(<path_to_image>)
from ocr import train
train(<list_of_path_to_images>)
from ocr import knnModel, SVMModel
# For KNN classification
knnModel(<training_features>,<training_classes>,<test_features>)
# For SVM Prediction
SVMModel(<training_features>,<training_classes>,<test_features>)