Text recognition not working, Troubleshooting my manual Install PLEASE
Hi there, I'm on an enterprise network and thus have to install sikuli manually.
when trying to extract text out of a region with Region.text() I get the following error:
[error] script [ textTest ] stopped with error in line 2
[error] java.lang.
Im going to go through the steps I took to install and was hoping maybe someone could point out what Im doing wrong.
Linux Setup
Create workspace
1. Create folder /home/rundleja/
2. Create folder /home/rundleja/
3. Create folder /home/rundleja/
4. Copy sikulix-1.1.4.jar to /home/rundleja/
5. Copy jython-
6. Copy the sources folder to /home/rundleja/
**sources contains tesseract-
Compile OpenCV
1. Extract opencv-3.4.7.zip to /home/rundleja/
2. cd into opencv-3.4.7
3. mkdir build
4. cd build
5. run: cmake ..
6. Edit CMakeCache.txt and modify the variable CMAKE_INSTALL_
7. run: make install
8. cd /home/rundleja/
9. run: ln -s ../sources/
Compile Leptonica:
1. Extract leptonica-
2. cd leptonica-1.78.0
3. run: ./configure --prefix=
4. run: make
5. run: make install
Compile Tesseract:
1. Extract tesseract-
2. cd tesseract-3.04.01
3. run: ./autogen.sh
4. export PKG_CONFIG_
5. export LIBLEPT_
6. run ./configure -prefix=
7. export LDFLAGS=
8. export CFLAGS=
9. make
10. make install
** At this point I tried to run the find text part and it came up with the message that it couldnt find the libtesseract.so. So then I did the following******
11.run: ln -s /home/rundleja/
Run
1. Open terminal
2. Run: export LD_LIBRARY_
3. Then run: java -jar sikulix-1.1.4.jar
At a loss for whats going on. The text recognition so far seems to be the only factor not working!
Thanks so much for taking the time to look at this.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask James Rundle for more information if necessary.