GetResultWithUniqueId

Function Usage

Obtains the result of the output element (appsink) on the stream. The blocking mode is used. Multi-thread concurrency is supported.

Prototype

def GetResultWithUniqueId(streamName: bytes, uniqueId: unsigned long, timeOutInMs: unsigned int) -> MxDataOutput :
    pass

Input Parameter Description

Parameter

Type

Description

streamName

bytes

Stream name

uniqueId

unsigned long

ID of the output plugin on the stream, that is, the ID of the appsink element

timeOutInMs

int

Timeout interval for obtaining the result

Return Parameter Description

Data Structure

Description

MxstDataOutput

Output data of the inference service. For details, see MxDataOutput.