# 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 !!!
Release files for pdf-segregation 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdf_segregation-2.0.2.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_segregation-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / pdf_segregation-2.0.2.tar.gz
| Download URL | pdf_segregation-2.0.2.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
376491b9856c2ace6c584340f98610d58044e2d1021c8a519a17f855d4e7b029
|
|
BLAKE2b-256 checksum How to use checksums |
f31aa2110fb687d418501a1c18a0f41181ebdefe7812219a9a57d416192295ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pdf_segregation-2.0.2-py3-none-any.whl
| Download URL | pdf_segregation-2.0.2-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
779580afe4c431f15030e7ec8120f8ec54aa2a2e78a0117eee2ef80bbae548d3
|
|
BLAKE2b-256 checksum How to use checksums |
a3a7950d666890c374094ead059df5819d77dd57f7585b1bc1c54f82cd3fd4d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|