Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.16 KB

CRAFT-MORAN-OCR

An OCR system using CRAFT for text detection and MORAN for recognition

Inspiration

Testing

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

Training

Modify train_MORAN.sh to generated trained weights, and replace moran_v2_demo.pth with it.