boilercv_pipeline.previews#

Preview results.

Submodules#

Package Contents#

Functions#

get_preview

Get a preview dataset.

draw_text_da

Draw text on images in a data array.

compose_da

Draw text on images in a data array.

Data#

API#

boilercv_pipeline.previews._NUM_FRAMES#

None

boilercv_pipeline.previews.get_preview(
path: pathlib.Path,
) boilercv.types.DS#

Get a preview dataset.

Args: path: Path to dataset.

boilercv_pipeline.previews.draw_text_da(
da: boilercv.types.DA,
) boilercv.types.DA#

Draw text on images in a data array.

boilercv_pipeline.previews.compose_da(
da_image: boilercv.types.DA,
da_overlay: boilercv.types.DA,
color: tuple[int, int, int] = RED,
) boilercv.types.DA#

Draw text on images in a data array.

Args: da_image: Image data array. da_overlay: Overlay data array. color: Color for the overlay.