https://github.com/ufoym/cropman
Face-aware image cropping.
https://github.com/ufoym/cropman
Last synced: 5 days ago
JSON representation
Face-aware image cropping.
- Host: GitHub
- URL: https://github.com/ufoym/cropman
- Owner: ufoym
- Created: 2014-07-01T14:50:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T16:18:29.000Z (almost 11 years ago)
- Last Synced: 2024-10-29T21:45:39.456Z (6 months ago)
- Language: Python
- Homepage: http://ufoym.com/cropman
- Size: 324 KB
- Stars: 367
- Watchers: 20
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-starred - cropman - Face-aware image cropping (Python)
README
Requirements
------------
- Numpy
- OpenCV
- Docopt (Console)Cropman Console
---------------Usage:
app-console.pyOptions:
-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
```