Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Getting back an empty array for my own face #10

Open
graytmatter opened this issue Feb 24, 2018 · 0 comments
Open

Getting back an empty array for my own face #10

graytmatter opened this issue Feb 24, 2018 · 0 comments

Comments

@graytmatter
Copy link

graytmatter commented Feb 24, 2018

I'm doing a really basic version of your example code. I got the access token, cookies, and fb_dtsg.
access_token = "stuff"
cookies = "more stuff"
fb_dtsg ="even more stuff"

path = 'myface.jpg'
# Instantiate the recog class
recog = FBRecog(access_token, cookies, fb_dtsg)
# Recog class can be used multiple times with different paths
print(recog.recognize(path))

When I run this code I get the following output. Looking through the code it seems like that array should contain the list of people who were recognized as being in the photo. Given that I gave it a picture of myself I feel like it should be able to recognize it?

Post data to Facebook, please wait...
Querying Facebook, please wait...
Please wait. Cleaning up...
Finished.
[]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant