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)
- Host: GitHub
- URL: https://github.com/esimov/pigo-openfaas
- Owner: esimov
- License: mit
- Created: 2018-08-17T15:08:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T08:54:25.000Z (over 4 years ago)
- Last Synced: 2025-03-27T10:03:10.059Z (7 months ago)
- Topics: face-detection, golang, openfaas, openfaas-function, openfaas-plugin, serverless, serverless-functions
- Language: Go
- Homepage:
- Size: 694 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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`.

### 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.