logo
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

548 B

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

  1. 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
  1. 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!

548 B

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

  1. 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
  1. 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!