Aracılığıyla paylaş


Faces.FacesDetectWithStreamDefinitionStages.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
FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceAttributes(List<FaceAttributeType> returnFaceAttributes)

Analyze and return the one or more specified face attributes in the comma-separated string like "returnFaceAttributes=age,gender". Supported face attributes include age, gender, headPose, smile, facialHair, glasses and emotion. Note that each face attribute analysis has additional computational and time cost.

FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceId(Boolean returnFaceId)

A value indicating whether the operation should return faceIds of detected faces.

FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceLandmarks(Boolean returnFaceLandmarks)

A value indicating whether the operation should return landmarks of the detected faces.

Method Details

withReturnFaceAttributes

public FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceAttributes(List returnFaceAttributes)

Analyze and return the one or more specified face attributes in the comma-separated string like "returnFaceAttributes=age,gender". Supported face attributes include age, gender, headPose, smile, facialHair, glasses and emotion. Note that each face attribute analysis has additional computational and time cost.

Parameters:

returnFaceAttributes

Returns:

next definition stage

withReturnFaceId

public FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceId(Boolean returnFaceId)

A value indicating whether the operation should return faceIds of detected faces.

Parameters:

returnFaceId

Returns:

next definition stage

withReturnFaceLandmarks

public FacesDetectWithStreamDefinitionStages.WithExecute withReturnFaceLandmarks(Boolean returnFaceLandmarks)

A value indicating whether the operation should return landmarks of the detected faces.

Parameters:

returnFaceLandmarks

Returns:

next definition stage

Applies to