CelebritiesModel Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. CelebritiesModel
- com.
public class CelebritiesModel
An object describing possible celebrity identification.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
Face |
faceRectangle()
Get the faceRectangle value. |
String |
name()
Get the name value. |
Celebrities |
withConfidence(double confidence)
Set the confidence value. |
Celebrities |
withFaceRectangle(FaceRectangle faceRectangle)
Set the faceRectangle value. |
Celebrities |
withName(String name)
Set the name value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
faceRectangle
public FaceRectangle faceRectangle()
Get the faceRectangle value.
Returns:
name
public String name()
Get the name value.
Returns:
withConfidence
public CelebritiesModel withConfidence(double confidence)
Set the confidence value.
Parameters:
Returns:
withFaceRectangle
public CelebritiesModel withFaceRectangle(FaceRectangle faceRectangle)
Set the faceRectangle value.
Parameters:
Returns:
withName
public CelebritiesModel withName(String name)
Set the name value.
Parameters:
Returns:
Applies to
Azure SDK for Java