Add a representative face to a person for identification. The input face is specified as an image with a targetFace rectangle.
Supports noop? false
Parameters
person_id(Optional[String[1]])
— Id referencing a particular person.
user_data(Optional[String[1]])
— User-specified data about the face for any purpose. The maximum length is 1KB.
target_face(Optional[String[1]])
— A face rectangle to specify the target face to be added to a person in the format of 'targetFace=left,top,width,height'. E.g. 'targetFace=10,10,100,100'. If there is more than one face in the image, targetFace is required to specify which face to add. No targetFace means there is only one face detected in the entire image.
image_url(Optional[String[1]])
— A JSON document with a URL pointing to the image that is to be analyzed.
error(Optional[String[1]])
—
person_group_id(Optional[String[1]])
— Id referencing a particular person group.