To be more precise with my questions:
- Is the user-patterns functiontionality implemented in the tesserocr Python API of tesseract?
- How exact is the syntax of specifying user patterns with the tesserocr Python API. Is SetVariable() correct and how is the path (Linux) and the attribute specified?
- is there a default path, where it is lookes for the *.patterns / *.user-patterns file
With the attached code from my last message, I've tested different constellations with/without the combination of whitelist, different atrributes and path notations, which was not successfull.
If I use the following notation for user patterns, it has no effect on the results independently from the entries of the *.patterns file:
Does anyone has (successfully) used user patterns with the tesserocr Python API of tesseract?
best wishes and thanks, Roman