MxDataInputExt

Function

Defines the output data of the inference service.

Structure Definition

class MxDataInputExt :
    def __init__(self):
        self.data = None
        self.fragmentId = None
        self.customParam = None
        self.roiBoxs = list()  # list
        self.mxpiFrameInfo = None
        self.mxpiVisionInfo = None

Parameter Description

Parameter

Type

Description

data

bytes

Image data

fragmentId

int

(Reserved) Fragment ID

customParam

bytes

(Reserved) User-defined parameter

roiBoxs

RoiBoxVector

Coordinate array of the bounding box (ROI)

mxpiFrameInfo

bytes

Serializes the frame information of an image into a character string

mxpiVisionInfo

bytes

Serializes image information into a character string