Skip to main content

This module will return whether PDF is Digital, Non-Digital or Mixed.

Project description

After installation use syntax :

from pdf_segregation import pdf_classifier

result, digital_pages, nondigital_pages = pdf_classifier.digital_nondigital_classifier("scansmpl.pdf")

scansmpl.pdf replace with your file name.

print(result)

print(digital_pages)

print(nondigital_pages)

It will return Digital, Non-Digital or Mixed based on document.

This is the first pip library I am publishing. In future the exception handling and

and detailed classification is going to included in code.

Thanks and Enjoy !!!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf_segregation-2.0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

pdf_segregation-2.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page