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

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

Input Parameters

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.

Response Parameters

Data Structure

Description

MxDataOutput

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