Class ObjectHierarchy
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ObjectHierarchy
-
public class ObjectHierarchy extends Object
An object detected inside an image.
-
-
Constructor Summary
Constructors Constructor Description ObjectHierarchy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
confidence()
Get the confidence value.String
objectProperty()
Get the objectProperty value.ObjectHierarchy
parent()
Get the parent value.ObjectHierarchy
withConfidence(double confidence)
Set the confidence value.ObjectHierarchy
withObjectProperty(String objectProperty)
Set the objectProperty value.ObjectHierarchy
withParent(ObjectHierarchy parent)
Set the parent value.
-
-
-
Method Detail
-
objectProperty
public String objectProperty()
Get the objectProperty value.- Returns:
- the objectProperty value
-
withObjectProperty
public ObjectHierarchy withObjectProperty(String objectProperty)
Set the objectProperty value.- Parameters:
objectProperty
- the objectProperty value to set- Returns:
- the ObjectHierarchy object itself.
-
confidence
public double confidence()
Get the confidence value.- Returns:
- the confidence value
-
withConfidence
public ObjectHierarchy withConfidence(double confidence)
Set the confidence value.- Parameters:
confidence
- the confidence value to set- Returns:
- the ObjectHierarchy object itself.
-
parent
public ObjectHierarchy parent()
Get the parent value.- Returns:
- the parent value
-
withParent
public ObjectHierarchy withParent(ObjectHierarchy parent)
Set the parent value.- Parameters:
parent
- the parent value to set- Returns:
- the ObjectHierarchy object itself.
-
-