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

34 lines
548 B

# Pipeline: sign-and-scan
2 years ago
## 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:
```shell
$ apt install imagemagick
$ pip3 install towhee
```
If you're on MacOS:
```shell
% brew install imagemagick
% pip3 install towhee
```
2. Run it
```python
>>> 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!