Pergunta

I want to create a PDF with selectable/searchable text..

I have source.png which has gone through some pre-processing before OCR, and then I have view.jpg which is a compressed version of source.png to reduce the output PDF file

How do I define the view.jpg in the syntax?

tesseract -l eng source.png out pdf

Nenhuma solução correta

Outras dicas

I'm not sure whether you can specify view.jpg in the command. The out.pdf already contains some sort of a compressed source.png.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top