# 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: ```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!