-
Notifications
You must be signed in to change notification settings - Fork 152
Expose load_system_dawg for non textual ouput #61
Comments
You can simply create a builder object yourself. You can have a look at https://github.com/jflesch/pyocr/blob/master/src/pyocr/tesseract.py#L57 for an example. Basically you just need to inherit from If you implement such builder, feel free to send a pull request to include it in src/pyocr/tesseract.py. |
I implemented a similar builder here, if it's helpful. In my case, I needed a modification to This is a work in progress, since I may modify the parameters further - once it's complete, I'm happy to submit the builder as a pull request. |
Would be great if you could just override tess_conf without having to extend the base builder |
--load_system_dawg 0 would be helpful as an argument in image_to_text, perhaps as an options dictionary. Feel free to call it something that makes it language agnostic
The text was updated successfully, but these errors were encountered: