Metadata

Frame metadata

NvDsFrameMeta

Wrapper of deepstream frame meta information.

Object metadata

Savant Metadata classes.

object.ObjectMeta

The ObjectMeta describes the object that was detected or created on the frame.

attribute.AttributeMeta

Attribute meta information.

Constants

Metadata constants.

savant.meta.constants.UNTRACKED_OBJECT_ID = 18446744073709551615

This track id is assigned to objects that have not been tracked.

savant.meta.constants.DEFAULT_CONFIDENCE = 1.0

Default confidence value.

savant.meta.constants.DEFAULT_MODEL_NAME = 'auto'

Default model name.

savant.meta.constants.PRIMARY_OBJECT_LABEL = 'frame'

Primary object label (frame RoI object).

savant.meta.constants.PRIMARY_OBJECT_KEY = 'auto.frame'

Object key for primary object.

Enums

class savant.meta.type.ObjectSelectionType

Types of object selection on frames.

REGULAR_BBOX = 1

The object is selected on a frame using a regular (aligned) bounding box.

ROTATED_BBOX = 2

The object is selected on a frame using a rotated bounding box.

Exceptions

Metadata exceptions.

exception savant.meta.errors.IncorrectSelectionType

Exception on errors when working with type of selection object on frame.

exception savant.meta.errors.BaseMetaException

Base exception when working with meta.

exception savant.meta.errors.MetaValueError

Exception on errors when working with meta and pass incorrect value.

exception savant.meta.errors.UIDError

Exception on errors when working with the unique object id.

exception savant.meta.errors.MetaTypeError

Exception on errors when working with incorrect meta type.

exception savant.meta.errors.MetaPoolError

Exception on errors when working with meta pool.

Deepstream exceptions.

exception savant.deepstream.errors.NvDsBBoxError

Exception on errors when working with Deepstream BBox.

exception savant.deepstream.errors.NvDsRBBoxError

Exception on errors when working with Deepstream rotated BBox.