How to generate multiple teesedit_write_images output

34 views
Skip to first unread message

Junye Li

unread,
Jul 2, 2018, 11:37:01 PM7/2/18
to tesseract-ocr
Hi there, 

I want to see the actual input images processed by tesseract usingthe command -c tesseract and I used tessedit_write_images=TRUE

However, when I pass multi-layer (mutiple pages) .tiff image to tesseract the output tessinput.tif image only contains one layer, which is the last page of the input image. 

Is there a way to generate output with multiple pages or multiple single output images?

Cheers

Martin Jenniges

unread,
Jul 4, 2018, 11:59:29 AM7/4/18
to tesser...@googlegroups.com
Hello Junye Li,

wutg Scan Taylor, you can optimize your -multipages- Tiff and as last: Scan Taylor save each page of tiff in a single page tiff as so

image1_page0001.tif
image1_page0002.tif


After this: you can use tesseract with variabel as so

for %i in (*.tif) do tesseract %i tess%i.tiff

the first %i after tesseract is for the inputfile (image1_page0001.tif ) and the second %i for output file; here for tessimage1_page0001.tiff

I hope, this help you

See regard

Martin jenniges
--
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 tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/b873ebd3-0630-451a-ae51-ec6647a07f37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages