An OCR system using CRAFT for text detection and MORAN for recognition
-
CRAFT-pytorch: Official Pytorch implementation of CRAFT text detector | Paper | Pretrained Model | Supplementary
-
MORAN_v2: MORAN is a network with rectification mechanism for general scene text recognition. The paper (accepted to appear in Pattern Recognition, 2019) in arXiv, final version is available now.
To get started, first download the trained weights:
$ sh init.sh
Create a virtual environment and install requirements:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
To test an image:
$ python test.py -h
$ python test.py scan/1.jpg
Modify train_MORAN.sh
to generated trained weights, and replace moran_v2_demo.pth
with it.