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

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

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

face-detection golang openfaas openfaas-function openfaas-plugin serverless serverless-functions

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# pigo-openfaas

[Pigo](https://github.com/esimov/pigo) OpenFaaS function for face detection.

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

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

#### 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/44348404-fcef5280-a4a2-11e8-9b9c-1c34acc23d83.png)

### Result
After deploying the OpenFaaS function `pigo-face-detector` will show up in the function list. You have to provide an image URL then hit invoke. This will return an image with yellow rectangles drawn around the detected faces.



## License

Copyright © 2018 Endre Simo

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