Bartzi / see

Code for the AAAI 2018 publication "SEE: Towards Semi-Supervised End-to-End Scene Text Recognition"
GNU General Public License v3.0
573 stars 147 forks source link

Training on right to left datasets #78

Closed Mr-DDDAlKilanny closed 5 years ago

Mr-DDDAlKilanny commented 5 years ago

As you mentioned you trained your network assuming left-to-right ordering. How can I modify it to be right to left?

Bartzi commented 5 years ago

The assumption is based on the ordering of the words in the groundtruth. It can easily be modified to be right to left, by reordering the words in the groundtruth. If you want to reorder the characters, you'll also just have to change the order in the gt. The only thing you have to keep in mind, is that you have a consistent order in your groundtruth. Apart from that it doesn't matter if it is left to right or right to left.

Mr-DDDAlKilanny commented 5 years ago

So I should change words ordering only, but characters I can keep right to left in words, right? The style of this language is cursive (connected characters), so no problem as I understand.

Bartzi commented 5 years ago

Exactly, there is no need to change the characters, only the ordering of the words in your groundtruth file. The style of the characters should be no problem.