concepts.benchmark.clevr.dataset.annotate_objects#

annotate_objects(scene)[source]#

Annotate the scene with the object information. This function will add the following fields to the scene annotations:

  • objects: the bounding boxes of the objects.

Parameters:

scene (dict) – the scene annotations.

Returns:

a dict of annotations of the objects.

Return type:

dict