Skip to contents

yolo_dataset_copypaste_undo() (and legacy alias yolo_dataset_copypaste_clean()) removes all synthetic copy-paste augmented image and label files (matching pattern _copypaste\\d+) from the dataset, reverting it to its pristine state.

Usage

yolo_dataset_copypaste_undo(data, verbose = TRUE)

yolo_dataset_paste_undo(data, verbose = TRUE)

yolo_dataset_copypaste_clean(data, verbose = TRUE)

yolo_dataset_clean_copypaste(data, verbose = TRUE)

Arguments

data

A yolo_dataset object or directory path.

verbose

Logical. Whether to print progress messages (default: TRUE).

Value

An invisible yolo_dataset object pointing to the cleaned dataset.