Object Storage Service

Products

Object Storage Service

Face Recognition

Identify face information in the image

Parameters:

Actions mode Instruction meaning Parameter format Parameter description Result description
Image analysis actions Analyse analyse Required parameters Start image analysis actions
Face detection Face f/1 Required parameters Return json format of each detected face rectangular coordinate; the image top left corner is the origin
Face detection Face f/2 Required parameters Return biggest crop image of face; the image format is same as that of input image
Face detection Face f/3/str 3 required parameters
Str optional parameters, face frame color, _start with
value range[_000000,_FFFFFF], default_FFFFFF
Return all detected face image in which identified with rectangle of customized color _RRGGBB (or RGB)

Example:

Detect the face in the image file and return the rectangular coordinates of the face:

http://s3.cn-north-1.jdcloud-oss.com/downloads/lena.jpg?x-oss-process=img/analyse/f/1

Returned Results:

{"number":1,"faceList":[{"rect":[176,185,218,218]}]}
Update Time:2019-05-28 16:47:16