There is a problem with python recognizing pictures.

from PIL import Image
import pytesseract
text = pytesseract.image_to_string(Image.open("denggao.jpeg"),lang="chi_sim")
print(text)

found the following problems after running, and have been unable to solve

Traceback (most recent call last):
  File "C:/Python27/Lib/site-packages/pytesser_v0.0.1/ccc.py", line 68, in <module>
    text = pytesseract.image_to_string(Image.open("denggao.jpeg"),lang="chi_sim")
  File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 193, in image_to_string
    return run_and_get_output(image, "txt", lang, config, nice)
  File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 140, in run_and_get_output
    run_tesseract(**kwargs)
  File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 111, in run_tesseract
    proc = subprocess.Popen(command, stderr=subprocess.PIPE)
  File "C:\Python27\lib\subprocess.py", line 711, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 959, in _execute_child
    startupinfo)
WindowsError: [Error 5] 

is this a pit?

Mar.04,2021

you can consider upgrading to a lower level, and try


first remove the following lang parameters to see if you still report an error, and whether the error is still the same

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4916b-44d06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4916b-44d06.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?