ObjectHierarchy Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ObjectHierarchy
- com.
public class ObjectHierarchy
An object detected inside an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
String |
objectProperty()
Get the objectProperty value. |
Object |
parent()
Get the parent value. |
Object |
withConfidence(double confidence)
Set the confidence value. |
Object |
withObjectProperty(String objectProperty)
Set the objectProperty value. |
Object |
withParent(ObjectHierarchy parent)
Set the parent value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
objectProperty
public String objectProperty()
Get the objectProperty value.
Returns:
parent
public ObjectHierarchy parent()
Get the parent value.
Returns:
withConfidence
public ObjectHierarchy withConfidence(double confidence)
Set the confidence value.
Parameters:
Returns:
withObjectProperty
public ObjectHierarchy withObjectProperty(String objectProperty)
Set the objectProperty value.
Parameters:
Returns:
withParent
public ObjectHierarchy withParent(ObjectHierarchy parent)
Set the parent value.
Parameters:
Returns:
Applies to
Azure SDK for Java