This software implements the optical character recognition of carved text on the plaster sticks based on CTPN and CRNN implemented in Tensorflow, where the network architectures are inspired by MobileNet V1 and MobileNet V2.
python3.5
tensorflow_gpu==1.8.0
PyQt==5.9.1
opencv_python==3.4.1
easydict==1.7
numpy==1.14.0
Cython==0.27.3
Pillow==5.0.0
PyYAML==3.12
A main program can be found in main.py
. Before running the program, download a pretrained model from here. Put the downloaded model directory stickmobilev1
into directory detect/checkpoints/
, and put the mobilev2
into recognize/checkpoints/
.Then launch the program by:
python main.py
Sandler M, Howard A, Zhu M, et al. MobileNetV2: Inverted Residuals and Linear Bottlenecks[J]. 2018.