Это мое изображение: phonenum.png
Вот мой код:
Код: Выделить всё
import easyocr
reader = easyocr.Reader(['en'])
result = reader.readtext('images/phonenum.png')
for (bbox, text, prob) in result:
print(text)
Я ожидаю вывода текста.
Вот вывод терминала с использованием pycharm:
Код: Выделить всё
C:\Users\charl\PYTHON\stackoverflow_questions_2\.venv\Scripts\python.exe C:\Users\charl\PYTHON\stackoverflow_questions_2\read_text_ocr.py
Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.
Process finished with exit code -1073741795 (0xC000001D)
Как мне получить текстовый вывод?
Подробнее здесь: https://stackoverflow.com/questions/792 ... -exception