yolov5

Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.

58.3k
Stars
+2.3k
Gained
4.2%
Growth
Python
Language

💡 Why It Matters

YOLOv5 addresses the need for fast and accurate object detection, instance segmentation, and image classification within a single PyTorch-based framework. Unlike other models that may focus solely on detection or require extensive tuning, YOLOv5 offers a balance of speed and accuracy with an emphasis on ease of use and deployment. Its architecture benefits from years of research distilled into a lightweight, performant codebase that supports multiple computer vision tasks and exports to formats like ONNX and TensorRT. Backend engineers and ML practitioners benefit most, especially those integrating vision models into APIs or edge devices. With over 58,000 stars and recent commits as of late 2026, it is mature and stable, showing slow but steady growth. It is not the best choice if you require the absolute latest architectures or advanced features like pose estimation or oriented bounding boxes, for which Ultralytics' newer ultralytics package might be more appropriate.

🎯 When to Use

Choose YOLOv5 when you need a reliable, well-documented model for object detection or segmentation with straightforward training and deployment in PyTorch. If your use case demands newer model architectures or additional tasks such as pose estimation, consider the ultralytics package instead, as it consolidates the latest Ultralytics YOLO models and features.

👥 Team Fit & Use Cases

YOLOv5 is commonly integrated into systems requiring real-time or near-real-time object detection, such as video surveillance, autonomous vehicles, or retail analytics. It also fits into backend pipelines for image classification or segmentation tasks where ease of deployment and model export options are important.

🎭 Best For

⚖️ Compare With

🏷️ Topics & Ecosystem

computer-vision coreml deep-learning image-classification inference instance-segmentation model-export model-training object-detection onnx pytorch tensorrt tflite ultralytics yolo yolov5

📊 Activity

Latest commit: 2026-11-16. Over the past 373 days, this repository gained 2.3k stars (+4.2% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.