sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31913
Re: [Question #265586]: Documentation for Sikulix/Tesseract usage?
Question #265586 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265586
RaiMan proposed the following answer:
Yes, exactly this is the option system of Tesseract.
... but this is how you can tell Tesseract which option files to use,
when running the standalone Tesseract command from command line.
When using the API as it is done inside SikuliX, you have to set some
initialisation parameters for the TessBaseAPI at initialisation/startup.
I have already implemented this for the case to choose a different language as mentioned in comment #1.
deep down in the C++ code there is already a function, that allows to set any init-variable for Tesseract at initialisation, but this is currently not available/accessible at a higher level in the Java space.
All this can be found in TextRecognizer.java, vision.cpp and
tessocr.cpp.
So currently I cannot help you.
I turn your question into a request bug and see, wether it is possible to get at least the parameter handover to Tesseract with version 1.1.0 or at least with a 1.1.1 later.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.