ObjectHierarchy Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ObjectHierarchy

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 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.

Methods inherited from java.lang.Object

Constructor Details

ObjectHierarchy

public ObjectHierarchy()

Method Details

confidence

public double confidence()

Get the confidence value.

Returns:

the confidence value

objectProperty

public String objectProperty()

Get the objectProperty value.

Returns:

the objectProperty value

parent

public ObjectHierarchy parent()

Get the parent value.

Returns:

the parent value

withConfidence

public ObjectHierarchy withConfidence(double confidence)

Set the confidence value.

Parameters:

confidence - the confidence value to set

Returns:

the ObjectHierarchy object itself.

withObjectProperty

public ObjectHierarchy withObjectProperty(String objectProperty)

Set the objectProperty value.

Parameters:

objectProperty - the objectProperty value to set

Returns:

the ObjectHierarchy object itself.

withParent

public ObjectHierarchy withParent(ObjectHierarchy parent)

Set the parent value.

Parameters:

parent - the parent value to set

Returns:

the ObjectHierarchy object itself.

Applies to