我得到了这个错误,而解析的PDF文件使用pypdf2,我是随同错误的PDF附件。I have attached the PDF to be parsed please click to view 有人能帮上忙吗?import PyPDF2
read_pdf = PyPDF2.PdfFileReader(pdfName)page = read_pdf.getPage(0)
page_content = page.e
我尝试在Python中使用pytesseract,但总是出现以下错误:pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your pathimport cv2
import pytesseract<
我试图简单地使用OCR的图像与Tesseract。我在不同的论坛上尝试过无数的解决方案,但都没有成功。我已经将一个pdf转换成一个图像,并保存了该图像。然后,我使用cv2调用了这个映像。= r'C:/Users/Afton/anaconda3/Scripts/pytesseract.exe'
pdf = 'C:/path/exam