NVIDIA DeepStream SDK API Reference

6.4 Release
_NvDsObjEncUsrArgs Struct Reference

Detailed Description

Holds user parameters for a nvds_obj_enc_process call.

Definition at line 54 of file nvds_obj_encode.h.

Data Fields

bool saveImg
 Boolean variable to save image. More...
 
bool attachUsrMeta
 Variable to attach user metadata. More...
 
bool scaleImg
 Boolean variable to scale image. More...
 
int scaledWidth
 Image dimensions shouldn't exceed frame dimensions. More...
 
int scaledHeight
 Height Paramater for scaling. More...
 
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". More...
 
int objNum
 Object number in the frame. More...
 
int quality
 Image quality value. More...
 
bool isFrame
 Variable for frame/object encoding. More...
 
bool calcEncodeTime
 Boolean variable to calculate time of encode. More...
 

Field Documentation

◆ attachUsrMeta

bool _NvDsObjEncUsrArgs::attachUsrMeta

Variable to attach user metadata.

Metadata Type is "NVDS_CROP_IMAGE_META".

Definition at line 61 of file nvds_obj_encode.h.

◆ calcEncodeTime

bool _NvDsObjEncUsrArgs::calcEncodeTime

Boolean variable to calculate time of encode.

Definition at line 86 of file nvds_obj_encode.h.

◆ fileNameImg

char _NvDsObjEncUsrArgs::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

Definition at line 76 of file nvds_obj_encode.h.

◆ isFrame

bool _NvDsObjEncUsrArgs::isFrame

Variable for frame/object encoding.

1: Encodes the entire frame. 0: Encodes object of specified resolution.

Definition at line 84 of file nvds_obj_encode.h.

◆ objNum

int _NvDsObjEncUsrArgs::objNum

Object number in the frame.

Definition at line 78 of file nvds_obj_encode.h.

◆ quality

int _NvDsObjEncUsrArgs::quality

Image quality value.

Definition at line 80 of file nvds_obj_encode.h.

◆ saveImg

bool _NvDsObjEncUsrArgs::saveImg

Boolean variable to save image.

Definition at line 57 of file nvds_obj_encode.h.

◆ scaledHeight

int _NvDsObjEncUsrArgs::scaledHeight

Height Paramater for scaling.

Definition at line 69 of file nvds_obj_encode.h.

◆ scaledWidth

int _NvDsObjEncUsrArgs::scaledWidth

Image dimensions shouldn't exceed frame dimensions.

Width Parameter for scaling.

Definition at line 67 of file nvds_obj_encode.h.

◆ scaleImg

bool _NvDsObjEncUsrArgs::scaleImg

Boolean variable to scale image.

Definition at line 63 of file nvds_obj_encode.h.


The documentation for this struct was generated from the following file: