Docscan
Docscan is a document scanner. Take a photo of your documents and frame it.
Installation
Install it from pypi
pip install docscan
Usage as a cli
Scan from a remote image
curl -s http://input.png | docscan > output.png
Scan from a local file
docscan path/to/output.png path/to/input.png
Usage as a library
In app.py
import sys
from docscan.doc import scan
sys.stdout.buffer.write(scan(sys.stdin.buffer.read()))
Then run
cat input.png | python app.py > out.png
License
Copyright (c) 2020-present Daniel Gatis
Licensed under MIT License
Buy me a coffee
Liked some of my work? Buy me a coffee (or more likely a beer)
Metadata
Release files for docscan 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docscan-1.0.6.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docscan-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / docscan-1.0.6.tar.gz
| Download URL | docscan-1.0.6.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
921d749a43ccf50f7467c0bceb67887104bc7c84e6a6265893ee910a9bbd4d2e
|
|
BLAKE2b-256 checksum How to use checksums |
ffcf3b94f4217393b8dda8508f5b3532722034aeca59ffad34c9ebd161901e85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / docscan-1.0.6-py3-none-any.whl
| Download URL | docscan-1.0.6-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a8a2cde3f0077623ea0a581afa09fd326c9005f5db98fba5a7f60efa899f65c
|
|
BLAKE2b-256 checksum How to use checksums |
efbec9cb26d5370457a03340e1cf67071a470b2b3cccb0f0aec2f5c8604c2225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|