LeoFCardoso / pdf2pdfocr

A free tool to OCR a PDF and add a text "layer" in the original file, making a searchable PDF. Use only open source tools. Please tip!
Apache License 2.0
273 stars 34 forks source link

what does cmd_file implies #19

Closed Harish202 closed 4 years ago

Harish202 commented 4 years ago

cmd_file = 'file', may I know the intuition of this variable. Its path is always getting as None and I am not sure if we need to hard code it to some value or did I miss something during installation?

I have installed everything on windows.

LeoFCardoso commented 4 years ago

Hi, this is to detect mime types on input files, using "file" command in POSIX systems. In Windows you have to install "file" and make dure its callable from path. Did you use the "install windows" tutorial using scoop?

Harish202 commented 4 years ago

Hey LeoFCardoso,

Thank you for quick reply, my bad its working now. I am closing the issue