NvDsOpticalFlowMetaΒΆ

struct NvDsOpticalFlowMeta

Holds optical flow metadata about a frame.

Public Members

guint rows

Holds the number of rows in the frame for a given block size, e.g.

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

guint cols

Holds the number of columns in the frame for given block size, e.g.

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

guint mv_size

Holds the size of the motion vector.

See

NvOFFlowVector.

gulong frame_num

Holds the current frame number of the source.

void *data

Holds a pointer to the motion vector.

void *priv

Reserved for internal use.

void *reserved

Reserved for internal use.