jarvissan22/yolo_tracker
Run jarvissan22/yolo_tracker with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| video |
string
|
Input video file (MP4 / AVI / MOV).
|
|
| model_weights |
string
|
yolo11m.pt
|
YOLO weights. Named model ('yolo11m.pt'), HTTPS URL, s3:// URI, or absolute container path.
|
| tracker_config |
None
|
bytetrack.yaml
|
YOLO tracker config.
|
| conf |
number
|
0.2
Min: 0.01 Max: 1 |
Detection confidence threshold.
|
| iou |
number
|
0.7
Min: 0.01 Max: 1 |
IoU threshold for NMS.
|
| max_det |
integer
|
600
Min: 1 Max: 3000 |
Maximum detections per frame.
|
| max_frames |
integer
|
1000
|
Cap on frames to process (0 = no cap).
|
| color_palette |
string
|
[[255, 0, 0], [0, 0, 255], [0, 255, 0], [0, 255, 255], [0, 128, 255], [128, 0, 128], [255, 0, 255], [0, 255, 128], [255, 255, 0], [128, 128, 0], [255, 128, 0], [128, 0, 0], [0, 128, 0], [0, 0, 128], [128, 128, 128], [255, 255, 255], [128, 128, 255], [255, 128, 255], [128, 255, 128], [255, 255, 128], [128, 255, 255]]
|
JSON array of [R, G, B] colours used to draw bounding boxes. Colour is chosen by class_id %% len(palette). Example: '[[255,0,0],[0,255,0],[0,0,255]]'
|
| box_thickness |
integer
|
2
Min: 1 Max: 10 |
Thickness (px) of bounding-box rectangle lines.
|
| jpeg_quality |
integer
|
75
Min: 1 Max: 100 |
JPEG quality for annotated frame thumbnails (1–100). Lower = smaller payload, faster streaming.
|
{
"type": "object",
"title": "Input",
"required": [
"video"
],
"properties": {
"iou": {
"type": "number",
"title": "Iou",
"default": 0.7,
"maximum": 1,
"minimum": 0.01,
"x-order": 4,
"description": "IoU threshold for NMS."
},
"conf": {
"type": "number",
"title": "Conf",
"default": 0.2,
"maximum": 1,
"minimum": 0.01,
"x-order": 3,
"description": "Detection confidence threshold."
},
"video": {
"type": "string",
"title": "Video",
"format": "uri",
"x-order": 0,
"description": "Input video file (MP4 / AVI / MOV)."
},
"max_det": {
"type": "integer",
"title": "Max Det",
"default": 600,
"maximum": 3000,
"minimum": 1,
"x-order": 5,
"description": "Maximum detections per frame."
},
"max_frames": {
"type": "integer",
"title": "Max Frames",
"default": 1000,
"minimum": 0,
"x-order": 6,
"description": "Cap on frames to process (0 = no cap)."
},
"jpeg_quality": {
"type": "integer",
"title": "Jpeg Quality",
"default": 75,
"maximum": 100,
"minimum": 1,
"x-order": 9,
"description": "JPEG quality for annotated frame thumbnails (1\u2013100). Lower = smaller payload, faster streaming."
},
"box_thickness": {
"type": "integer",
"title": "Box Thickness",
"default": 2,
"maximum": 10,
"minimum": 1,
"x-order": 8,
"description": "Thickness (px) of bounding-box rectangle lines."
},
"color_palette": {
"type": "string",
"title": "Color Palette",
"default": "[[255, 0, 0], [0, 0, 255], [0, 255, 0], [0, 255, 255], [0, 128, 255], [128, 0, 128], [255, 0, 255], [0, 255, 128], [255, 255, 0], [128, 128, 0], [255, 128, 0], [128, 0, 0], [0, 128, 0], [0, 0, 128], [128, 128, 128], [255, 255, 255], [128, 128, 255], [255, 128, 255], [128, 255, 128], [255, 255, 128], [128, 255, 255]]",
"x-order": 7,
"description": "JSON array of [R, G, B] colours used to draw bounding boxes. Colour is chosen by class_id %% len(palette). Example: '[[255,0,0],[0,255,0],[0,0,255]]'"
},
"model_weights": {
"type": "string",
"title": "Model Weights",
"default": "yolo11m.pt",
"x-order": 1,
"description": "YOLO weights. Named model ('yolo11m.pt'), HTTPS URL, s3:// URI, or absolute container path."
},
"tracker_config": {
"enum": [
"bytetrack.yaml",
"botsort.yaml",
"strongsort.yaml",
"ocsort.yaml",
"deepocsort.yaml"
],
"type": "string",
"title": "tracker_config",
"description": "YOLO tracker config.",
"default": "bytetrack.yaml",
"x-order": 2
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string"
},
"title": "Output",
"x-cog-array-type": "iterator"
}