---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/PekingU/rtdetr\_v2\_r18vd

Apache-2.0

# rtdetr\_v2\_r18vd

by PekingU

Real-time object detection with no NMS step, at 20M parameters

8likes

20Mparams

[HuggingFace](https://huggingface.co/PekingU/rtdetr_v2_r18vd)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`PekingU/rtdetr_v2_r18vd`

## Deploy rtdetr\_v2\_r18vd

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

RT-DETRv2 is a detection transformer built for real-time use, and the r18vd variant is the small one: 20.2 million parameters, 300 object queries, a 256-dimensional decoder. Because it is a DETR, it predicts a fixed set of objects directly and needs no non-maximum suppression pass, which removes a tuning knob and a source of nondeterminism from the pipeline.

It is trained on COCO, so it detects COCO's 80 classes and nothing else. For a media pipeline that means people, vehicles, animals, furniture and common objects are covered, and your brand's product categories are not. An open-vocabulary detector is the right tool when the label set is yours rather than COCO's.

Where it fits in a retrieval pipeline: detection output is metadata, not a vector. Boxes and labels become filterable fields on the document, so a query can ask for scenes containing a dog, and the ranking within those scenes comes from an embedding model.

## Architecture

RT-DETRv2 detection transformer, ResNet-18 backbone with the vd stem, d\_model 256, 1 encoder layer over the flattened feature map, 300 object queries, 20,209,716 parameters. Trained on COCO (80 classes). The r50vd sibling is the same architecture at 43,019,444 parameters. No NMS post-processing: the 300 queries are the predictions.

## Mixpeek SDK Integration

IngestRetrieve

// Detection output is metadata rather than a vector, so it belongs in the
// document payload where pre\_filters can reach it. Run the model on your side,
// or upload the weights on a single-tenant deployment and have a plugin run it.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "scene-00412-0184",
          // The embedding comes from a visual encoder; this model supplies the
          // labels beside it.
          vectors: { "visual-embedding": yourVector },
          payload: {
            source\_key: "archive/2026/ep-412.mp4",
            start\_ms: 184000,
            detected: \["person", "dog", "bicycle"\],
            detected\_count: 3,
          },
        },
      \],
    }),
  },
);

## Capabilities

*   80 COCO classes with boxes and confidence scores
*   No non-maximum suppression, so no NMS threshold to tune
*   Small enough for frame-rate detection on modest GPUs
*   A 43M-parameter sibling (r50vd) when accuracy matters more than speed

## Use Cases on Mixpeek

Tagging video frames with the objects present, as filterable metadata

Counting people or vehicles per scene for archive analytics

Gating an expensive extractor so it only runs on frames containing something

Region proposals that a crop-and-embed step turns into searchable vectors

## Performance

Input SizeSingle image or video frame

GPU LatencyInput dependent

GPU ThroughputBatch dependent

GPU MemoryModel dependent

Real-time throughput depends on the backbone, the input resolution and the GPU, and we have not measured it here. The paper publishes latency against COCO accuracy for each variant.

## Common Pipeline Companions

[

facebook/dinov3-vitl16-pretrain-lvd1689m

The visual embedding beside the detection labels

](/model/facebook/dinov3-vitl16-pretrain-lvd1689m)[

google/siglip2-base-patch16-224

Open-vocabulary labelling when the classes you need are not in COCO

](/model/google/siglip2-base-patch16-224)

## Frequently Asked Questions

### What can RT-DETRv2 detect?

The 80 COCO classes, because that is what this checkpoint is trained on. It cannot detect a category outside that list, and fine-tuning or an open-vocabulary model is the path when your labels are your own.

### Why is no NMS a big deal?

Non-maximum suppression is a post-processing pass with its own IoU threshold, and that threshold changes your results without appearing in any model metric. A DETR predicts a fixed set of queries directly, so the detector's output is the detector's output.

### r18vd or r50vd?

r18vd at 20.2M parameters is the one most people download, and r50vd at 43.0M trades throughput for accuracy. The architecture, the query count and the interface are identical, so swapping between them is a checkpoint change.

## Explore on Mixpeek

[

Browse all models

Search the full model catalog

](/models)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

OrganizationPekingU

Retriever\-

Parameters20M

LicenseApache-2.0

Downloads/moN/A

Likes8

[

### Research Paper

RT-DETRv2: Improved Baseline with Bag-of-Freebies for Real-Time Detection Transformer

arxiv.org](https://arxiv.org/abs/2407.17140)

### Build a pipeline with rtdetr\_v2\_r18vd

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)