Class ObjectHierarchy


  • public class ObjectHierarchy
    extends Object
    An object detected inside an image.
    • Constructor Detail

      • ObjectHierarchy

        public ObjectHierarchy()
    • 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.