Hi!
I've a noob question. Hope someone can help me.
I've set the variable tessedit_write_images to true using the SetVariable Method.
After that I read this var using the method TryGetBoolVariable to ensure it was setted propertly.
Then I Processed an image and obtained the text, but I expected to find a tessinput.tif file in the same folder than my .exe and the image is not there.
Am I doing something wrong or this variable is not supported?
Thanks.
I had a look at the Tesseract 3.02 source and it only checks the tessedit_write_images
variable as part of the TessBaseAPI::ProcessPage method which is not exposed by this wrapper. So in short it's not possible to do this at this time.
I think the best solution here would be if I added this functionality directly to the wrapper (i.e. manually check the variable) is defined after the recognise phase is run and save the image then. Should be fairly straight forward and have the desired functionality\effect.
Fixed, you should see the expected behaviour in the next release.
Thanks you very much.
i have installed tesseract ocr in windows ... can you guys help me how to to fix tessedit_write_images to true from command line or in some config file
tesseract test.jpg out tessconfig
where the tessconfig
content is:
tessedit_write_images true
Most helpful comment
tesseract test.jpg out tessconfig
where the
tessconfig
content is: