MxBufferAndMetadataOutput

Description

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.

1
2
3
4
5
6
7
8
class MxBufferAndMetadataOutput:
    def __init__(self):
        self.errorCode = None
        self.errorMsg = None
        self.bufferOutput = None
        self.metadataVec = list()
    def SetErrorInfo(self, errorCodeIn, errorMsgIn):
        pass

Parameters

Parameter

Type

Description

errorCode

int

Output error code

errorMsg

bytes

Output error information

bufferOutput

MxBufferOutput

Output result data

metadataVec

MetadataOutputVector

Output metadata information