Re: [Sikuli-driver] [Question #709589]: Tesseract not working

2024-03-31 Thread Launchpad Janitor
Question #709589 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709589

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #709589]: Tesseract not working

2024-03-18 Thread MR HSNNN
Question #709589 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709589

MR HSNNN posted a new comment:
First, ensure that Tesseract is correctly installed on your system. You
can follow these steps:

Install Tesseract using the Windows installer available at this link
(even though you’re on MacOS, this installer works for both Windows and
MacOS).

Note the Tesseract path from the installation. The default installation
path (as of my last update) is:

C:\Users\USER\AppData\Local\Tesseract-OCR. However, please verify the actual 
installation path on your system.
Install the Python package pytesseract using pip install pytesseract.

Set the Tesseract path in your script before calling image_to_string

import pytesseract
pytesseract.pytesseract.tesseract_cmd = 
r'C:\Users\USER\AppData\Local\Tesseract-OCR\tesseract.exe'

Confirm that SikuliX 2.0.5T is the right version for your setup.

Remember to replace C:\Users\USER\AppData\Local\Tesseract-
OCR\tesseract.exe with the actual path to your Tesseract installation.
If you encounter any further issues, feel free to ask for more
assistance at https://zikenlabs.com/

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #709589]: Tesseract not working

2024-03-15 Thread Waikit Lau
New question #709589 on SikuliX:
https://answers.launchpad.net/sikuli/+question/709589

I installed Tesseract on my MacOS but when I run SikuliX, I get this error..

[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could 
not initialize class net.sourceforge.tess4j.Tesseract1 )

I am on
- MacOS 12.6.8 (Monterey)
- openjdk version "11.0.22" 2024-01-16
- SikuliX 2.0.5


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp