我正在尝试使用pdf2image,似乎我需要一个名为propeller的东西:
(sum_env) C:\Users\antoi\Documents\Programming\projects\summarizer\projects\summarizer\sum_env\lib\site-packages\pdf2image\pdf2image.py", line 165, in __page_count\pdf2image.py", line 30, in convert_from_p
:\Users\Balmeet\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1155, in _execute_child\pdf2image.py", line 97, in convert_from_path
page_count = pdfinfo_from_path(pdf_path, userpw, poppler_path\pdf2image.py", line 468, in pdfinf
我使用了Python模块pdf2image。但是我不知道如何解决云函数上的错误No such file or directory: 'pdfinfo'和"Unable to getpagecount.pdf2image是"pdftoppm“和"pdftocairo”的包装器。但是如何在google cloud function上安装poppler包,并将其添加到PATH中?我找不到
我尝试使用这里的代码: https://www.geeksforgeeks.org/python-reading-contents-of-pdf-using-ocr-optical-character-recognition= image_counter + 1
Part #2 - Recognizing text from the images using OCR 3
# Variable to getcount</em