Skip to content

wiikycheng/Attention-based-OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apply Attention based Seq2seq OCR Recognition Model

This code implements recognition part of the ASTER

The text recognizer is an sequence to sequence model based on attention. The origin paper can be found at Here

Train

python3 train.py [train_res_path] [valid_res_path] [model_path]

Test

python3 test.py [test_res_path]  [model_path]

Results

I trained the model based on Invoice dataset which contain 1830 vocabularies and 18710 training images and 6752 validation images. The final accuracy on the validation data is about 70.2% on line base accuracy and 90.1% on word base accuracy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages