TextRecognitionDataGenerator icon indicating copy to clipboard operation
TextRecognitionDataGenerator copied to clipboard

No support for custom dict geration

Open Enzodtz opened this issue 3 years ago • 1 comments

Hey,

Right now, the GeneratorFromDict doesn't have support for using a custom dict, it only uses the language one.

This is bad, since when generating data, you probably would like to use lots of strings, and its not good to put code together with that list.

You can of course load the dict by yourself but use the string generator, but that doesn't seem that convenient.

I'll be happy to work to allow this feature :)

Enzodtz avatar Jan 25 '22 18:01 Enzodtz

I've openned a PR that fix this issue: #249

Enzodtz avatar Jan 25 '22 18:01 Enzodtz