ObjectModelOutputObject

Inheritance diagram of ObjectModelOutputObject

ObjectModelOutputObject inheritance diagram

class savant.base.model.ObjectModelOutputObject(class_id, label, selector=None)

ObjectModel output objects configuration template. Validates entries in a module config under model.output.objects.

Example,

class_id: int

Integer class id from object model inference results.

label: str

Text label for the object class id. Can subsequently be used in other model’s input configuration.

selector: Optional[PyFunc] = None

Model output selector.

Selector implementation should be written as a subclass of BaseSelector.