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)
Built Distribution
Close
Hashes for pdf_segregation-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779580afe4c431f15030e7ec8120f8ec54aa2a2e78a0117eee2ef80bbae548d3 |
|
MD5 | 34259e8376605d5e96abed7b61782fc2 |
|
BLAKE2b-256 | a3a7950d666890c374094ead059df5819d77dd57f7585b1bc1c54f82cd3fd4d1 |