YOLO26 Object Detection
Use the YOLO26 model family through our Serverless Cloud API
YOLO26 Object Detection
Code sample
1
export ROBOFLOW_API_KEY="your-key-here"2
pip install -U inference-sdk supervision opencv-python3
import os
import cv2
import supervision as sv
from inference_sdk import InferenceHTTPClient
image_url = "https://media.roboflow.com/quickstart/traffic.jpg"
image = sv.load_image_from_url(image_url)
client = InferenceHTTPClient(
api_url="https://serverless.roboflow.com",
api_key=os.environ["ROBOFLOW_API_KEY"],
)
result = client.infer(image, model_id="yolo26n-640")
detections = sv.Detections.from_inference(result)
annotated = sv.BoxAnnotator().annotate(image.copy(), detections)
annotated = sv.LabelAnnotator().annotate(annotated, detections)
cv2.imwrite("traffic-annotated.png", annotated)
Pretrained models and benchmarks
Alias
Input Size
mAP50-95
ONNX latency (ms)*
TensorRT FP16 (ms)*
YOLO26 Instance Segmentation
Code sample

Pretrained models and benchmarks
Alias
Input Size
Box mAP50-95
Mask mAP50-95
ONNX latency (ms)*
TensorRT FP16 (ms)*
YOLO26 Keypoint Detection
Code sample

Pretrained models and benchmarks
Alias
Input Size
mAP50-95
ONNX latency (ms)*
TensorRT FP16 (ms)*
YOLO26 Semantic Segmentation
Pretrained models and benchmarks
Alias
Input Size
ONNX latency (ms)*
Last updated
Was this helpful?