Object Detection.
100% MIT Licensed.
LibreYOLO, the YOLO library. Making YOLO accessible again, the way its creators always intended it to be. A modern, MIT-licensed engine for training and deploying state-of-the-art object detection.
Support LibreYOLO
The best way to help is to star the repo. If you hit a problem or have a suggestion, open an issue, and code contributions are very welcome.
Questions, training crashes, and release news get discussed on r/LibreYOLO. Come say hi.
One API.
23 tasks.
Detection, segmentation, pose, depth, OCR and more. Select a task to see the model output and available models.
Segmentation
16 modelsGet a separate pixel mask for each detected object.
One library, the whole workflow
Train, validate, export, and deploy detection models from one permissive, MIT-licensed package.
Truly MIT
No AGPL anywhere in the dependency chain. Use it in closed-source products, SaaS, embedded systems.
144 families, 23 tasks
RF-DETR, D-FINE, DEIM, EdgeCrafter, RT-DETR, YOLOv9, YOLOX, SAM 3, Depth Anything 3, OCR, and VLMs behind one LibreYOLO() call.
Batteries included
Any input format: paths, URLs, PIL, NumPy, OpenCV, tensors, bytes. Tiled inference for large images. Auto-download weights from HuggingFace.
Train
Fine-tune on custom YOLO or COCO datasets with built-in augmentation, mixed precision, and early stopping. Resume from any checkpoint.
Validate
COCO-standard evaluation with mAP50, mAP50-95, precision, and recall on COCO or custom datasets. Per-class metrics and confusion matrix out of the box.
Quantize & export
Built-in PyTorch quantization (9 recipes, QAT, QAD) and 13 export formats including ONNX, TensorRT, OpenVINO, CoreML, TFLite, ExecuTorch, and Axelera.
What the Community Says
“You have my hearty support for this. I'll be so happy when there is a good, community maintained, MIT licensed alternative to Ultralytics.”
u/Covered_in_bees_
“You have my hearty support for this. I'll be so happy when there is a good, community maintained, MIT licensed alternative to Ultralytics.”
u/Covered_in_bees_
“This is so cool bro. If I see some place I can contribute, I will definitely do so!”
u/FedStan
“This looks like a really good project, and I hope you are able to realize the full vision you seem to have for it. Very exciting.”
u/CalmBet
LibreYOLO is a huge effort. Messages like these keep us going.
