DeepTextSpotter: An End-to-End Trainable Scene Text Localization and Recognition Framework
The implementation of DeepTextSpotter: An End-to-End Trainable Scene Text Localization and Recognition Framework : ICCV 2017.
- opencv 3.x with python bindings
- Get the proper version of caffe
or take required layers: Transpose, Reorg, Region, CTCLoss
CTCLoss is warp around - https://github.com/baidu-research/warp-ctc - nice implementation, thanks!
git clone https://github.com/MichalBusta/caffe.git cd caffe git checkout darknet
- build caffe
mkdir Release cd Release cmake -D CMAKE_BUILD_TYPE=Release -D BLAS=Open -D BUILD_SHARED_LIBS=Off .. make make install (optionally)
- build project
cd "SOURCE dir" mkdir build cd build cmake .. make
the paths are hard-coded, models shoud be at models subdirectory
Run webcam demo
- The provided RPN model is tiny version of full "YOLOv2" detector (= demo runs at 7 fps on 1GB Nvidia GPU)
- For decoding final output, we provide just greedy and dictionary based prefix decoding