concepts.language.gpt_vlm_query.gpt_object_naming.get_object_names#

get_object_names(image, masks, class_names, client=None)[source]#

Get the object names from the given image and masks.

Parameters:
  • image (ndarray) – the input image.

  • masks (List[ndarray]) – a list of binary masks.

  • class_names (List[str]) – a list of class names.

Returns:

The list of object names.

Return type:

List[str]