Computer vision, defined
The terms between a folder of images and a deployed model, in plain language: annotation shapes, dataset formats, training, metrics, and inference.
Annotation & labeling
The shapes and labels you draw on an image to teach a model what to look for.
- Annotation
- An annotation is a label attached to an image that records what is present and, for most types, where it is - a box, polygon, keypoint, or class. Annotations are the supervised signal a computer vision model learns from. Auto-annotate with SAM3
- Bounding box
- A bounding box is an axis-aligned rectangle - x, y, width, height - that marks where an object sits in an image. It is the standard annotation for object detection. Detection datasets and models
- Oriented bounding box (OBB)
- An oriented (rotated) bounding box adds an angle to a box so it can tightly wrap objects that are not axis-aligned, such as aerial imagery, ships, or rotated text.
- Polygon
- A polygon is a closed multi-vertex outline that traces an object’s exact shape. Polygons are the ground-truth input for instance segmentation and are far tighter than a box for irregular objects.
- Polyline
- A polyline is an open, multi-point line used to annotate linear features that have no area - lane markings, cracks, wires, or road centerlines.
- Keypoint
- A keypoint is a single labeled point (x, y) marking a landmark such as a joint or corner. Keypoints of one object share an instance id and connect through a class skeleton to form a pose.
- Segmentation mask
- A segmentation mask assigns a class to every pixel of an image (or of one object), giving pixel-precise boundaries instead of a coarse box.
- Semantic segmentation
- Semantic segmentation labels every pixel with a class but does not separate individual objects - all the "car" pixels are one region, whether there is one car or ten.
- Instance segmentation
- Instance segmentation labels every pixel with both a class and an object instance, so two overlapping cars are two distinct masks. It combines detection and segmentation.
- Class
- A class is a category a model can predict - "car", "pedestrian", "defect". The set of classes is the vocabulary you define for a dataset and the model learns.
- Auto-annotation
- Auto-annotation is model-assisted labeling: a foundation model such as SAM3 proposes masks or boxes that a human accepts or corrects, turning hours of manual work into minutes of review. How auto-annotation works
- SAM3 (Segment Anything 3)
- SAM3 is Meta’s promptable segmentation model: given an image and a short phrase, a box, or a few points, it returns a mask for every matching object, with no training. Its masks are good drafts, which is why it is used to pre-label datasets that a person then reviews before training a faster task-specific model. The SAM3 API
- Active learning
- Active learning is a labeling strategy that surfaces the most informative unlabeled images first - the ones the current model is least sure about - so you reach a target accuracy with fewer labels.
- Ground truth
- Ground truth is the set of human-verified, correct annotations for an image. It is what a model is trained against and what its predictions are scored against during evaluation.
Datasets & formats
How labeled images are organized, split, and exchanged between tools.
- Dataset
- A dataset is a collection of images together with their annotations, used to train and evaluate a model. Its quality and balance usually matter more than the choice of model architecture. Browse public datasets
- COCO format
- COCO is a widely used JSON annotation schema that captures bounding boxes, segmentation polygons, and keypoints in one file. Most detection and segmentation tooling reads or writes it.
- YOLO format
- The YOLO format stores one plain-text file per image, each line a class id plus a normalized center-x, center-y, width, and height. It is the native input for YOLO-family training.
- Pascal VOC
- Pascal VOC is an older per-image XML annotation format that stores object classes and bounding boxes. It is still a common interchange format for detection datasets.
- Dataset split
- A dataset split partitions images into training, validation, and test sets. The model learns from train, is tuned against validation, and is scored once on the held-out test set to estimate real-world accuracy.
- Class imbalance
- Class imbalance is when some classes have far more labeled examples than others, biasing a model toward the common classes and hurting recall on the rare ones.
- Data augmentation
- Data augmentation synthesizes new training examples by transforming existing ones - flips, crops, rotations, color shifts - to expand a small dataset and make the model more robust.
- Export
- An export is a point-in-time, format-specific package of a dataset’s images and annotations (COCO, YOLO, VOC, and more). Exports are reproducible snapshots you can archive or feed to training.
Models & training
The architectures you train and the knobs that control how they learn.
- Object detection
- Object detection locates and classifies each object in an image with a bounding box and a class label. It answers "what is here and where" rather than just "what is here".
- YOLO / YOLOX
- YOLO ("You Only Look Once") is a family of fast, single-stage object detectors. YOLOX is an anchor-free variant that pairs strong accuracy with real-time speed, making it a common production default. YOLOX vs RF-DETR
- RF-DETR
- RF-DETR is a transformer-based (DETR-style) detector and segmenter that predicts objects as a set, with no anchor boxes or non-maximum suppression. It trades some speed for strong accuracy on dense scenes. When to pick RF-DETR
- Transfer learning
- Transfer learning starts from a model already pretrained on a large general dataset and adapts it to your task, so you need far fewer labeled images to reach good accuracy.
- Fine-tuning
- Fine-tuning is continuing to train a pretrained model on your own dataset, adjusting its weights to your specific classes and imagery. It is the practical way to train a custom model with limited data. Train a custom model
- Epoch
- An epoch is one full pass of the training algorithm over every image in the training set. Training usually runs for many epochs, and too many can lead to overfitting. Where an RF-DETR epoch goes, measured
- Batch size
- Batch size is how many images the model processes before it updates its weights once. Larger batches give smoother updates but use more GPU memory.
- Overfitting
- Overfitting is when a model memorizes quirks of the training set instead of learning general patterns, so it scores well on train but poorly on new images. A validation set is how you detect it.
- Confidence threshold
- A confidence threshold is the minimum prediction score at which a detection is kept. Raising it favors precision (fewer false positives); lowering it favors recall (fewer misses).
- Non-maximum suppression (NMS)
- Non-maximum suppression removes duplicate, overlapping detections of the same object, keeping only the highest-scoring box per cluster. It is a standard post-processing step for detectors.
Accuracy metrics
The numbers that tell you whether a model is actually good.
- IoU (Intersection over Union)
- IoU measures how well a predicted box or mask overlaps the ground truth: the area of their intersection divided by the area of their union. An IoU of 1.0 is a perfect match; a detection usually counts as correct above 0.5.
- Precision
- Precision is, of all the predictions a model made, the fraction that were correct. High precision means few false positives.
- Recall
- Recall is, of all the true objects present, the fraction the model actually found. High recall means few misses.
- mAP (mean Average Precision)
- mAP is the standard object-detection accuracy metric. It averages the precision-recall curve across every class and, often, across a range of IoU thresholds - a single number summarizing overall detection quality.
- F1 score
- The F1 score is the harmonic mean of precision and recall, giving a single balanced number that is only high when both are high.
Inference & deployment
Turning a trained model into predictions your application can call.
- Inference
- Inference is running a trained model on new, unlabeled images to produce predictions - boxes, masks, or classes. It is the "use the model" step, as opposed to training it.
- ONNX
- ONNX (Open Neural Network Exchange) is an open, portable model format. Exporting a model to ONNX lets it run across many runtimes and hardware targets without the original training framework.
- Deployment
- A deployment is a hosted, always-on inference endpoint you call over an API to get predictions on demand, without managing GPUs yourself. Model deployments
- Edge inference
- Edge inference runs a model locally - on a device, camera, or on-prem server - instead of in the cloud, for low latency, offline operation, or data-privacy reasons. Run models locally
Real-time video & tracking
Running a model on live video: the protocols that carry it, what makes it fast, and how detections become counts.
- Real-time inference
- Real-time inference runs a model on each frame of live video fast enough to keep up with it, so a result arrives while the moment still matters - typically within tens of milliseconds of the frame being captured, rather than after a batch job finishes. Stream live video to a model
- Latency
- Latency is the time from a frame being captured to its result being available. For live video it matters more than average speed: a pipeline that queues frames when it falls behind can report every result seconds late while still processing many frames per second. Measured latency on T4 and L4 GPUs
- Throughput (FPS)
- Throughput is how many frames per second a model can process. Batching frames together raises throughput but adds latency, so offline video jobs batch heavily while live streams process each frame as it arrives.
- TensorRT
- TensorRT is NVIDIA’s compiler and runtime for running a trained network fast on a specific GPU. It fuses layers, picks the fastest kernels for that GPU, and can run in FP16, producing an engine (a plan) that is built once per GPU type and reused. TensorRT deployments
- FP16 (half precision)
- FP16 stores and computes numbers in 16 bits instead of 32. On GPUs with tensor cores it can make inference several times faster and halves memory use; results usually stay very close to FP32, but they should be checked on real images before a model ships.
- RTSP
- RTSP (Real Time Streaming Protocol) is how most IP and security cameras serve live video: a client connects to an rtsp:// URL and the camera streams to it. A vision service can pull an RTSP camera directly instead of each camera pushing video somewhere. Detect objects on an RTSP camera
- WebRTC (WHIP and WHEP)
- WebRTC is the low-latency video protocol browsers and phones use for calls. WHIP and WHEP are simple HTTP handshakes for sending a WebRTC stream to a server (WHIP) and playing one back (WHEP), so a webcam can stream to a model from a web page without plugins. Stream a webcam over WebRTC
- Multi-object tracking
- Multi-object tracking links a detector’s boxes across frames so each object keeps one ID while it is in view. Tracking is what turns per-frame detections into answers about objects over time: how many crossed, how long they stayed. Tracking in workflows
- ByteTrack
- ByteTrack is a fast multi-object tracker that matches detections to existing tracks by box overlap and predicted motion, and also uses low-confidence detections in a second matching pass so objects are not lost when they are briefly occluded or blurred.
- BoT-SORT
- BoT-SORT builds on the same matching idea as ByteTrack and adds camera-motion compensation, estimating how the whole frame moved so tracks hold when the camera pans or shakes. That makes it the better choice for moving cameras, at some extra cost per frame.
- Line crossing
- Line crossing counts tracked objects as they cross a virtual line drawn on the frame, usually in each direction separately - people through a door, vehicles past a stop line. It needs tracking, so the same object is counted once. Count line crossings
- Dwell time
- Dwell time is how long a tracked object stays inside a zone drawn on the frame, such as a queue, a checkout, or a loading bay. Occupancy, its companion measure, is how many tracked objects are in the zone at a given moment. Measure dwell time
- Cold start
- A cold start is the delay when an endpoint that has scaled to zero receives a request and must start a container and load its model first. Keeping a minimum number of containers warm removes it, at the cost of paying for idle time. Deployment scaling
From glossary to working model
Pictograph is where you use them: draft labels with SAM3 and review them, train YOLOX or RF-DETR on your own classes, measure mAP and IoU, and deploy an inference API, from the app or a CLI your agent drives. Free to start, no card.