Required packages:
- Pytorch
- matplotlib
- OpenCV
- CVXPY
- pandas
- scipy
Before run the program, please make sure that you have installed the required packages.
To train the SVM and MLP model, please run the following command: python TrainandTestClassifier.py
To run the handwritten recognition software, please type the following command: python HandWrittenClassifier.py
IMPORTANT FOR MAC USERS: When running the HandWrittenClassifier.py, DON'T CLOSE THE PROMPED WINDOW after finishing drawing the digit on the promped window! Instead, PRESS ESC button to continue! (This is the wierd property for OpenCV on Mac. For windows uers, you can ignore this warning).