Class LandmarksModel
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.LandmarksModel
-
public class LandmarksModel extends Object
A landmark recognized in the image.
-
-
Constructor Summary
Constructors Constructor Description LandmarksModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
confidence()
Get the confidence value.String
name()
Get the name value.LandmarksModel
withConfidence(double confidence)
Set the confidence value.LandmarksModel
withName(String name)
Set the name value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public LandmarksModel withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the LandmarksModel object itself.
-
confidence
public double confidence()
Get the confidence value.- Returns:
- the confidence value
-
withConfidence
public LandmarksModel withConfidence(double confidence)
Set the confidence value.- Parameters:
confidence
- the confidence value to set- Returns:
- the LandmarksModel object itself.
-
-