📌  相关文章
📜  pytesseract pdf 转文本 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:04.876000             🧑  作者: Mango

代码示例1
import cv2
import pytesseract

img = cv2.imread('/Users/user1/Desktop/folder1/pdf1.pdf')
text = pytesseract.image_to_string(img)
print(text)