如何在 Amazon Sagemaker 笔记本(云)中设置 pytesseract 路径?

How to setup pytesseract path in amazon sagemaker notebook (cloud)?

提问人:sk jainmiah 提问时间:11/17/2023 更新时间:11/17/2023 访问量:13

问:

我已经在 sagemaker 笔记本中使用安装了 pytesseract,现在我需要设置 tesseract 路径pip install pytesseractpytesseract.pytesseract.tesseract_cmd = 'home/studio-lab-user/.conda/envs/studiolab/bin/tesseract/tesseract.exe'

现在该怎么做呢?我尝试将本地安装的 Tesseract-OCR 文件夹带到云 sagemaker 笔记本并给出路径,但仍然说 tesseract 未安装或在给定路径下不可用

那么如何在 sagemaker 笔记本上设置 tesseract 路径。提前致谢。

python-3.x jupyter-notebook amazon-sagemaker python-tesseract

评论


答: 暂无答案