NvDsObjEncUsrArgs¶
- class pyds.NvDsObjEncUsrArgs¶
user parameters for a nvds_obj_enc_process call
- Variables:
saveImg – bool, Boolean variable to save image.
attachUsrMeta – bool, Variable to attach user metadata. Metadata Type is “NVDS_CROP_IMAGE_META”.
scaleImg – bool, Boolean variable to scale image.
scaledWidth – int, Width Parameter for scaling.
scaledHeight – int, Height Paramater for scaling.
fileNameImg – An array to store the string describing the path of the JPEG file. 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
objNum – int, Object number in the frame .
quality – bool, Image quality value.
isFrame – bool, Variable for frame/object encoding. 1: Encodes the entire frame. 0: Encodes object of specified resolution
calcEncodeTime – bool, Boolean variable to calculate time of encode.
- cast(*args, **kwargs)¶
Overloaded function.
cast(self: int) -> pyds.NvDsObjEncUsrArgs
cast given object/data to
NvDsObjEncUsrArgs
, call pyds.NvDsObjEncUsrArgs.cast(data)cast(self: capsule) -> pyds.NvDsObjEncUsrArgs
cast given object/data to
NvDsObjEncUsrArgs
, call pyds.NvDsObjEncUsrArgs.cast(data)