def render_images(images, captions=None, boxes=None):
    """renders a list of image pointers

    Args:
        images (_type_): _description_
        captions (_type_, optional): _description_. Defaults to None.
    """
    
    if boxes is None:
        images = [ImageOps.expand(load_image_from_path(image), border=100, fill=(255,255,255) ) for image in images]
    else:
        images = [ImageOps.expand(draw_box(load_image_from_path(image), box), border=100, fill=(255,255,255) ) for box,image in zip(boxes,images)]
        

    if captions is None:
        st.image(images, use_column_width=False, width=230)
    else:
        st.image(images, caption=captions, use_column_width=False)
renders a list of image pointers

    Args:
        images (_type_): _description_
        captions (_type_, optional): _description_. Defaults to None.
    
examples/ImageSearchLocalization/app.py