推理业务输出数据定义。
1 2 3 4 5 6 7 8 | class MxDataInputExt : def __init__(self): self.data = None self.fragmentId = None self.customParam = None self.roiBoxs = list() # list self.mxpiFrameInfo = None self.mxpiVisionInfo = None |
参数名 |
类型 |
说明 |
---|---|---|
data |
bytes |
图像数据。 |
fragmentId |
int |
分块ID,保留参数。 |
customParam |
bytes |
自定义的参数,保留参数。 |
roiBoxs |
RoiBoxVector |
裁剪框坐标数组。 |
mxpiFrameInfo |
bytes |
图片的frame信息序列化成字符串。 |
mxpiVisionInfo |
bytes |
图片信息序列化成字符串。 |