label

label assigns a string label to a BoundingBox or Descriptor object. For example, a descriptor can identify a person:

[{
    "AddDescriptor": {
        "class": "pretty_faces",
        "label": "Ricky Fort"
    }
}]

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

with_label

with_label filters BoundingBox or Descriptor objects by label in FindBoundingBox and FindDescriptor, respectively.