Face-aware image cropping.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cropman
.gitattributes
.gitignore
README.md
app-console.py

README.md

Requirements

  • Numpy
  • OpenCV
  • Docopt (Console)

Cropman Console

Usage:
  app-console.py <input-image> <target-width> <target-height> <target-image>

Options:
  -h --help     Show this screen.
  --version     Show version.

Examples

Input Image (input.jpg)


app-console.py input.jpg 90 90 output.jpg


app-console.py input.jpg 90 70 output.jpg


app-console.py input.jpg 90 50 output.jpg


app-console.py input.jpg 90 30 output.jpg


app-console.py input.jpg 90 10 output.jpg


app-console.py input.jpg 50 90 output.jpg


app-console.py input.jpg 50 70 output.jpg


app-console.py input.jpg 50 50 output.jpg


app-console.py input.jpg 50 30 output.jpg


app-console.py input.jpg 50 10 output.jpg


app-console.py input.jpg 10 90 output.jpg


app-console.py input.jpg 10 70 output.jpg


app-console.py input.jpg 10 50 output.jpg


app-console.py input.jpg 10 30 output.jpg


app-console.py input.jpg 10 10 output.jpg