Skip to main content

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

Project description

# After installation use syntax :

## Load library
#
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)

# result - Digital, Non-Digital or Mixed based on document.
# digital_pages - Page numbers which are digital.
# nondigital_pages - Page numbers which are nondigital.

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.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

pdf_segregation-2.0.2-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