Skip to main content

Docscan

Downloads Downloads Downloads License

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)

Buy Me A Coffee

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docscan-1.0.6.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docscan-1.0.6-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file docscan-1.0.6.tar.gz.

File metadata

  • Download URL: docscan-1.0.6.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for docscan-1.0.6.tar.gz
Algorithm Hash digest
SHA256 921d749a43ccf50f7467c0bceb67887104bc7c84e6a6265893ee910a9bbd4d2e
MD5 82f62d6632481b3c0154ee29cfc6e345
BLAKE2b-256 ffcf3b94f4217393b8dda8508f5b3532722034aeca59ffad34c9ebd161901e85

See more details on using hashes here.

File details

Details for the file docscan-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: docscan-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for docscan-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8a2cde3f0077623ea0a581afa09fd326c9005f5db98fba5a7f60efa899f65c
MD5 28dccfe750a528b6688a093ad192837e
BLAKE2b-256 efbec9cb26d5370457a03340e1cf67071a470b2b3cccb0f0aec2f5c8604c2225

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 files

1.0.5

2 files

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page