Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ufoym/cropman
Face-aware image cropping.
https://github.com/ufoym/cropman
Last synced: 3 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T16:18:29.000Z (over 10 years ago)
- Last Synced: 2024-10-29T21:45:39.456Z (about 2 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)
![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/input.jpg)
-----------------------------------------------
```
app-console.py input.jpg 90 90 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/90x90.jpg)
-----------------------------------------------
```
app-console.py input.jpg 90 70 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/70x90.jpg)
-----------------------------------------------
```
app-console.py input.jpg 90 50 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/50x90.jpg)
-----------------------------------------------
```
app-console.py input.jpg 90 30 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/30x90.jpg)
-----------------------------------------------
```
app-console.py input.jpg 90 10 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/10x90.jpg)
-----------------------------------------------
```
app-console.py input.jpg 50 90 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/90x50.jpg)
-----------------------------------------------
```
app-console.py input.jpg 50 70 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/70x50.jpg)
-----------------------------------------------
```
app-console.py input.jpg 50 50 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/50x50.jpg)
-----------------------------------------------
```
app-console.py input.jpg 50 30 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/30x50.jpg)
-----------------------------------------------
```
app-console.py input.jpg 50 10 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/10x50.jpg)
-----------------------------------------------
```
app-console.py input.jpg 10 90 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/90x10.jpg)
-----------------------------------------------
```
app-console.py input.jpg 10 70 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/70x10.jpg)
-----------------------------------------------
```
app-console.py input.jpg 10 50 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/50x10.jpg)
-----------------------------------------------
```
app-console.py input.jpg 10 30 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/30x10.jpg)
-----------------------------------------------
```
app-console.py input.jpg 10 10 output.jpg
```![](https://raw.githubusercontent.com/ufoym/cropman/gh-pages/images/10x10.jpg)