Compartir a través de


PersonGroupPersons.PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithAllOptions Interface

public interface WithAllOptions

The stage of the definition which allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithExecute withTargetFace(List<Integer> targetFace)

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.

PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithExecute withUserData(String userData)

User-specified data about the face for any purpose. The maximum length is 1KB.

Method Details

withTargetFace

public PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithExecute withTargetFace(List targetFace)

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.

Parameters:

targetFace

Returns:

next definition stage

withUserData

public PersonGroupPersonsAddPersonFaceFromStreamDefinitionStages.WithExecute withUserData(String userData)

User-specified data about the face for any purpose. The maximum length is 1KB.

Parameters:

userData

Returns:

next definition stage

Applies to