Menu

Naps2 console to OCRise many pdf weird behaviour

seb
2020-11-23
2020-12-20
  • seb

    seb - 2020-11-23

    Hey people,

    I'm using AHK to handle NAPS2.console.exe.
    The aim is to OCRize image PDF's into indexable text pdf's.

    So here is the line used in my script :

    NAPS2.Console.exe -i Scan.pdf -o ocr.pdf --ocrlang fra

    Here i'm just expecting to import a pdf and export it OCRized...
    What is happening is that my scanner runs and add a blank page to the end of the output pdf!

    If i input a 2 pages pdf, the result is a 3 pages pdf.

    This is not as painfull as it may seems but i would like to understand this behaviour. Specillay cause i don't met the problem when i use the GUI and the same profil

     

    Last edit: seb 2020-11-23
  • seb

    seb - 2020-12-20

    The only workaround i found for this is to turn the scanner off. Therefore, no blank page is added to the pdf and the process is way faster.

     

Log in to post a comment.

MongoDB Logo MongoDB