OCR.oem(0) crash when variables set
hello,
I'm setting up some OCR variables to have better results in OCRing some text that is a kind of code (so no dictionaries):
#OCR.globalOpti
OCR.globalOptio
OCR.globalOptio
OCR.globalOptio
OCR.globalOptio
Since I've read on the web that LTSM for tesseract 4 seems not to take into account the black and white lists (I verified that there are results that doesn't match with these) I tried with the old behavior oem(0) by uncomment the first line above.
When I try to do OCR with this OEM I have a crash with this message:
[error] script [ myscript ] stopped with error in line 571
[error] java.lang.Error ( java.lang.Error: Invalid memory access )
[error] --- Traceback --- error source first
line: module ( function ) statement
571: main ( <module> ) linescode=
[error] --- Traceback --- end --------------
While with the commented line above it works but with the OCR problems I wrote above
the question is: what I'm missing/doing wrongly?
Thanks a lot for support
this is my configuration:
2.0.4-2020-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: