Belval / TextRecognitionDataGenerator

A synthetic data generator for text recognition
MIT License
3.24k stars 966 forks source link

fix: Correct Bidi Arabic Text #219

Closed elahe-dastan closed 3 years ago

elahe-dastan commented 3 years ago

Arabic is a right-left language so we need to write its text in that way and this PR fixes it.

soufieneghribi commented 3 years ago

I have tested it, I wanted to make changes, I found out that you've already added the bidi algorithm. It's working. This should be merged

Belval commented 3 years ago

Thank you for your PR! This is actually very helpful as I don't read Arabic so it's hard to confirm whether or not the output is correct.