What do you want to do?
3 use cases
-
Detect objects in images with a pretrained model
Load a COCO pretrained RFDETRMedium, predict on an image URL or file, and draw labeled boxes with supervision.
View prompt
Using roboflow/rf-detr, install it, run RFDETRMedium on every image in <my folder> with threshold 0.5, and save annotated copies plus a CSV of class counts.
-
Get pixel masks with RF-DETR-Seg
Use RFDETRSegMedium for instance segmentation and paint each object's mask with supervision.
View prompt
With roboflow/rf-detr, run RFDETRSegMedium on <my image> and save the masked output, then tell me how many objects of each class it found.
-
Detect human keypoints for pose analysis
Run the preview keypoint model, pretrained on COCO person keypoints, to get body joints from photos.
View prompt
Using roboflow/rf-detr, run RFDETRKeypointPreview on <my photo> with threshold 0.5 and draw the keypoints on the image.
Quick start with RF Detr
- Check you have what it needs: Python >= 3.10 and `pip install rfdetr`; supervision for drawing boxes and masks (used in the README examples); A GPU helps for real-time use, but the examples run on single images.
- Open roboflow/rf-detr on GitHub and read the README and license.
- Install with
pip install rfdetr - Import RFDETRMedium and COCO_CLASSES as in the README Detection example
- Call model.predict on your image with threshold=0.5
- Draw results with sv.BoxAnnotator and sv.LabelAnnotator, and swap the class name to change model size
These steps come from our top use case, Detect objects in images with a pretrained model, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for roboflow/rf-detr
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who need a fast, commercially usable detector without AGPL licensing strings.
- Why it is hot9.9k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/roboflow/rf-detr ยท Back to Hot repos
Requirements
- Python >= 3.10 and `pip install rfdetr`
- supervision for drawing boxes and masks (used in the README examples)
- A GPU helps for real-time use, but the examples run on single images
Add this badge to your README
Maintain RF Detr? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/roboflow-rf-detr/?utm_source=github&utm_medium=badge&utm_campaign=roboflow-rf-detr)
HTML
<a href="https://dedupedai.com/use-cases/roboflow-rf-detr/?utm_source=github&utm_medium=badge&utm_campaign=roboflow-rf-detr"><img src="https://dedupedai.com/badge/roboflow/rf-detr.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about RF Detr
What is RF Detr?
RF-DETR is Roboflow's real-time transformer for object detection, instance segmentation and keypoint detection (preview), built on a DINOv2 backbone. One Python API covers model sizes from Nano to 2XLarge, results come back as supervision Detections, and the base `rfdetr` package and its Nano to Large detection, Seg and Keypoint models are Apache 2.0. It is an open-source project on GitHub: https://github.com/roboflow/rf-detr.
How do I use RF Detr?
Install with pip install rfdetr; then import RFDETRMedium and COCO_CLASSES as in the README Detection example; call model.predict on your image with threshold=0.5. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is RF Detr for?
Developers who need a fast, commercially usable detector without AGPL licensing strings.
What can I do with RF Detr?
3 use cases so far, for example: Detect objects in images with a pretrained model; Get pixel masks with RF-DETR-Seg; Detect human keypoints for pose analysis. Each has steps and a copy-paste agent prompt.
What do I need to run RF Detr?
Python >= 3.10 and `pip install rfdetr`; supervision for drawing boxes and masks (used in the README examples); A GPU helps for real-time use, but the examples run on single images.
What are alternatives to RF Detr?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is RF Detr safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.