Hi all,
I am using Raspberry Pi 4, with os:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
I I have python 3.9 and Tesseract 5.0.0, I installet Tesseract with snap cus I could not install any other way
I have a command which is sending attachment ( picture with PNG format)
I am trying to parse text from it, but I hit the wall each time,
This is the error I am facing:
Any suggestions?
I am using Raspberry Pi 4, with os:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
I I have python 3.9 and Tesseract 5.0.0, I installet Tesseract with snap cus I could not install any other way
I have a command which is sending attachment ( picture with PNG format)
I am trying to parse text from it, but I hit the wall each time,
This is the error I am facing:
I commented part in pytesseract.py for cleaning temp files, and I can confirm that I see the file is created, when I move file to home dir and run tesseract tempfile.png result.txt it does extract text from it. Seems like I dont have privileges in /tmp ( I tried to add it, also added with regex for tess_ files not helping)Command 'e' raised an exception: TesseractError: (1, "read_params_file: Can't open txt Tesseract Open Source OCR Engine v5.0.0-alpha-20201224 with Leptonica Error, cannot read input file /tmp/tess_f6asjzny_input.PNG: No such file or directory Error during processing.")
Any suggestions?
Statistics: Posted by honestoverloader — Mon Mar 11, 2024 3:55 pm — Replies 0 — Views 7