IdentifyRequest Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.IdentifyRequest

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.

IdentifyRequest withConfidenceThreshold(Double confidenceThreshold)

Set the confidenceThreshold value.

IdentifyRequest withFaceIds(List<UUID> faceIds)

Set the faceIds value.

IdentifyRequest withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)

Set the maxNumOfCandidatesReturned value.

IdentifyRequest withPersonGroupId(String personGroupId)

Set the personGroupId value.

Method Details

confidenceThreshold

public Double confidenceThreshold()

Get the confidenceThreshold value.

Returns:

the confidenceThreshold value

faceIds

public List faceIds()

Get the faceIds value.

Returns:

the faceIds value

maxNumOfCandidatesReturned

public Integer maxNumOfCandidatesReturned()

Get the maxNumOfCandidatesReturned value.

Returns:

the maxNumOfCandidatesReturned value

personGroupId

public String personGroupId()

Get the personGroupId value.

Returns:

the personGroupId value

withConfidenceThreshold

public IdentifyRequest withConfidenceThreshold(Double confidenceThreshold)

Set the confidenceThreshold value.

Parameters:

confidenceThreshold - the confidenceThreshold value to set

Returns:

the IdentifyRequest object itself.

withFaceIds

public IdentifyRequest withFaceIds(List faceIds)

Set the faceIds value.

Parameters:

faceIds - the faceIds value to set

Returns:

the IdentifyRequest object itself.

withMaxNumOfCandidatesReturned

public IdentifyRequest withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)

Set the maxNumOfCandidatesReturned value.

Parameters:

maxNumOfCandidatesReturned - the maxNumOfCandidatesReturned value to set

Returns:

the IdentifyRequest object itself.

withPersonGroupId

public IdentifyRequest withPersonGroupId(String personGroupId)

Set the personGroupId value.

Parameters:

personGroupId - the personGroupId value to set

Returns:

the IdentifyRequest object itself.

Applies to