LandmarksModel Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. LandmarksModel
- com.
public class LandmarksModel
A landmark recognized in the image.
Constructor Summary
Constructor | Description | |
---|---|---|
LandmarksModel() |
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
String |
name()
Get the name value. |
Landmarks |
withConfidence(double confidence)
Set the confidence value. |
Landmarks |
withName(String name)
Set the name value. |
Methods inherited from java.lang.Object
Constructor Details
LandmarksModel
public LandmarksModel()
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
the confidence value
name
public String name()
Get the name value.
Returns:
the name value
withConfidence
public LandmarksModel withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the LandmarksModel object itself.
withName
public LandmarksModel withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the LandmarksModel object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java