This repository consists of codes for a handwritten digits recognizer. It consists of a paper region extraction module and a digits recognizer. The application is written in c++, with minimum dependency required.
For technical details, visit this blog post.
Place the trained model under model/
./bin/scan input_image output_image output_txt
- CImg Version 1.6.2 (included)
- To load PNG: libpng
- To load JPG: libjpeg
- Eigen Linear Algebra Library Version 3.3 (included)
- LibSVM for SVM classifier (included)
- Libtensorflow for CNN classifier
src
code files for OCR softwaremodel
trained model (SVM and CNN) for digits recognizerinclude
required library (excluding Libtensorflow)bin
compiled binaries