Hi,

First of all: make sure you have only one installation of tesseract (at
least in the PATH)

Reason: I just installed  tesseract-ocr-w64-setup-5.4.0.20240606.exe and I
run:
tesseract -v
tesseract v5.4.0.20240606
 leptonica-1.84.1
  libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 3.0.1) : libpng 1.6.43 : libtiff
4.6.0 : zlib 1.3 : libwebp 1.4.0 : libopenjp2 2.5.2
 Found AVX2
 Found AVX
 Found FMA
 Found SSE4.1
 Found libarchive 3.7.4 zlib/1.3.1 liblzma/5.6.1 bz2lib/1.0.8 liblz4/1.9.4
libzstd/1.5.6

 => there is not support of curl otherwise there will  something like this:
tesseract 5.3.0-21-ge3fb
 leptonica-1.84.0 (Feb  7 2023, 16:46:21) [MSC v.1929 LIB Release x64]
  libgif 5.2.1 : libjpeg 6b (libjpeg-turbo 2.1.90) : libpng 1.6.37 :
libtiff 4.4.0 : zlib 1.2.13.zlib-ng : libwebp 1.2.2 : libopenjp2 2.5.0
 Found AVX2
 Found AVX
 Found FMA
 Found SSE4.1
 Found OpenMP 200203
 Found libarchive 3.5.1 zlib/1.2.11 liblzma/5.2.4 bz2lib/1.0.6 libzstd/1.4.9
* Found libcurl/7.75.0 zlib/1.2.13.zlib-ng libssh2/1.10.1_DEV*

I had a previous installation of "UB Mannheim" tesseract and it required
libcurl-4.dll, so requirement of `libcurl.dll` indicates presence of
another installation of tesseract, that was built in a different way...
Maybe using pytesseract.pytesseract.tesseract_cmd in your script can help
(point to correct tesseract installation)

Zdenko


št 24. 10. 2024 o 19:19 John Finseth <[email protected]> napísal(a):

> I'm trying to read text from images with Tesseract. I downloaded from here
> <https://github.com/UB-Mannheim/tesseract/wiki> and installed in ```
> C:\Users\my_user\AppData\Local\Programs\Tesseract-OCR```, which was the
> default in the installer. When I try this in python: `image =
> Image.open(path); pytesseract.image_to_string(image)`, I keep getting the
> following issue:
> tesseract.exe - System Error The code execution cannot proceed because
> libcurl.dll was not found. Reinstalling the program may fix this problem`
>
> I've tried reinstalling the program to no avail. I also downloaded the
> libcurl.dll file from online (here <https://curl.se/windows/> and from
> dllme) and placed it the same directory as tesseract.exe. I also tried
> adding it to PATH, but still nothing works. Why doesn't this work after
> fresh installs? Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/tesseract-ocr/b40707ed-e4ec-4d13-8a03-90b24101a839n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/b40707ed-e4ec-4d13-8a03-90b24101a839n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yZKDrQ_usKj3gQQ8y1Y%2BE8PYJdjxeU4KPPUzj-_RcwHg%40mail.gmail.com.

Reply via email to