Testing (formerly the Frame Extractor's Model Lab) measures and compares YOLO weights on your data. It is a tool of Image QC's Models tab (Ctrl+Alt+L), not of the Frame Extractor, and it never controls the player (6 · Review videos only hands a playlist over). It works in five steps, shown as a stepper across the top of the window. Each step shows a ✓, a warning or an error icon, and a bar under its title explains any problem with a button that fixes it.
.aio_qc/predictions.db): Model Check uses Testing's predictions of the same weights
(same image size and SAHI setting) instead of running the model again..aio_qc/testing_excluded.json)..aio_qc/testing.fxlab) and comes back when
Testing opens on it; any other .fxlab (also from the standalone FrameExtractor) still opens with Project ▸ Open.A project (.fxlab) remembers the whole set-up — test data, videos, models and their colours, run options and
report settings. The start page (⌂ Projects) lists recent projects with their best model and score; reopening one shows its
results again in seconds, because predictions are cached. The open session is saved automatically, so closing the window never
loses work. Project ▸ New (Ctrl+N), Open (Ctrl+O),
Save (Ctrl+S).
data.yaml or an .fxlab file anywhere on the
window; each goes where it belongs.Choose what every model is measured on:
| Option | When to use it |
|---|---|
| This dataset (Image QC) | The dataset open in Image QC (the default when one is open). |
| Test set from videos | Build a reusable set of frames from any number of videos (each with an optional time range such as
1:00-4:30) and image folders. Sampling: a frame every N seconds, every N-th frame, N per video or all frames; at most N per
video; minimum sharpness. Unique frames removes duplicates inside each video and across all of them — a scene that
repeats an hour later, or in another camera's video, is kept once. The folder opens in any YOLO tool (it has a data.yaml),
and next month's model can be measured on exactly the same frames. |
| Labelled dataset | An existing YOLO folder (images/ + labels/), LabelMe JSON next to the images, or a
data.yaml (its val split). |
| Videos only | No accuracy on images — analyse whole videos for behaviour (below). |
Labels are optional. To measure true accuracy: Pre-label with a model → open the folder in your labelling tool and fix the boxes → the files you edit count as ground truth automatically. Mark pre-labels reviewed accepts the rest. Until then, unreviewed pre-labels are left out of scoring — otherwise a model would be scored against its own predictions.
Each model also runs over whole videos (a frame every N seconds) to show how it behaves where nobody has labelled anything: detections over time, flicker (an object disappears for a frame or two), blips (an object seen for one or two samples), agreement between models, and the moments they disagree most. Long videos stay fast: at most 20,000 samples are taken per video (the interval grows automatically), and frames far apart are reached by seeking rather than decoding everything — an hour of video with two models takes about a minute, and is instant from the cache afterwards.
Add any number of weights (.pt, .onnx, .engine). Each keeps its colour in every chart, image,
report and annotated video. Classes are matched to the test data by name, so models trained with different class orders
compare correctly; Check models shows the match and any classes that will be ignored.
Every model runs on every image in batches. Predictions are cached: stop at any time and continue later; a model already run on these images costs nothing, even after you rename its file.
| Tab | Shows |
|---|---|
| Overview | A plain-language verdict, headline numbers and the leaderboard (double-click a model to see its failures). |
| Charts | Precision–recall and F1 curves, AP per class, error types, recall by object size, speed vs accuracy, class balance. Hover for values; Save on a chart saves it as PNG or SVG, Save all charts… saves the whole tab into a folder. |
| Confusion matrix | Per model: rows = what is really there, columns = what the model said; background collects false detections (row) and missed objects (column). |
| Per class | AP50, AP50-95, precision, recall, F1, correct / false / missed for every class, weakest first. |
| Failures | The images with the most errors, drawn and zoomed to the errors, filtered by error type and class. Double-click to view full size; right-click to save the plotted image. |
| Plots | Every test image with a model's detections drawn — boxes in the model's colour with class 0.87 labels (in Inter), optionally the ground truth or the errors in red. Filter by class, sort by detections, pick the thumbnail size. Double-click to view full size; Save image…, Save selected… or Save all… write full-resolution PNG / JPG files. |
| Compare A / B | Two models head to head: difference per class, curves, both confusion matrices and the images where each wins. |
| Videos | Detections over time, agreement between models, stability table and a list of moments — double-click one (or click the timeline) to see that frame plotted. Testing never opens videos in the main player, so it can't interfere with your playback. |
With No images - videos only, the frames sampled from your videos fill every tab (up to 6,000 frames, spread evenly over all videos). With two or more models and a reference model chosen on the Run page, the others are scored against it: Overview, Charts, Confusion matrix, Per class and Failures show where each one disagrees with the reference, and Compare A / B shows a model next to the reference (what it misses, what it finds that the reference does not). This is agreement, not true accuracy. With one model, or no reference, the tabs that need an answer key say so, and Plots and Videos still show everything.
The threshold control at the top updates the error counts, confusion matrices and galleries live. Results are calculated in the background and only for the tab you are looking at, so the window stays responsive with large test sets.
Click a confusion-matrix cell, a class bar or an error-type bar and the Failures tab opens filtered to exactly those images (for example person predicted as car). The filter shows as a chip at the top — ✕ Clear filter removes it. Clicking a moment on a video timeline shows that frame plotted.
When a “failure” is really a labelling mistake, double-click it in Failures (or right-click ▸ Fix labels…) and correct it: delete a box (Del), change its class, draw a missing box, or accept a detection as ground truth. Leave this image out of scoring excludes a bad image without touching the dataset. Changes are saved to the label files (YOLO lines and LabelMe shapes keep everything else they contain) and the scores update at once.
Plotted images and chart labels use the Inter typeface; the rest of the window uses the app's font. Saved plots look exactly like what you see, and annotated videos use the same labels.
Side by side… on the Compare tab (or right-click a failure ▸ Compare with another model…) shows the same image for two models side by side. Zoom and pan are linked; toggle ground truth, use each model's own threshold or one fixed value, and step through the images with the arrow keys. Save image… saves both plots side by side.
One HTML file with every chart, table and image inside — it opens in any browser, supports light and dark, and prints well. Summary is one page for a decision; Detailed has everything; Comparison puts two models head to head; Video behaviour covers the label-free analysis. metrics.json, per_class.csv and per_image.csv are written next to it for your own analysis. Export annotated video draws up to four models on a video.
1:00-4:30 to limit it).Watch the models at work on whole videos: Review in player plays the videos one after another in the Frame Extractor with every model's boxes drawn on the video. Testing only sends the playlist (videos, models, settings) - the player does the rest and never interferes with Testing.
1:30, 90). ↑ ↓ set the order..pt file new to the app is flagged (it can run code when loaded);
an .engine runs only on the GPU / TensorRT it was built for.In the player, the Review playlist panel shows each video's state, what the analysis is doing ("every frame", "every 2nd frame + interpolated · backfilling 63 %", "4.2 s ahead"), Previous / Next, Loop, a switch per model and a live confidence slider (nothing is re-run). A paused frame always gets its own detections. Boxes on frames the models did not see themselves (interpolated) are dashed. Frames are decoded on the CPU with the player's own decoder, so the boxes belong to the exact frame on screen - with the built-in engine and with libmpv. Detections are saved in the prediction cache: a second review, Testing's video analysis and the annotated export reuse them.
Over time. A strip under the seek bar shows each model's detections per frame (one lane per model, grey where nothing is analysed yet) with the events as coloured ticks: models disagree (a box of one model has no same-class box of another), flicker (a model loses an object for one frame) and uncertain (a box just below the threshold). Classes are compared by name, so models with different class orders compare correctly. Click the strip to seek; the event list and Alt+[ / Alt+] jump between events. Classes hides classes in the player; CSV… saves every detection of the video.
Send hard frames to Image QC… picks the frames worth labelling - where the models disagree, flicker or hesitate, strongest first and spread out (at most N per video, at least S seconds apart) - saves them in the output folder with LabelMe pre-labels from the model you choose, remembers each frame's video (Image QC ▸ Show Source Video) and opens them in Image QC: from a review to the next training round in one step. End review (or the end of the playlist) brings back the video that was open before, at its frame; opening another video by hand ends the review too.
See Metrics explained for what every number means.