TransWikia.com

Extracting Text from scanned pdf

Data Science Asked on April 16, 2021

I was not able to convert a pdf to an image. Eventhough the poppler is in path the below issue is occuring.

Input:

from pdf2image import convert_from_path
images = convert_from_path('abc.pdf')
for image in images:
    image.save('abc.png', 'PNG')

Output

PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP