Skip to content

carbogninalberto/beautiful-signature-extraction-and-crop-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beautiful Signature Extraction and Automatic Crop in Python

Quick Intro

This is a simple script that uses opencv to make signature photos clearer and automatically crop the white space around it.

TODO

  1. Implement automatic boxes cluster detection to extract multiple signatures.
  2. Implement classifier to detect which clusters are a signature.

Examples

Original signatures images: alt original

Signatures box: alt boxes

Signatures cropped: alt final

Install

Install and configure the environment:

python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Run the script for the images inside datataset

python main.py

About

Use opencv to "scan" a signature photos and automatically crop the white space around it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages