Three separated part trays and silhouette plates representing distinct capture groups.

What you need

Use labeled image folders plus a table containing capture date, part instance, scene and camera configuration.

Illustrative source-image split. Train: 700 images; Validation: 150 images; Test: 150 images.
Illustrative source-image split. Original Academy diagram using illustrative values; not a measured hardware result.
Read the diagram as a data table
Values used in the illustration
Condition or componentimages
Train700
Validation150
Test150

The calculation

n_train + n_validation + n_test = n_total

Counts refer to original source images or grouped source units. Augmented variants belong to the same split as their source.

Worked example

Illustrative numbers. Replace them with your measured inputs.

For 1,000 original images, an illustrative 700/150/150 split gives 70%, 15% and 15%. A 30-frame burst should remain in one group; distributing its almost identical images across all three sets can inflate reported performance.

Try it step by step

  1. Create group identifiers for sessions or physical instances and inspect duplicates before assigning any split.
  2. Assign groups while preserving necessary class coverage, and keep the test set untouched during threshold and model selection.
  3. Apply augmentation only after splitting and keep source lineage so related images cannot cross evaluation boundaries.
  4. Document missing operating conditions, then deliberately capture them rather than relying on synthetic variation to replace real evidence.

How to check the result

Inspect nearest-looking image pairs across splits and evaluate by operating condition, not only by overall class totals.

Common mistake to avoid

The example ratio is not a universal prescription. Very small datasets may need grouped cross-validation, but a final independent evaluation remains valuable.

Reference reading

Primary references for the underlying models, APIs or application context. The worked numbers and plots above are educational calculations, not results reported by these sources.

Read our methods, limitations and safety notes.