I'm trying to set tessedit_write_images
but can't seem to do it, i can't see the tessinput.tif anywhere
i'm doing:
import tesseract
api = tesseract.TessBaseAPI()
api.Init(".","eng",tesseract.OEM_TESSERACT_ONLY)
api.SetPageSegMode(tesseract.PSM_AUTO_OSD)
api.SetVariable("tessedit_write_images", "T")
but i've tried with "True", "1", and some more variations, doesn't seem to work at all.
Any help?