Hi,
In tesserct-ocr config method i did used OEM & PSM for extract the text
from image. But during process i got an exception like below mentioned
Error : "Error, unknown command line argument '-psm'"
* Method tried:*
- using threw config variable
config_var = '--oem 3 --psm 6',
*out* = pytesseract.image_to_string(image,lang='eng',
config=config_var)
- using directly to the line
*out* = pytesseract.image_to_string(image,lang='eng',
config= '--oem 3 --psm 6')
And also tried by replacing *--psm *into *-psm *.But it is not resolved.
The OEM is working in *--oem 3 & --oem 1, *but using *0,2 * i get result
as,
* Failed loading language 'eng' , **Tesseract couldn't load any languages! *
*.*
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/e87784bf-f688-42d4-a95a-1e55f6d91807%40googlegroups.com.