emedvedev/attention-ocr

White text on coloured background

Closed this issue · 2 comments

Hi there,
is aocr able to read white text on coloured background?

Do you suggest to make images grayscale and/or invert when the text is not darker than the background?

There shouldn't be a problem with it, it all depends on how good your dataset is. Some preprocessing could be beneficial, yes, but it all depends on your particular case, so just experiment. :)

On Saturday, Oct 26, 2019 at 10:59, Michele Fortunato @.*** @.***)> wrote: Hi there, is aocr able to read white text on coloured background? Do you suggest to make images grayscale and/or invert when the text is not darker than the background? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (#152?email_source=notifications&email_token=AABDOQX4HCCLX7FDNFHVNR3QQP2F3A5CNFSM4JFMJQAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUQZH3Q), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AABDOQRB6LQ23ZWKLXVH5IDQQP2F3ANCNFSM4JFMJQAA).

How to get bounding box of the highlighted parts out of those GIF images??