Class Recognition

  • All Implemented Interfaces:

    
    public final class Recognition
    
                        

    Recognition class representing object recognitions during inference.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Recognition(String label, Float confidence) Create a recognition from a label and confidence.
      Recognition(String label, Float confidence, BoundingBox boundingBox) Create a recognition from a label, confidence, and bounding box.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Recognition

        Recognition(String label, Float confidence)
        Create a recognition from a label and confidence.
        Parameters:
        label - the label of the object being recognised
        confidence - the confidence of the object recognition
      • Recognition

        Recognition(String label, Float confidence, BoundingBox boundingBox)
        Create a recognition from a label, confidence, and bounding box.
        Parameters:
        label - the label of the object being recognised
        confidence - the confidence of the object recognition
        boundingBox - the bounds of the object in the image