Todo:
Get code:
git clone --recursive git@github.com:Sanster/DeepOcrService.git
Install dependencies:
pip3 install -r requirements.txt
Download models:
ctpn_vgg16.pb
and crnn_raw.pb
from sanster/models
, save to data/models
. ctpn_vgg16.pb
as ctpn.pb
, rename crnn_raw.pb
as crnn.pb
.Build Cpython code:
make -C tf_ctpn/lib
python3 app.py
Visit http://localhost:5000
python3 infer.py \
--img_dir= \
--viz
Press ESC
to exit. Press Space
to continue.