Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

Requirements
------------
- Numpy
- OpenCV
- Docopt (Console)

Cropman Console
---------------

Usage:
app-console.py

Options:
-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)