Skip to content

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

Notifications You must be signed in to change notification settings

dipu-bd/craft-moran-ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published