Android Question www.faceplusplus.com

btbb

Member
Licensed User
Longtime User
Hi all,

I'm trying to use the api at http://www.faceplusplus.com for face detection, but i fail with postfile.
Can someone help me with this?

I have tried with parameter "url" instead, and it works fine.

see this documentation: http://www.faceplusplus.com/detection_detect/

This is how i make postfile in b4a:

B4X:
job1.PostFile ("http://api.us.faceplusplus.com/v2/detection/detect?api_secret=XXXXXX&api_key=XXXXXX&attribute=gender,age&img[POST]=1.jpg",File.DirInternal ,"1.jpg")

Best Regards,
btbb
 

DonManfred

Expert
Licensed User
Longtime User
 

Attachments

  • multipartpost_faceplusplus.zip
    11.2 KB · Views: 350
  • 18.jpg
    2.8 KB · Views: 349
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Yesterday i figured out how to get all data from the json....

I like this api and i think i´ll investigate more time on it... Creating a person, set face(s) to this person and such... Maybe i extend my example and do a tutorial about how to use face++ in future
 
Upvote 0

bparent

Member
Licensed User
Longtime User

Please do. That would be helpful.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…