Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am trying to use Face++ api to put image onto their site to be used as a webservice. The problem I am facing is all the face properties can be shown when running in cmd but when I try to create the persons with specific face_id it keeps giving me an error as shown below.

<pre lang="xml">"error": "INVALID_ARGUMENTS: face_id does not exist",
"error_code": 1005


Is there anything missing in my codes? This are the codes where the person will be created and where the error is triggered.

Python
for name, face in FACES.iteritems():
    rst = api.person.create(
            person_name = name, face_id = face['face'][0]['face_id'])
    print_result('create person {}'.format(name), rst)



If anyone has any solution or advice,please help.
Posted
Updated 16-Jul-14 20:11pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900