RF-DETR Large

RF_DETR_LARGE

Detects the 80 everyday object classes of COCO, such as people, vehicles, animals, food and household items, with a box and a score for each. Fine-tune it to detect your own objects.

Vision & Analysisobject-detectionreal-timecocorf-detrapache-2.0Fine-tunable
RF-DETR Large: Vision & Analysis model on Kainguru

About RF-DETR Large

Capabilities

  • 80 COCO classes — people, vehicles, animals, food, furniture and more, each box with a score
  • Your own classes — fine-tune it on your labelled images to detect the objects you care about
  • Plain JSON boxes — corners in pixels of your image, best first

Good to know

  • The model sees the image resized to 704x704 pixels, so very small objects in a large photo can be missed.
  • Its labels are the COCO names: person, bicycle, car, dog, cup, laptop and so on.
  • Images must be PNG, JPEG or WebP, at most 20 MB and 40 megapixels.
  • Fine-tuning takes your images and a JSONL manifest with one {"file", "boxes", "labels"} line per image. Training with only COCO labels keeps all 80 classes; any other label gives a model that knows exactly your labels.
  • A fine-tuning dataset is 4 to 1,000 images, each PNG, JPEG or WebP of at most 20 MB and 40 megapixels, and 4 GB in all, with up to 100 boxes per image and 100 different labels of up to 64 characters.

RF-DETR Large inputs and output

NameTypeRequiredDefaultDetails
imagefileYes—The picture to search: PNG, JPEG or WebP, up to 20 MB and 40 megapixels.
1–2048 characters · image/png, jpeg, webp
thresholdnumberNo—Lowest score to return, 0 to 1; higher returns fewer, surer boxes. Empty uses the model's recommended value.
0–1

Output. JSON array, best first: [{"label": "...", "score": 0.87, "box": [x0, y0, x1, y1]}, ...], box corners in pixels of the image, at most 300 boxes.

Run RF-DETR Large with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=RF_DETR_LARGE" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": "https://example.com/input.png"
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "RF_DETR_LARGE",
        {
          "image": "https://example.com/input.png"
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune RF-DETR Large

You can fine-tune RF-DETR Large on your own data and run the tuned model through the same API. Dataset: Images plus a JSONL manifest, one {"file", "boxes", "labels"} per image: file as its upload returned it, boxes [[x0, y0, x1, y1], ...] in pixels, a label per box. 4 to 1000 images, 100 boxes each, 100 labels of up to 64 characters.

The steps are in the docs.

RF-DETR Large pricing

Price per request: 0.0437 credits ($0.000437). The price is shown again before every run; all prices are on the pricing page.

Licence and source

Docling Layout Heron: Vision & Analysis model on Kainguru
Vision & Analysis

Docling Layout Heron

Finds the layout of a document page, such as text blocks, titles, section headers, tables, pictures, captions…

Fine-tunable
Grounding DINO Base: Vision & Analysis model on Kainguru
Vision & Analysis

Grounding DINO Base

Finds the things you name in a picture, such as "red car, person with a helmet", and returns a box around each one.

Fine-tunable
Moondream 2: Vision & Analysis model on Kainguru
Vision & Analysis

Moondream 2

Moondream 2 is a small vision model: it answers questions about a picture, writes short, normal or long captions and…

Fine-tunable
OWLv2 Base: Vision & Analysis model on Kainguru
Vision & Analysis

OWLv2 Base

Finds the things you name in a picture, even rare or unusual ones, and returns a box around each one.

Fine-tunable
Florence-2 Large: Vision & Analysis model on Kainguru
Vision & Analysis

Florence-2 Large

One small vision model that captions images, reads text, boxes objects and finds things named by a phrase.

Fine-tunable
Deplot: Vision & Analysis model on Kainguru
Vision & Analysis

Deplot

DePlot from Google reads a chart or plot image and returns the data table drawn in it.