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.
Files and versions
Updated 11 months ago
Sign and scan a PDF file without actually having to print out the PDF (or scan it).
How to use
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)