#4 timing

open
nobody
None
5
2006-09-07
2006-09-07
Anonymous
No

The .txt file appears very quickly but the ocr isn't
populated until later. How will I know when it's
done? Is there any way to hold off on the creation
of the .txt file until the ocr is present? just
trying to create the ocr programmatically.

Discussion

  • Nicolas Hatier
    Nicolas Hatier
    2006-09-20

    Logged In: YES
    user_id=299896

    You're probably compiling tesseract under Windows? It seems
    the Win32 version use windowing code instead of console.

    Modify the project for it to be compiled as console
    (/SUBSYSTEM:Console) and to not link agains MFC
    You can then comment out all the #ifdef __MSW32__ part in
    tesseractmain.cpp, and even the full content of mfcpch.h

    The resulting executable will be console and will return
    only when the processing is done.

     
  • Logged In: YES
    user_id=37894

    If you're doing this under Unix, you can always check if the
    NEXT file's .txt is being created :-) - that's what I am doing!