Sign inSign up

esimov/pigo-openfaas-faceblur

By esimov

Updated about 7 years ago

OpenFaaS function for face blurring using Pigo face detection library

Image
0

7.0K

esimov/pigo-openfaas-faceblur repository overview

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:

$ git clone https://github.com/esimov/pigo-openfaas-faceblur
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.

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.

Tag summary

Content type

Image

Digest

Size

10.5 MB

Last updated

about 7 years ago

docker pull esimov/pigo-openfaas-faceblur:0.1