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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdf_segregation-2.0.2.tar.gz.
File metadata
- Download URL: pdf_segregation-2.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
376491b9856c2ace6c584340f98610d58044e2d1021c8a519a17f855d4e7b029
|
|
| MD5 |
be000328288adc73f1d49e648a829111
|
|
| BLAKE2b-256 |
f31aa2110fb687d418501a1c18a0f41181ebdefe7812219a9a57d416192295ae
|
File details
Details for the file pdf_segregation-2.0.2-py3-none-any.whl.
File metadata
- Download URL: pdf_segregation-2.0.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
779580afe4c431f15030e7ec8120f8ec54aa2a2e78a0117eee2ef80bbae548d3
|
|
| MD5 |
34259e8376605d5e96abed7b61782fc2
|
|
| BLAKE2b-256 |
a3a7950d666890c374094ead059df5819d77dd57f7585b1bc1c54f82cd3fd4d1
|