This module will return whether PDF is Digital, Non-Digital or Mixed.
Project description
# After installation use syntax :
## Load library
#
from digital_nondigital_pdf_extraction import pdf_extractor
result, digital_pages, nondigital_pages = pdf_extractor.digital_nondigital_classifier("scansmpl.pdf")
# scansmpl.pdf replace with your file name.
print(result)
print(digital_pages)
print(nondigital_pages)
# It will return result either Digital, Non-Digital or Mixed based on document.
# digital_pages - digital page numbers present in pdf.
# nondigital_pages - nondigital page numbers present in pdf.
data = pdf_extractor.digital_nondigital_extractor("scansmpl.pdf", digital_pages, nondigital_pages)
print(data)
# Your result
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
Built Distribution
Close
Hashes for digital_nondigital_pdf_extraction-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e22cb388234f41238eccd2422b9fc47468ceb08c34e59583af0a56c4e0c140 |
|
MD5 | c29493e7c30f55ebb7e36f717a430a78 |
|
BLAKE2b-256 | 9fcaccac3b7908fbefd3dc1d19d052853e4a8dea8eb0c5fbc14c8f98f7e32765 |
Close
Hashes for digital_nondigital_pdf_extraction-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7989cada0d000cc21be3b3a892a4a69b0a01c221e1ebb56051a4e445dcd07a92 |
|
MD5 | c9489b01c1e5694be96da94526365148 |
|
BLAKE2b-256 | b5ed90c319f7b4e8897db6cafc79d148a8102c47a0511f2af084cd696ddd755b |