.hocr extention is hardcode in tesseract api[1]. You can not change if by
parameter.
But you can run something like this:
    tesseract phototest.tif - hocr >phototest.html

[1]
https://code.google.com/p/tesseract-ocr/source/browse/trunk/api/renderer.cpp?r=890#162


Zdenko


On Mon, May 5, 2014 at 8:25 PM, <[email protected]> wrote:

> It looks like the hocr output file extension changed from .html to .hocr
> (in the install packages available for ubuntu 14.04).  Can I change this
> back to .html in my hocr config file?  If so what is the parameter name and
> value?
>
> Thanks,
> Paul
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/348c42bc-405b-4b49-a951-f1048dab0533%40googlegroups.com<https://groups.google.com/d/msgid/tesseract-ocr/348c42bc-405b-4b49-a951-f1048dab0533%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yKz7zHYBm%3DtqdeXgD-BEuY25ipdM--_Lszcke%2BdoAEPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to