Belval / TextRecognitionDataGenerator

A synthetic data generator for text recognition
MIT License
3.15k stars 943 forks source link

For the dictionary passed in by "--dict", I want the dictionary to produce only one image in order of each line #324

Open wzz981 opened 8 months ago

wzz981 commented 8 months ago

For dictionaries passed in by "--dict", I need it to produce only unique images in the order of each line of the dictionary, Like my dictionary is

abc
def
ghi
……

Then I just want each row to generate a unique image such as' abc ', 'def', 'ghi'... Rather than randomly selecting a line in the dictionary to generate an image with duplicate content. I want to know what parameters I should configure to achieve my goal.I hope to get an answer,Thank you.