Add object detection to your app to automatically find and label specific items in photos or video
Fine-tune the model on your own labeled dataset so it detects custom objects unique to your project
Run instance segmentation to trace the exact outline of each detected object, not just a bounding box
| roboflow/rf-detr | schollz/howmanypeoplearearound | yangchris11/samurai | |
|---|---|---|---|
| Stars | 7,063 | 7,061 | 7,065 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
A GPU is strongly recommended for practical inference speed, CPU-only use is possible but significantly slower.
RF-DETR is a Python library from Roboflow for detecting objects and segmenting their shapes in images and video. Object detection means locating specific things in an image and drawing a box around each one. Instance segmentation goes further and traces the precise outline of each detected object. RF-DETR does both through the same simple interface. The model was accepted at ICLR 2026, a major academic machine learning conference, and achieves top results on COCO, the standard benchmark used to compare object detection models. It is built on a type of neural network called a vision transformer, specifically using a backbone called DINOv2 developed by Meta. Compared to similarly fast models, it offers a strong balance between speed and accuracy. Multiple size variants are available: smaller versions run faster and use less memory, while larger ones achieve higher accuracy. The smaller to medium variants are released under the Apache 2.0 open-source license, while the two largest variants use a more restrictive commercial license. To use RF-DETR, you install it with a single pip command in a Python 3.10 or newer environment. You can then load a pre-trained model and run detection on your own images or video in a few lines of code. The library also supports fine-tuning on your own labeled dataset if you want the model to specialize in detecting particular objects. Roboflow provides a notebook on Google Colab showing the fine-tuning process end to end, and the model can be used directly through a Hugging Face web interface if you want to test it without installing anything. The library integrates with Roboflow's broader tooling for building computer vision applications, but the core detection and segmentation features work independently. A Discord community is available for questions and support.
RF-DETR is a Python library for detecting objects and tracing their precise outlines in images and video, using a vision transformer model that balances speed and accuracy across multiple size variants.
Mainly Python. The stack also includes Python, PyTorch, DINOv2.
Smaller and medium model variants are free for any use under Apache 2.0, the two largest variants require a separate commercial license.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.