fzliu
/
sign-and-scan
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
Updated 1 year ago
fzliu
Pipeline: sign-and-scan
Overview
Sign and scan a PDF file without actually having to print out the PDF (or scan it).
How to use
- Prerequisites
If you're on Debian (Ubuntu) Linux:
$ apt install imagemagick
$ pip3 install towhee
If you're on MacOS:
% brew install imagemagick
% pip3 install towhee
- Run it
>>> from towhee import pipeline
>>> p = pipeline('fzliu/sign-and-scan')
>>> p('/path/to/lease.pdf', '/path/to/output.pdf', '/path/to/signature/file.jpg', x_offset, y_offset)
Enjoy!
| 2 Commits | ||
---|---|---|---|
|
3.0 KiB
|
1 year ago | |
|
548 B
|
1 year ago | |
|
4.2 KiB
|
1 year ago |