NvInferObjectModelOutput
![Inheritance diagram of NvInferObjectModelOutput](../../../_images/inheritance-eddbd5f4253e5afff25dd3524aa6a5921ceb0691.png)
NvInferObjectModelOutput inheritance diagram
- class savant.deepstream.nvinfer.model.NvInferObjectModelOutput(layer_names=<factory>, converter=None, objects=None, num_detected_classes=None)
NvInferObjectModel output configuration template for detector with aligned bboxes.
Example
model: # model configuration output: num_detected_classes: 4 layer_names: [output] objects: # output objects configuration
- converter: PyFunc | None = None
Model output converter. Converter is used to transform raw tensor output into Savant data format.
Converter implementation should be written as a subclass of
BaseObjectModelOutputConverter
orBaseAttributeModelOutputConverter
orBaseComplexModelOutputConverter
depending on the model type.
- objects: List[NvInferObjectModelOutputObject] | None = None
Configuration for each output object class of an object model.