If you run 'tesseract --help' (or just 'tesseract') you could see that
tesseract expects some structure of input arguments (e.g. one image file
and one output file), so usage of wildcards will not work (if wildcards
match to more than 1 file) neither on linux/unix nor windows (there is
different behaviour[1]).

You need to create script to achieve expected behaviour. Something like
this:

for /R .\ %%g in (*.tif) do (
   tesseract %%~nxg %%~nxg -l nld hocr
)
Of cource output will be in separated hocr(html) files.

Other option would first to join input images to one multipage tiff (with
ImageMagick - AFAIR it supports wildcards on windows) and than ocr only one
file, so output will be in one file too.

[1] http://blogs.msdn.com/b/dancre/archive/2005/05/14/417547.aspx

Zdenko



On Mon, Dec 10, 2012 at 4:05 PM, Benito2313 <[email protected]> wrote:

> Hello,
>
> I'm trying to get a multiple Tif input in tesseract, my code is:
> "C:\Program Files\Tesseract-OCR\Tesseract" "C:\Users\pieter\Desktop\*.tif"
> testtt2313 -l nld hocr
> but it is not working, what im i doing wrong?
>
> Regards,
>
> Benito2313
>
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to