yarrow.utils

Functions

from_image(file_name, width, height, ...[, ...])

Returns a minimal YarrowDataset_pydantic with the passed arguments, this is a helper function

rand_annot([image_list, image_id, bbox, ...])

rand_category()

rand_clearance()

rand_contrib()

rand_dataset([info, images, annotations, ...])

Create a random dataset, unspecified parameters will be generated randomly and the result will be valid with respect to id matching except if an empty list is specified anywhere

rand_image([confid_list, conf_id])

rand_info()

rand_multilayer_image([image_id_list])