Use absolute import to work around circular builder/tesseract import issues.
Unfortunately builders.py now imports psm_parameter from tesseract.py, and tesseract.py imports DigitBuilder from builders.py. We could move psm_parameter into util.py, but it needs get_version as well and it is very much tesseract specific. I do not see a great solution for this and keeping the circular import seems the least bad solution. We keep it from breaking the program by using an explicit import of the module .  https://stackoverflow.com/a/37126790
Showing with 4 additions and 4 deletions