7. 🖥️ Rendering images
We'll search via text for forklift
search_result_forklift = dataset.search_images(
sort_by="vector_text(forklift)",
)
7.1 Display a single plain image
display_images(search_result_forklift, n_images_to_show=1)
7.2 Display the image with bounding boxes
display_images(search_result_forklift, n_images_to_show=1, draw_bboxes=True)
7.3 Display a grid of images
display_images(search_result_forklift, n_images_to_show=6, draw_bboxes=True, n_cols=3)
Updated 3 months ago