NvDsOpticalFlowMeta

class pyds.NvDsOpticalFlowMeta

Holds information optical flow metadata information of a frame

cast(self: capsule)pyds.NvDsOpticalFlowMeta
property cols

number of columns present in the frame for given block size

e.g. if block size is 4 and frame width is 1280, then number of columns = (1280 / 4) = 320

property data

motion vector data pointer

property frame_num

current frame number of the source

property mv_size

size of motion vector. Refer NvOFFlowVector

property priv

reserved field, for internal purpose only

property reserved

reserved field, for internal purpose only

property rows

number of rows present in the frame for given block size

e.g. if block size is 4 and frame height is 720, then number of rows = (720 / 4) = 180