MxVisionData
Function Usage
Defines the visual data information transferred between plugins in a stream.
Structure Definition
struct MxVisionData {
uint64_t dataPtr;
int32_t dataSize;
uint32_t deviceId;
MxBase::MemoryData::MemoryType memType;
uint32_t freeFunc;
std::string dataStr;
MxDataType dataType;
}
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
dataPtr |
Input |
Visual data pointer |
dataSize |
Input |
Data size, in bytes |
deviceId |
Input |
ID of the device where the data is located |
memType |
Input |
Memory type of the data. For details, see MemoryData. |
freeFunc |
Input |
Pointer to the data destruction function |
dataStr |
Input |
Visual data |
dataType |
Input |
Data type |
Parent topic: Data Structure