IdentifyRequest Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. IdentifyRequest
- com.
public class IdentifyRequest
Request body for identify face operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
confidenceThreshold()
Get the confidenceThreshold value. |
List<UUID> |
faceIds()
Get the faceIds value. |
Integer |
maxNumOfCandidatesReturned()
Get the maxNumOfCandidatesReturned value. |
String |
personGroupId()
Get the personGroupId value. |
Identify |
withConfidenceThreshold(Double confidenceThreshold)
Set the confidenceThreshold value. |
Identify |
withFaceIds(List<UUID> faceIds)
Set the faceIds value. |
Identify |
withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)
Set the maxNumOfCandidatesReturned value. |
Identify |
withPersonGroupId(String personGroupId)
Set the personGroupId value. |
Method Details
confidenceThreshold
public Double confidenceThreshold()
Get the confidenceThreshold value.
Returns:
faceIds
public List
Get the faceIds value.
Returns:
maxNumOfCandidatesReturned
public Integer maxNumOfCandidatesReturned()
Get the maxNumOfCandidatesReturned value.
Returns:
personGroupId
public String personGroupId()
Get the personGroupId value.
Returns:
withConfidenceThreshold
public IdentifyRequest withConfidenceThreshold(Double confidenceThreshold)
Set the confidenceThreshold value.
Parameters:
Returns:
withFaceIds
public IdentifyRequest withFaceIds(List
Set the faceIds value.
Parameters:
Returns:
withMaxNumOfCandidatesReturned
public IdentifyRequest withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)
Set the maxNumOfCandidatesReturned value.
Parameters:
Returns:
withPersonGroupId
public IdentifyRequest withPersonGroupId(String personGroupId)
Set the personGroupId value.
Parameters:
Returns:
Applies to
Azure SDK for Java