MIDV-500 contains 500 video clips spanning 50 identity-document types, including ID cards, passports, and driving licences. For an ID-card object-detection workflow, filter the dataset to ID cards before preparing images and labels. section 7.3.1
A reproducible preparation pipeline separates three jobs:
- Download and extract the data in a Kubeflow component. section 7.3.1
- Split paired images and labels into training, validation, and test outputs; preserve their matching filenames. section 7.3.1
- Inspect output files as a sanity check before using the splits. section 7.3.1
Listing 7.9 Configuration training YOLOv8 with a custom dataset
path: /home/jovyan/data/ train: "train/images" val: "val/images" test: "test/images" names: 0: id_card
The YOLOv8 configuration points to the prepared train, validation, and test image directories and names the detection class `id_card`. Keep the corresponding label directories alongside the images. section 7.3.1
