Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build a alone tesseract5 cli use for windows xp #71

Closed
WingDust opened this issue Jun 3, 2023 · 13 comments
Closed

how to build a alone tesseract5 cli use for windows xp #71

WingDust opened this issue Jun 3, 2023 · 13 comments
Labels

Comments

@WingDust
Copy link

WingDust commented Jun 3, 2023

Current Behavior

how to build a alone tesseract5 cli use for windows xp
Can get me a tutorial

Expected Behavior

No response

Suggested Fix

No response

tesseract -v

No response

Operating System

No response

Other Operating System

No response

uname -a

No response

Compiler

No response

CPU

No response

Virtualization / Containers

No response

Other Information

No response

@stweil
Copy link
Member

stweil commented Jun 3, 2023

Did you try the latest installer? Maybe it still works with Windows XP (although that is no longer a supported Windows version).

@stweil stweil added the question label Jun 3, 2023
@WingDust
Copy link
Author

WingDust commented Jun 4, 2023

@stweil https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v5.0.0-alpha.20190623.exe
i install it in windows xp but run tesseract.exe f.png a -c dotproduct=sse get

image

if i try tesseract.exe f.png a a.txt will be nothing
image

@stweil
Copy link
Member

stweil commented Jun 4, 2023

That version works as expected even on Windows XP. Tesseract does not always find text, especially for images with a single word. Did you also try the latest Tesseract version?

@WingDust
Copy link
Author

WingDust commented Jun 4, 2023

@stweil which version

@stweil
Copy link
Member

stweil commented Jun 4, 2023

The latest version is 5.3.1. See https://github.com/UB-Mannheim/tesseract/wiki/.

@WingDust
Copy link
Author

WingDust commented Jun 4, 2023

@stweil for w32 only have 5.3.0

@WingDust
Copy link
Author

WingDust commented Jun 4, 2023

@stweil I try https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-5.3.0.20221222.exe ,but get

GetTickCount64 error with KERNEL32.dll
image

@WingDust
Copy link
Author

@stweil can help ?

@stweil
Copy link
Member

stweil commented Jun 16, 2023

I am afraid no. Windows XP only works with old versions of Tesseract.

@luweitest
Copy link

luweitest commented Apr 14, 2024

I tried all builds from version 3 to 5, none of them works in my WinXP SP3.
version 3.05 displays error of NtCreateFile API failure, which is typical for non-XP exe:
1
And the newest 5.3 displays a info "Ctrl+C to exit".
Only version 3.02 build of sourceforge from original tesseract-OCR works for me.

@HomeStayMom
Copy link

If you're having trouble installing tesseract-ocr-w64-setup-5.4.0.20240606 on Windows 11, there's an essential step after downloading: you must add the Tesseract path to the system environment variables. Normally, you'd locate the executable, typically at "C:\Program Files\Tesseract-OCR\tesseract.exe", and add its directory to the PATH. On Windows 11, you need to add "C:\Program Files\Tesseract-OCR" to your system environment variables. After this, open a new Command Prompt window and run tesseract --help to confirm everything is set up correctly. Hope this helps!

@stweil
Copy link
Member

stweil commented Aug 22, 2024

That's not necessary. If you open the Tesseract command line, the PATH is set automatically.

I try to avoid setting the global PATH environment variable because it slows down each program execution. And there is also a length limit for it.

@stweil
Copy link
Member

stweil commented Aug 22, 2024

I close this issue because there is nothing we can do.

@stweil stweil closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants