MxBufferAndMetadataOutput
Function
Defines the output data and metadata of the inference service.
Structure Definition
The structure is generated by SWIG, and only some service-related APIs are displayed. For details, see StreamManagerApi.py.
class StringVector:
def __init__(self):
self.errorCode = None
self.errorMsg = None
self.bufferOutput = None
self.metadataVec = list()
def SetErrorInfo(self, errorCodeIn, errorMsgIn):
pass
Parameter Description
Parameter |
Type |
Description |
|---|---|---|
errorCode |
int |
Output error code |
errorMsg |
bytes |
Output error information |
bufferOutput |
bytes |
Output result data |
metadataVec |
vector |
Output metadata information |
Parent topic: Data Structure