nemo_retriever.utils.image package#

Submodules#

nemo_retriever.utils.image.render module#

nemo_retriever.utils.image.render.render_dir_command(
input_dir: ~pathlib.Path = <typer.models.ArgumentInfo object>,
detections_dir: ~pathlib.Path = <typer.models.ArgumentInfo object>,
output_dir: ~pathlib.Path = <typer.models.ArgumentInfo object>,
) None[source]#
nemo_retriever.utils.image.render.render_image_command(
image_path: ~pathlib.Path = <typer.models.ArgumentInfo object>,
detections_path: ~pathlib.Path = <typer.models.ArgumentInfo object>,
output_path: ~pathlib.Path | None = <typer.models.OptionInfo object>,
) None[source]#
nemo_retriever.utils.image.render.render_page_element_detections_for_dir(
input_dir: Path,
detections_dir: Path,
output_dir: Path,
) list[Path][source]#
nemo_retriever.utils.image.render.render_page_element_detections_for_image(
image_path: Path,
detections_path: Path,
output_path: Path | None = None,
) Path[source]#

Module contents#

nemo_retriever.utils.image.render_page_element_detections_for_dir(
input_dir: Path,
detections_dir: Path,
output_dir: Path,
) list[Path][source]#
nemo_retriever.utils.image.render_page_element_detections_for_image(
image_path: Path,
detections_path: Path,
output_path: Path | None = None,
) Path[source]#