SetElementProperty
Function Usage
Sets element properties. Currently, the following elements are supported: mxpi_channelselector, mxpi_channelosdcoordsconverter, mxpi_channelimagesstitcher, mxpi_rtspsrc, mxpi_object2osdinstances, mxpi_class2osdinstances, mxpi_bufferstablizer, and mxpi_skipframe.
Prototype
APP_ERROR SetElementProperty(const std::string& streamName, const std::string& elementName,const std::string& propertyName,const std::string& propertyValue);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
streamName |
Input |
Stream name |
elementName |
Input |
Element name |
propertyName |
Input |
Element property |
propertyValue |
Input |
Value of element property |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: MxStreamManager