Faces.FacesIdentifyDefinitionStages.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
FacesIdentifyDefinitionStages.WithExecute withConfidenceThreshold(Double confidenceThreshold)

Confidence threshold of identification, used to judge whether one face belong to one person. The range of confidenceThreshold is [0, 1] (default specified by algorithm).

FacesIdentifyDefinitionStages.WithExecute withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)

The range of maxNumOfCandidatesReturned is between 1 and 5 (default is 1).

Method Details

withConfidenceThreshold

public FacesIdentifyDefinitionStages.WithExecute withConfidenceThreshold(Double confidenceThreshold)

Confidence threshold of identification, used to judge whether one face belong to one person. The range of confidenceThreshold is [0, 1] (default specified by algorithm).

Parameters:

confidenceThreshold

Returns:

next definition stage

withMaxNumOfCandidatesReturned

public FacesIdentifyDefinitionStages.WithExecute withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)

The range of maxNumOfCandidatesReturned is between 1 and 5 (default is 1).

Parameters:

maxNumOfCandidatesReturned

Returns:

next definition stage

Applies to