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)
Built Distribution
Close
Hashes for pdf_segregation-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7b5df82a44982e3aef3590155359a5945746fa0a6423472e5ffbbe147312a2 |
|
MD5 | 70f43955f72b6b9b5eb1e2d4a737aac0 |
|
BLAKE2b-256 | 39b4d82b2a339bcc2c356bc624e830696ec61ea6d4fa455a5bf5d9d26caa2262 |