Stream接收的数据结构定义。
1 2 3 4 5 6 | class MxDataInput : def __init__(self): self.data = None self.fragmentId = None self.customParam = None self.roiBoxs = list() # list |
参数名 |
类型 |
说明 |
---|---|---|
data |
bytes |
图像数据。 |
fragmentId |
int |
分块ID,保留参数。 |
customParam |
bytes |
自定义的参数,保留参数。 |
roiBoxs |
RoiBoxVector |
裁剪框坐标数组。 |