View Source API Reference YOLO v0.2.0
Modules
This module provides the main entry point and library context for YOLO object detection in Elixir. It delegates to the underlying model and utility modules for most functionality.
Behaviour module defining callbacks for part of the image preprocessing required by YOLO models.
Provides functions for resizing images while preserving aspect ratio and handling padding to reach target dimensions.
Implementation of the YOLO.FrameScaler
behaviour for Evision.Mat
objects (:evision
library).
Implementation of the YOLO.FrameScaler behaviour for Vix.Vips.Image objects (:image
library).
FrameScaler
for when the input image is already a tensor with shape {height, width, 3}
and no scaling is needed because width and height already match the model input size.
This is useful when calling YOLO.detect/3
with a tensor that already matches the
expected dimensions.
Stores image scaling and padding configuration used during YOLO model preprocessing.
Defines a behaviour for implementing YOLO object detection models.
This module handles loading YOLO models and running object detection on images.
The YOLO.Model
behaviour can be implemented for various YOLO variants.
The supported models are
Ultralytics model implementation for preprocessing input images and postprocessing detections using non-maximum suppression (NMS).
YOLOX model implementation for preprocessing input images and postprocessing detections using non-maximum suppression (NMS).
Elixir NMS (Non-Maximum Suppression)
Utils to transform the model input and output.