This is an adaption of the original code to python 3 and opencv 4.x. Note that the training code has been removed, so it is only valuable for people who wants to run detection and recognition.
This project implements deep-cnn-detector (and recognizer) in natural scene. I used keras framework and opencv library to build the detector. This detector determine digit or not with CNN classifier for the region proposed by the MSER algorithm.
- python 3
- opencv_python 4.x
- Etc
A list of all the packages needed to run this project can be found in requirements.txt.
You can create a virtualenv and install the requirements with pip.
In the running time, the detector operates in the 2-steps.
- The detector finds candidate region proposed by the MSER algorithm.
- The classifier determines whether or not it is a number in the proposed region.