Class YoloDetector

java.lang.Object
org.episteme.core.media.vision.detection.YoloDetector

public class YoloDetector extends Object
Wrapper for YOLO (You Only Look Once) Object Detection models.

Uses ONNXRuntimeBackend to execute YOLOv8 models. Provides sophisticated pre-processing and post-processing (NMS).

Since:
2.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • YoloDetector

      public YoloDetector(Path modelPath, List<String> labels)
  • Method Details

    • detect

      public List<YoloDetector.Detection> detect(Path imagePath)
      Detects objects in an image.
      Parameters:
      imagePath - path to the input image.
      Returns:
      list of detected objects.