ObjectHierarchy Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ObjectHierarchy
- com.
public class ObjectHierarchy
An object detected inside an image.
Constructor Summary
Constructor | Description | |
---|---|---|
ObjectHierarchy() |
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
String |
objectProperty()
Get the object |
Object |
parent()
Get the parent value. |
Object |
withConfidence(double confidence)
Set the confidence value. |
Object |
withObjectProperty(String objectProperty)
Set the object |
Object |
withParent(ObjectHierarchy parent)
Set the parent value. |
Methods inherited from java.lang.Object
Constructor Details
ObjectHierarchy
public ObjectHierarchy()
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: