Maximum file size for OCR via command line

Home › Forums › PDF24 Toolbox › Maximum file size for OCR via command line

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #63795
    camtasia
    Participant

    Hi. I use the command line for OCR text recognition. On large files, PDF24-OCR.exe does not work, nothing happens. What is the maximum file size for working from the command line?

    #63796
    Stefan Ziegler
    Keymaster

    Depends in the system and the file. We have not built in any limitations. Is there an error message?

    #64596
    camtasia
    Participant

    In the command line I enter:
    C:Windowssystem32>"c:Program FilesPDF24pdf24-Ocr.exe" -outputFile d:ocr.pdf -language eng -dpi 300 d:test.pdf
    After that the cursor blinks and nothing happens.

    #64597
    camtasia
    Participant

    There are no error messages, the cursor blinks and the screen is black. In the command line I enter:
    C:Windowssystem32>"c:Program FilesPDF24pdf24-Ocr.exe" -outputFile d:ocr.pdf -language eng -dpi 300 d:test.pdf
    Windows 10 x64, RAM 16GB

    #64599
    camtasia
    Participant

    The maximum file size that works from the command line is about 8 MB

    #64600
    Stefan Ziegler
    Keymaster

    Please send the file that is not working and the command line you are using to forum@pdf24.org and we will investigate the problem.

    #64601
    camtasia
    Participant

    When loading a file into the application, the console displays warnings:

    "C:Program FilesPDF24qpdfbinqpdf.exe" "@-"
    ----------------
    WARNING: C:UserscamtaAppDataLocalTempPDF24ocr_0_3312156_2989094576.pdf: file is damaged

    WARNING: C:UserscamtaAppDataLocalTempPDF24ocr_0_3312156_2989094576.pdf (offset 40451028): xref not found

    WARNING: C:UserscamtaAppDataLocalTempPDF24ocr_0_3312156_2989094576.pdf: Attempting to reconstruct cross-reference table

    qpdf: wrote file C:UserscamtaAppDataLocalTempPDF24unlocked_1_3312171_2304061415.pdf

    qpdf: operation succeeded with warnings; resulting file may have some problems

    #64602
    Stefan Ziegler
    Keymaster

    Seems that there is a problem with the file itself..

    #64603
    camtasia
    Participant

    But after that the application successfully recognizes the text.
    Perhaps there is a key to launch that also corrects errors?

    #64604
    camtasia
    Participant

    Found a bug in my method of saving PDF file. After fixing the bug, text recognition works without errors for files of any size (tested on a 200 MB file). Thanks for the help and great app.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.