我已经使用命令在 Google colab 中安装了 tesseract
!pip install tesseract
Run Code Online (Sandbox Code Playgroud)
但是当我运行命令时
text = pytesseract.image_to_string(Image.open('cropped_img.png'))
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
TesseractNotFoundError: tesseract 未安装或不在您的路径中