Holds user parameters for a nvds_obj_enc_process call.
Definition at line 56 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... | |
| bool _NvDsObjEncUsrArgs::attachUsrMeta |
Variable to attach user metadata.
Metadata Type is "NVDS_CROP_IMAGE_META".
Definition at line 63 of file nvds_obj_encode.h.
| bool _NvDsObjEncUsrArgs::calcEncodeTime |
Boolean variable to calculate time of encode.
Definition at line 88 of file nvds_obj_encode.h.
| 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 78 of file nvds_obj_encode.h.
| bool _NvDsObjEncUsrArgs::isFrame |
Variable for frame/object encoding.
1: Encodes the entire frame. 0: Encodes object of specified resolution.
Definition at line 86 of file nvds_obj_encode.h.
| int _NvDsObjEncUsrArgs::objNum |
Object number in the frame.
Definition at line 80 of file nvds_obj_encode.h.
| int _NvDsObjEncUsrArgs::quality |
Image quality value.
Definition at line 82 of file nvds_obj_encode.h.
| bool _NvDsObjEncUsrArgs::saveImg |
Boolean variable to save image.
Definition at line 59 of file nvds_obj_encode.h.
| int _NvDsObjEncUsrArgs::scaledHeight |
Height Paramater for scaling.
Definition at line 71 of file nvds_obj_encode.h.
| int _NvDsObjEncUsrArgs::scaledWidth |
Image dimensions shouldn't exceed frame dimensions.
Width Parameter for scaling.
Definition at line 69 of file nvds_obj_encode.h.
| bool _NvDsObjEncUsrArgs::scaleImg |
Boolean variable to scale image.
Definition at line 65 of file nvds_obj_encode.h.