update 19-03-20 wed: android ocr
This is a pytorch implementation of CTPN(Detecting Text in Natural Image with Connectionist Text Proposal Network).Inspired by keras-ocr.
Training log is available:Training Log(Chinese)
model | size |
---|---|
keras-CTPN | 142M |
pytorch-CTPN | 67.6M |
ctpn_keras_weights.pth.tar
from dropbox, and move it to ./checkpoints/python ctpn_train.py --image-dir image_dir --labels-dir labels_dir --num-workers num_workers
Training Log(Chinese)
These days, I'm working on deploying this model on Android devices.you can check the results from here.
Android text recognition 4-23
Find out that adopting skew transform can significantly improve recognition accuracy.(It may take a few seconds, heavily depends on your harware and input image size)