Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenFaas function for face detection #38

Merged
merged 3 commits into from
Aug 24, 2018
Merged

OpenFaas function for face detection #38

merged 3 commits into from
Aug 24, 2018

Conversation

esimov
Copy link
Contributor

@esimov esimov commented Aug 21, 2018

Please include the face detection function into the FaaS store.

@derek
Copy link

derek bot commented Aug 21, 2018

Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off.
That's something we need before your Pull Request can be merged. Please see our contributing guide.

…face detection library.

Signed-off-by: esimov <esimovaq@yahoo.com>
@ivanayov
Copy link
Contributor

Thanks @esimov

Can you please compare with face-detect?
We can keep both or if your function is faster and more accurate, keep it only.

@esimov
Copy link
Contributor Author

esimov commented Aug 22, 2018

Here are some results for comparision:

Pigo Execution Time OpenCV Execution Time Pigo Result OpenCV Result
pigo-faas gocv-faas 51d4915e-f745-4cc7-91d8-4f22528b0ce4 05724f11-014e-428c-a8d8-a9c4a5637532

As you can see Pigo execution time is faster and the accuracy is better.

@alexellis
Copy link
Member

They look very close. Please could you try some other images? No need to provide screenshots just URLs and results.

Could you also match the highlight colour? The red is hard for people with colourblindness to see.

@esimov
Copy link
Contributor Author

esimov commented Aug 22, 2018

@esimov
Copy link
Contributor Author

esimov commented Aug 23, 2018

Adjusted the highlight color to be yellow.

@alexellis
Copy link
Member

Please could you rename your Git repo to pigo-openfaas? openfaas- prefixes are reserved for the project official use. Thanks 👍

store.json Outdated
{
"title": "OpenFaaS Function for Face Detection",
"description": "Detect faces in images using the Pigo face detection library. You provide an image URI and the function draws boxes around the detected faces.",
"image": "esimov/openfaas-pigo:latest",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esimov/pigo-openfaas:0.1

store.json Outdated
@@ -216,5 +216,21 @@
"name": "sentimentanalysis",
"network": "func_functions",
"repo_url": "https://github.com/openfaas/faas/tree/master/sample-functions/SentimentAnalysis"
},
{
"title": "OpenFaaS Function for Face Detection",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just: Face Detection with Pigo

store.json Outdated
"image": "esimov/openfaas-pigo:latest",
"name": "face-detect",
"network": "func_functions",
"repo_url": "https://github.com/esimov/openfaas-pigo",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esimov/openfaas-pigo -> esimov/pigo-openfaas

store.json Outdated
"title": "OpenFaaS Function for Face Detection",
"description": "Detect faces in images using the Pigo face detection library. You provide an image URI and the function draws boxes around the detected faces.",
"image": "esimov/openfaas-pigo:latest",
"name": "face-detect",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

face-detect-pigo (we already have face-detect`)

@alexellis
Copy link
Member

@esimov while you're doing the edits please can you update the existing face-detect to say "with OpenCV" in its title?

Signed-off-by: esimov <esimovaq@yahoo.com>
@esimov
Copy link
Contributor Author

esimov commented Aug 23, 2018

@alexellis all the required changes have been done.

@esimov esimov changed the title FaaS function for face detection using Pigo library OpenFaas function for face detection Aug 24, 2018
@ivanayov
Copy link
Contributor

LGTM

Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexellis alexellis merged commit ad457f0 into openfaas:master Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants