struct _NvDsObjEncUsrArgs

Holds user parameters for a nvds_obj_enc_process call.

Public Members

bool saveImg

Boolean variable to save image.

bool attachUsrMeta

Variable to attach user metadata.

Metadata Type is “NVDS_CROP_IMAGE_META”.

char fileNameImg[FILE_NAME_SIZE]

If user specifies the filename then it’ll be used otherwise the following naming convention is used to create filename of the encoded objects - “frame-number_stream-number_object-number_object-type_widthxheight.jpg”.

For example - 0_2_3_PERSON_126x148.jpg

int objNum

Object number in the frame.