---
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)/[Detection & Recognition](/models?category=detection)/facebook/detr-resnet-50

HFObject Detectionapache-2.0

# detr-resnet-50

by facebook

End-to-end object detection with Transformers, no anchor boxes needed

586Kdl/month

969likes

42Mparams

[HuggingFace](https://huggingface.co/facebook/detr-resnet-50)[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

`facebook/detr-resnet-50`

## Deploy detr-resnet-50

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

DETR (DEtection TRansformer) reimagines object detection as a set prediction problem, using a transformer encoder-decoder architecture to directly output a set of bounding boxes and class labels without the need for hand-designed components like anchor boxes or non-maximum suppression.

On Mixpeek, DETR extracts structured object annotations from video frames and images, producing bounding boxes with class labels that power attribute-based filtering in retrieval pipelines.

## Architecture

ResNet-50 CNN backbone followed by a 6-layer transformer encoder-decoder. Uses bipartite matching loss (Hungarian algorithm) to assign predictions to ground truth. Outputs 100 object queries in parallel.

## How it runs

.dataflow-R15f6b .df-packets-static{display:none} @media (prefers-reduced-motion: reduce){ .dataflow-R15f6b .df-packets-anim{display:none} .dataflow-R15f6b .df-packets-static{display:inline} .dataflow-R15f6b .df-toggle{display:none} }

Pause

Inference INPUT MODEL OUTPUT Image object detr-resnet-50 mp.inference Detections vector Vector store MVS detr-resnet-50 → embeddings, indexed for search

detr-resnet-50 takes image, and Mixpeek indexes what it emits.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so detr-resnet-50 runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
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: "asset-00412",
          // Boxes, masks, depth maps and anomaly scores are structured
          // results, not vectors. They go in payload and are reachable
          // through pre\_filters on a retriever, not through similarity.
          payload: {
            detections: modelOutput,
            source\_key: "archive/2026/asset-00412",
          },
        },
      \],
    }),
  },
);

// No managed alternative for an open label set. Two extractors do emit a
// bbox, for the one thing each detects: document\_graph\_extractor@v1 per
// layout block, face\_identity\_extractor@v1 per face. Nothing ships that
// returns masks, depth maps or anomaly scores.

## Capabilities

*   91 COCO object categories out of the box
*   Bounding box + class label predictions
*   Panoptic segmentation with extensions
*   No hand-designed post-processing (NMS-free)

## Use Cases on Mixpeek

Video surveillance, detect people, vehicles, objects in security footage

Retail analytics, count and classify products on shelves

Content moderation, identify objects for compliance filtering

Autonomous driving data, annotate frames with detected objects

## Benchmarks

Dataset

Metric

Score

Source

COCO val2017

AP (box)

42.0

Carion et al., 2020: Table 1

COCO val2017

AP50

62.4

Carion et al., 2020: Table 1

COCO val2017

AP (small)

20.5

Carion et al., 2020: Table 1

## Performance

Input Size800×1333 px (max)

GPU Latency~28ms / image (A100)

CPU Latency~340ms / image

GPU Throughput~35 images/sec (A100)

GPU Memory~1.8 GB

## Common Pipeline Companions

[

openai/clip-vit-large-patch14

Visual embedding of detected regions

](/model/openai/clip-vit-large-patch14)[

openai/whisper-large-v3

Transcription for scene context

](/model/openai/whisper-large-v3)[

microsoft/Florence-2-large

Captioning of detected objects

](/model/microsoft/Florence-2-large)

## Explore on Mixpeek

[

More Detection & Recognition models

Compare alternatives in this category

](/models?category=detection)[

Best Computer Vision APIs

Hand-picked tools & platforms compared

](/curated-lists/best-computer-vision-apis)[

Open-Vocabulary Object Detection

Deep-dive technical guide

](/guides/open-vocabulary-object-detection)[

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

FrameworkHF

Organizationfacebook

FeatureObject Detection

Outputbbox + label

Modalitiesvideo, image

RetrieverObject Filter

Parameters42M

Licenseapache-2.0

Downloads/mo586K

Likes969

[

### Research Paper

End-to-End Object Detection with Transformers

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

### Build a pipeline with detr-resnet-50

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)

### Alternative Models

[

hustvl/yolos-tiny

Object Detection

](/model/hustvl/yolos-tiny)[

ultralytics/yolov8n

Object Detection

](/model/ultralytics/yolov8n)[

AILab-CVC/YOLO-World-L

Object Detection

](/model/AILab-CVC/YOLO-World-L)[

IDEA-Research/grounding-dino-base

Object Detection

](/model/IDEA-Research/grounding-dino-base)

### Related in Detection & Recognition

[

deepinsight/insightface-retinaface-r50

Face Detection

](/model/deepinsight/insightface-retinaface-r50)[

timesler/facenet-pytorch

Face Detection

](/model/timesler/facenet-pytorch)[

fal/AuraFace-v1

Face Detection

](/model/fal/AuraFace-v1)[

Idiap/EdgeFace-S-GAMMA

Face Detection

](/model/Idiap/EdgeFace-S-GAMMA)