/faceset/remove_face

Description

Remove faces from a faceset.

Parameter

Name Description
Required api_key Your registered API Key
api_secret Your registered API Secret
faceset_name or faceset_id The name or id of the target faceset.
face_id A comma-separated list of face ids, specifying which faces to be removed from that faceset. User can also specify face_id=all, which means to remove all faces from this faceset.

Return Values

Field Type Description
removed int Number of removed face
success bool Always be "true"

Parameter

https://apius.faceplusplus.com/v2/faceset/remove_face?api_secret=YOUR_API_SECRET&face_id=1698e3320e1f75f63650e61d9e2ace53,13919c882327bdc55d7ba336e7cbf167&api_key=YOUR_API_KEY&faceset_name=NicolasCage

JSON Response

{
	"removed": 2, 
	"success": true
}

Error Code List

Error Code HTTP Status Code Error Message
1001 500 INTERNAL_ERROR
1003 403 AUTHORIZATION_ERROR
1003 403 INSUFFICIENT_PRIVILEGE_OR_QUOTA_LIMIT_EXCEEDED
1004 400 MISSING_ARGUMENTS
1005 400 INVALID_ARGUMENTS
1006 403 ILLEGAL_USE_OF_DEMO_KEY
1202 502 SERVER_TOO_BUSY
Google+