https://bugs.kde.org/show_bug.cgi?id=524254

            Bug ID: 524254
           Summary: unable to add /usr/bin/tesseract binary to digiKam
                    9.1.0
    Classification: Applications
           Product: digikam
      Version First 9.1.0
       Reported In:
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Plugin-Generic-OcrTextConverter
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

Unable to use tesseract in digiKam 9.1.0

I've installed tesseract and can find the binary in /usr/bin
~$ find /usr/bin -name tesseract
/usr/bin/tesseract

~$ ls -l /usr/bin/tesseract
-rwxr-xr-x 1 root root 39320 Apr  7  2024 /usr/bin/tesseract

~$ file /usr/bin/tesseract
/usr/bin/tesseract: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=980cf15303381b44433543850656c6271b25dd66, for GNU/Linux 3.2.0,
stripped

~$  tesseract --version
tesseract 5.3.4
 leptonica-1.82.0
  libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 2.1.5) : libpng 1.6.43 : libtiff
4.5.1 : zlib 1.3 : libwebp 1.3.2 : libopenjp2 2.5.0
 Found AVX2
 Found AVX
 Found FMA
 Found SSE4.1
 Found OpenMP 201511
 Found libarchive 3.7.2 zlib/1.3 liblzma/5.4.5 bz2lib/1.0.8 liblz4/1.9.4
libzstd/1.5.5
 Found libcurl/8.5.0 OpenSSL/3.0.13 zlib/1.3 brotli/1.1.0 zstd/1.5.5
libidn2/2.3.7 libpsl/0.21.2 (+libidn2/2.3.7) libssh/0.10.6/openssl/zlib
nghttp2/1.59.0 librtmp/2.3 OpenLDAP/2.6.10

However using the OCR tool in digikam and trying to add the tesseract binary
doesn't work.

STEPS TO REPRODUCE
1. Opening "Navigate to tesseract ---- digiKam",
2. selecting Look in: "/usr/bin" shows nothing.

OBSERVED RESULT
unable to add tesseract to digiKam tool set.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

~$ cat /etc/*elease
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=22.3
DISTRIB_CODENAME=zena
DISTRIB_DESCRIPTION="Linux Mint 22.3 Zena"
NAME="Linux Mint"
VERSION="22.3 (Zena)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22.3"
VERSION_ID="22.3"
HOME_URL="https://www.linuxmint.com/";
SUPPORT_URL="https://forums.linuxmint.com/";
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/";
PRIVACY_POLICY_URL="https://www.linuxmint.com/";
VERSION_CODENAME=zena
UBUNTU_CODENAME=noble

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to