Scene character recognition combining of CTPN + CRNN.
code based on bear63/sceneReco commit-ae1731e
Caffe model in frcnn, adapt from tianzhi0549/CTPN of old Caffe.
Thsi repo uses Convolutional recurrent network in PyTorch: meijieru/crnn.pytorch, while the original implementation bgshih/crnn uses Torch.
- pure English set
alphabet
to English incrnn.pytorch/keys.py
. CPU model crnn.pth - Chinese with English recognition : netCRNN63.pth for GPU, netCRNNcpu.pth for CPU.
copy ctpn_trained_model.caffemodel to ./models/CTPN
copy CRNN model to ./models, CPU model can be used for both CPU/GPU.
CTPN models are tested on Caffe 1.0 CUDA8.0, CRNN models are tested on PyTorch '0.4.0' and '0.3.1'.
python demo.py