Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.21 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.21 KB

pigo-openfaas

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:

$ git clone https://github.com/esimov/pigo-openfaas

Build

$ faas-cli build -f stack.yml --gateway=http://<GATEWAY-IP>

Deploy

$ faas-cli deploy -f stack.yml --gateway=http://<GATEWAY-IP>

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

openfaas

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.