NvDsFrameMeta

class pyds.NvDsFrameMeta(self: pyds.NvDsFrameMeta) → None

Holds information of frame metadata in the batch

property bInferDone

boolean indicating whether inference is performed on given frame

property base_meta

base metadata for frame

property batch_id

location of the frame in the batch. pyds.NvBufSurfaceParams for the frame will be at index batch_id in the surfaceList array of pyds.NvBufSurface.

property buf_pts

pts of the frame

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvDsFrameMeta

cast given object/data to pyds.NvDsFrameMeta, call pyds.NvDsFrameMeta.cast(data)

  1. cast(self: int) -> pyds.NvDsFrameMeta

cast given object/data to pyds.NvDsFrameMeta, call pyds.NvDsFrameMeta.cast(data)

property display_meta_list

list of objects of type pyds.NvDsDisplayMeta in use for the given frame

property frame_num

current frame number of the source

property frame_user_meta_list

list of objects of type pyds.NvDsUserMeta in use for the given frame

property misc_frame_info
property ntp_timestamp
property num_obj_meta

number of object meta elements attached to the current frame

property num_surfaces_per_frame

Number of surfaces present in this frame. This is required in case multiple surfaces per frame

property obj_meta_list

list of objects of type pyds.NvDsObjectMeta in use for the given frame

property pad_index

pad or port index of stream muxer component for the frame in the batch

property reserved
property source_frame_height

height of the frame at the input of stream muxer

property source_frame_width

width of the frame at the input of stream muxer

property source_id

source_id of the frame in the batch e.g. camera_id. It need not be in sequential order

property surface_index

surface index of sub frame. This is required in case multiple surfaces per frame

property surface_type

surface type of sub frame. This is required in case multiple surfaces per frame