Freigeben über


Faces.FacesDetectWithUrlDefinitionStages.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
FacesDetectWithUrlDefinitionStages.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.

FacesDetectWithUrlDefinitionStages.WithExecute withReturnFaceId(Boolean returnFaceId)

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

FacesDetectWithUrlDefinitionStages.WithExecute withReturnFaceLandmarks(Boolean returnFaceLandmarks)

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

Method Details

withReturnFaceAttributes

public FacesDetectWithUrlDefinitionStages.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 FacesDetectWithUrlDefinitionStages.WithExecute withReturnFaceId(Boolean returnFaceId)

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

Parameters:

returnFaceId

Returns:

next definition stage

withReturnFaceLandmarks

public FacesDetectWithUrlDefinitionStages.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