This is a course project of Computer Vision, Prof. Zeng Kun, SYSU.
This is an implemnetation from bottom to top, while is very simple and naive for the special test cases.
For the test case, there are three lines of numbers -- student ID, phone number, ID number -- in one group on an A4 paper, repeated three times.
Notice that CImg is used in C++ part, and Makefile
compile the C++ program in macOS way.
A digits recognition model trained by SVM on MNIST has been provided in the directory ./model
.
Runing C++ segmentation program:
make
Runing Python prediction program:
./pred.py