# Detekcja z transformerem (DETR)

EN: **Transformer-based object detection (DETR)** · id `detrdetectors`

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Język, obraz, audio](https://aiatlasgraph.com/t/modalities.md) › [Widzenie komputerowe](https://aiatlasgraph.com/t/visionnode.md) › [Detekcja obiektów](https://aiatlasgraph.com/t/objectdetection.md) › Detekcja z transformerem (DETR)

## Description

- PL: Detekcja jako bezpośrednie przewidywanie zbioru obiektów przez transformer, bez ręcznych kotwic i filtrowania NMS.
- EN: Detection as direct set prediction by a transformer, without hand-designed anchors or NMS post-processing.

## In one sentence

- PL: To modele szukające obiektów przez wspólne rozpatrywanie całego obrazu i przewidywanie ich zestawu.
- EN: These models find objects by considering the whole image together and predicting a set of detections.

## Problem it solves

- PL: Wykrywanie obiektów bywa obciążone wieloma dodatkowymi regułami i powtarzającymi się wskazaniami tej samej rzeczy.
- EN: Object detection can involve many extra rules and repeated detections of the same thing.

## What it does

- PL: Podczas nauki przewidywane obiekty są dopasowywane do oznaczonych przykładów tak, żeby każde wskazanie miało własną rolę.
- EN: During training, predicted objects are matched to labelled examples so each detection has its own role.

## Everyday example

- PL: Model ogląda zdjęcie stołu i wskazuje osobno kubek, talerz oraz łyżkę.
- EN: A model examines a table photo and separately identifies a cup, a plate and a spoon.

## This concerns you if you…

- PL: szukasz kilku różnych rzeczy na jednym obrazie
- PL: porównujesz sposoby budowy detektorów
- EN: look for several different objects in one image
- EN: compare ways of building object detectors

## Keywords

DETR · RT-DETR · Deformable DETR · object queries · Hungarian matching · set prediction

## How it works

- PL: Zapytania obiektowe transformera przewidują zbiór ramek i klas równolegle. Dopasowanie jeden do jednego między predykcjami a anotacjami definiuje stratę, ucząc unikalne wykrycia zamiast ręcznego układania kotwic.
- EN: Transformer object queries predict a set of boxes and classes in parallel. One-to-one matching between predictions and annotations defines the loss, teaching unique detections instead of manually constructing anchors.

## Limits

- PL: Dopasowanie zbiorów i uwaga mogą być kosztowne. Liczba slotów ogranicza wykrycia, a małe obiekty wymagają odpowiedniej reprezentacji rozdzielczości.
- EN: Set matching and attention can be costly. Slot counts limit detections, while small objects need suitable resolution representations.

## Key terms

- PL: **object query**: Wyuczony wektor reprezentujący slot potencjalnego wykrycia obiektu.
- PL: **bipartite matching**: Dopasowanie predykcji do anotacji bez przypisywania kilku wykryć jednemu obiektowi.
- EN: **object query**: A learned vector representing a potential object-detection slot.
- EN: **bipartite matching**: Matching predictions to annotations without assigning multiple detections to one object.

## Know first

- [Transformery i attention (Transformers and attention)](https://aiatlasgraph.com/t/transformers.md)
- [Metryki klasyfikacji i regresji (Classification and regression metrics)](https://aiatlasgraph.com/t/classmetrics.md)

## Examples

- PL: DETR · dopasowanie dwudzielne · RT-DETR
- EN: DETR · bipartite matching · RT-DETR

## Related topics

Untyped, symmetric "see also" links.

- [Mapy budowane w locie z czujników (Online vectorised HD map construction)](https://aiatlasgraph.com/t/onlinemapping.md)
- [Transformery i attention (Transformers and attention)](https://aiatlasgraph.com/t/transformers.md)

## Sources

- [Hugging Face · Community Computer Vision Course — syllabus](<https://huggingface.co/learn/computer-vision-course/unit0/welcome/welcome>) `hf-cv-course` · by Hugging Face i społeczność
- [End-to-End Object Detection with Transformers (DETR)](<https://arxiv.org/abs/2005.12872>) `carion-detr-2020` · by Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, Sergey Zagoruyko

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/detrdetectors · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
