获得Stream上的输出元件的结果(appsink)。阻塞式,支持多线程并发。
1 2 | def GetResultWithUniqueId(streamName: bytes, uniqueId: unsigned long, timeOutInMs: unsigned int) -> MxDataOutput : pass |
参数名 |
类型 |
说明 |
---|---|---|
streamName |
bytes |
流的名称。 |
uniqueId |
unsigned long |
流上的输出插件ID,即appsink元件的编号。 |
timeOutInMs |
int |
获取结果的超时时间。 |
数据结构 |
说明 |
---|---|
MxstDataOutput |
推理服务输出数据,类型见MxDataOutput。 |