Scanbook
A Python command-line tool for turning page scans into a nice black-and-white PDF.
Installation
- Install Imagemagick
pip install scanbook- Make sure the Python binary path is in your $PATH.
Pipless installation
python setup.py installinstead ofpip install scanbook
Dependencies
clickopencv-pythonscikit-image- Imagemagick (
convert)
Usage
scanbook BOOKNAME FILENAMES...
Example: scanbook war-and-peace *.jpg
Options:
--threshold NUM-- set the threshold value, if the images are turning out too light or too dark; must be an odd number (default: 19)--no-cleanup-- leave the__BOOKNAMEfolder (handy if you want to do anything with the processed image files)--verbose
Example: scanbook --verbose --threshold 27 --no-cleanup war-and-peace *.jpg
Metadata
Release files for scanbook 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scanbook-0.1.1.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scanbook-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / scanbook-0.1.1.tar.gz
| Download URL | scanbook-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0a354d0b73c43145cab807e2bb5ebf7167ae298d734f39f2cb073ca7a170291
|
|
BLAKE2b-256 checksum How to use checksums |
03fcb58db8dfd21de2efff893360078796ef015f0cde97be55be97dd492800e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Release files / scanbook-0.1.1-py3-none-any.whl
| Download URL | scanbook-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a87b18f37f37d29c15c7ee06a173fa0393a96844792134f865724e9c058ddacb
|
|
BLAKE2b-256 checksum How to use checksums |
eae880dbf9d98d0266ac27312ba03aa8649310df279b1eefd6950e995affe320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Security for scanbook 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.