concepts.language.gpt_vlm_query.gpt_image_query_utils.draw_grid#

draw_grid(img, nr_vertical, nr_horizontal, resize_to_max_dim=0)[source]#

Draw a grid on the image with nr_vertical and nr_horizontal lines. It will also put a number at the top-left corner of each cell.

Parameters:
Return type:

ndarray