Skip to main content

This is a document scanner

Project description

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

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

docscan-1.0.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

docscan-1.0.5-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docscan-1.0.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for docscan-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b1ff3ad6ed328c086320afed0f7ddede5bdc61941eb74ae817e7cd9f9e71fcf2
MD5 048d8a76847d183878fc74dc552f4ba6
BLAKE2b-256 34e2f4f450c8bb4b9c1b59683e8ebc8d1557f7e273a78939c4c2350c097b727e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docscan-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for docscan-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d505a66ea893d94743134eba35a9fbe545aaa4b3bcb356d8c7ec5f081c8c1dd5
MD5 02cb7b294c9dd8bacd9fd85340fa856c
BLAKE2b-256 91e8fd40379d091d9004b308c2185eb1b3b45ad63446ec13bab09b417ebf0cdb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page