Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/esimov/pigo-openfaas-faceblur

OpenFaaS faceblur function using the Pigo face detector library. (https://github.com/esimov/pigo)
https://github.com/esimov/pigo-openfaas-faceblur

face-detection openfaas openfaas-function pigo-face-detection pigo-openfaas serverless

Last synced: 4 months ago
JSON representation

OpenFaaS faceblur function using the Pigo face detector library. (https://github.com/esimov/pigo)

Awesome Lists containing this project

README

        

# OpenFaaS Faceblur Function

This is an OpenFaaS function to blur the detected faces using the Pigo face detection library.

### Usage
To run the function locally you have to make sure OpenFaaS is up and running. Read the official documentation for more help. https://docs.openfaas.com/

Clone the repository:
```bash
$ git clone https://github.com/esimov/pigo-openfaas-faceblur
```

#### Build
```bash
$ faas-cli build -f stack.yml --gateway=http://
```

#### Deploy
```bash
$ faas-cli deploy -f stack.yml --gateway=http://
```

You can access the UI on the url provided to `--gateway`.

![openfaas](https://user-images.githubusercontent.com/883386/58369734-563f5300-7f07-11e9-9a04-72c4d986abc3.png)

### Result
After deploying the OpenFaaS function `pigo-faceblur` will show up in the function list. You have to provide an image URL then hit invoke. This will return an image with the detected face regions blured out.



## License

Copyright © 2019 Endre Simo

This project is under the MIT License. See the LICENSE file for the full license text.