Skip to content

Commit

Permalink
Request all the attributes in faces_detect and faces_recognize call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Sep 21, 2011
1 parent ee1c890 commit d90d5b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion face_client/face_client.py
Expand Up @@ -82,6 +82,8 @@ def faces_detect(self, urls=None, file=None, aggressive=False):
if aggressive:
data['detector'] = 'Aggressive'

data['attributes'] = 'all'

response = self.send_request('faces/detect', data)
return response

Expand Down Expand Up @@ -122,7 +124,7 @@ def faces_recognize(self, uids=None, urls=None, file=None, train=None,
(facebook_uids, twitter_uids) = \
self.__check_user_auth_credentials(uids)

data = {'uids': uids}
data = {'uids': uids, 'attributes': 'all'}

if file:
# Check if the file exists
Expand Down

0 comments on commit d90d5b4

Please sign in to comment.