更新时间:2022-11-30 16:56:57
我怀疑有几件事,虽然不确定.
I suspect a few things, not sure about any though.
首先也是最显而易见的是,通往Tesseract的道路并不完整.应该是这样的:
First and the most obvious, the path to Tesseract is not complete. It should be something like:
tesseract_cmd = 'C:\\Program Files (x86)\\Tesseract-OCR\\tesseract'
我相信您的路径指向目录/文件夹,而不是可执行文件,尽管只有您可以确认.让我知道这是否是错误的,我也看到其他一开始似乎并不正确的东西,但还需要更多调查.
I believe your path points to a directory/folder and not an executable, though only you can confirm that. Let me know if this is incorrect, I see something else too that doesn't seem right at first, but needs more investigation.