pytesseract.pytesseract.tesseract_cmd是干啥的
时间: 2023-07-24 17:17:45 浏览: 47
pytesseract.pytesseract.tesseract_cmd是 pytesseract 库中的一个变量,用于指定 Tesseract OCR 引擎的可执行文件路径。Tesseract 是一个开源的光学字符识别引擎,用于将图像中的文字转换为可编辑的文本。通过设置 pytesseract.pytesseract.tesseract_cmd 变量,可以确保 pytesseract 库能够正确地找到并使用 Tesseract 引擎。