boilercv_pipeline.preview#

Update previews for various stages.

Module Contents#

Functions#

new_videos_to_preview

Get empty mapping of new videos to preview and write to disk.

get_preview_ds

Get a dataset of preview images, padding sizes as necessary.

API#

boilercv_pipeline.preview.new_videos_to_preview(
destination: pathlib.Path,
reprocess: bool = False,
sources: pathlib.Path = paths.sources,
) collections.abc.Iterator[dict[str, Any]]#

Get empty mapping of new videos to preview and write to disk.

boilercv_pipeline.preview.get_preview_ds(
preview_names: list[str],
previews: list[Any],
) boilercv.types.DS#

Get a dataset of preview images, padding sizes as necessary.