Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3891

Python • Re: Need help for read numbers from a picture

$
0
0
This is the full error :

Code:

Traceback (most recent call last):  File "/home/pi/TEST-READ NUMBERS.py", line 27, in <module>    text = pytesseract.image_to_string(gauss, config=' --psm 6')  File "/usr/local/lib/python3.7/dist-packages/pytesseract/pytesseract.py", line 427, in image_to_string    }[output_type]()  File "/usr/local/lib/python3.7/dist-packages/pytesseract/pytesseract.py", line 426, in <lambda>    Output.STRING: lambda: run_and_get_output(*args),  File "/usr/local/lib/python3.7/dist-packages/pytesseract/pytesseract.py", line 288, in run_and_get_output    run_tesseract(**kwargs)  File "/usr/local/lib/python3.7/dist-packages/pytesseract/pytesseract.py", line 255, in run_tesseract    proc = subprocess.Popen(cmd_args, **subprocess_args())  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__    restore_signals, start_new_session)  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child    raise child_exception_type(errno_num, err_msg, err_filename)PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/pytesseract/pytesseract.py'>>> 
I do not see any other executable in the folder /usr/local/lib/python3.7/dist-packages/pytesseract ... seems a problem with user permissions...

Statistics: Posted by joseplaselva — Fri Jul 19, 2024 3:09 pm



Viewing all articles
Browse latest Browse all 3891

Trending Articles