Text detection mainly based on ctpn (connectionist text proposal network). The original paper can be found here. The original repo in caffe can be found in here. For more detail about the paper and code, see this blog. The original repo in tensorflow can be found in here.
This repo contains modifications necessary to run text-detection-ctpn on Windows. My god, show some love for windows users. We are a minority deprived of any attention or care...
- requirements: tensorflow, cython, opencv-python, easydict
- build the library by
cd lib/utils
make.bat
- download the checkpoints from release, unzip it in checkpoints/
- put your images in data/demo, the results will be saved in data/results, and run demo in the root
python ./ctpn/demo.py