Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Face recognition via facebook API

Tags:

Currently, if I have a facebook friend whom I've tagged in a picture that I've uploaded, when I upload a picture with his face on it, facebook automatically suggests his user as a tag.

Is it possible to emulate this same behavior via the facebook graph api or the SDK?

In other words, if I use the api as described on https://developers.facebook.com/docs/graph-api/reference/user/photos/ to upload a photo (described under "Creating") of a user that my account is friends with, is there any way facebook will make that same suggestion in the request return parameters or something like that?

like image 911
user3682065 Avatar asked Aug 29 '15 21:08

user3682065


People also ask

Can you do facial recognition on Facebook?

Facebook has announced that it will stop using its facial recognition system – the artificial intelligence software which recognises people in photos and videos and generates suggestions about who to “tag” in them.

Which algorithm is used by Facebook for face recognition explain its working?

The answer is DeepFace Algorithm. Also as we know Facebook has a database, so with the DeepFace Algorithm, they will determine a 3D numerical model of each face while by using the database they can recognize faces. DeepFace is a deep learning facial recognition system created by a research group at Facebook.

What can you do with Facebook API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.


2 Answers

Yes. You can use Facematch, an unofficial wrapper for the Facebook face recognition feature.

When you upload a picture on Facebook, the /photos/tagging/recognition endpoint is called. This program uploads a private picture (using Facebook API) + calls the recognition endpoint (by simulating a browser using the user's information).

like image 183
Zool Avatar answered Sep 21 '22 13:09

Zool


You can use https://github.com/samj1912/fbrecog. Python wrapper for Facebook face recognition. And the only one in my knowledge that currently works.

like image 27
samj1912 Avatar answered Sep 22 '22 13:09

samj1912