Skip to content

RodolfoFerro/Signature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python signature editor

The present repo contains a Python script to process signature images, it returns a png image with transparent background containing only the signature.

Setup

The Python PIL (Python Image Library) package with Python 3.6 is used in this repo.

To install PIL via pip:

pip install pillow

Contents

The main script is signature.py, which contains a set of utility functions developed so far.

Done so far

  • Binarize your signature
  • Remove background and make it transparent

TODO

  • Smooth image
  • Image orientation
  • Crop to get only signature

Usage

The main script, signature.py requires a set of parameters that are needed in the parser.

An example to use this script is as follows:

python signature.py -i ../imgs/RudolfoAnaya.jpg -o ../imgs/resultado.png -th 190

Results

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages