label

The label parameter is string used to specify the label for either a BoundingBox or a Descriptor object, as follows:

"label": "Dog"

If unspecified for AddBoundingBox or AddDescriptor, it will default to “None”.

with_label

The label can be used to search either BoundingBoxes and Descriptors (through the FindBoundingBox and FindDescriptor command, respectively), filtering objects with specific labels.

Check FindBoundingBox and FindDescriptor for on how to use it.