Class DetectedObjects.DetectedObject

java.lang.Object
ai.djl.modality.Classifications.Classification
ai.djl.modality.cv.output.DetectedObjects.DetectedObject
Enclosing class:
DetectedObjects

public static final class DetectedObjects.DetectedObject extends Classifications.Classification
A DetectedObject represents a single potential detected Object for an image.
  • Constructor Details

    • DetectedObject

      public DetectedObject(String className, double probability, BoundingBox boundingBox)
      Constructs a bounding box with the given data.
      Parameters:
      className - name of the type of object
      probability - probability that the object is correct
      boundingBox - the location of the object
  • Method Details