emedvedev / attention-ocr

A Tensorflow model for text recognition (CNN + seq2seq with visual attention) available as a Python package and compatible with Google Cloud ML Engine.
MIT License
1.08k stars 256 forks source link

Works with phrases/sentences? #173

Closed shriramhr closed 4 years ago

shriramhr commented 4 years ago

Hi,

I tried training it on multiple word inputs but it was only able to infer on the first word. Is there a way to make it work on full sentences?

AhmedCheikhRouhou commented 4 years ago

hi, yes you should increase the values of these parameters : image width max prediction and you can add the space character