Metadata
Metadata is the structured data generated by plugins, such as classification information and object information. Metadata is attached to the plugin buffer for transmission.
Metadata is defined by protobuf (corresponding to the API in the MxpiDataType.pb.h, MxpiDumpData.pb.h, and MxpiOSDType.pb.h files, which are automatically generated by protobuf). For details about the protobuf file, see Metadata Proto File. The defined data structure is as follows:
Name |
Function |
Members |
|---|---|---|
MxpiFrame |
Stores the description and data of video or image frames. |
|
MxpiFrameInfo |
Stores the description information about video or image frames, such as the channel ID and frame sequence. |
|
MxpiVisionList |
Video/Image data list |
|
MxpiVision |
Video/Image data, including the video/image memory and description information |
|
MxpiMetaHeader |
Information header, which is used to indicate the dependency data of the current data. dataSource is used to find the dependency data list, and memberId is used to find the ID of the dependency data in the list. |
|
MxpiMemoryType |
Data type enumeration. The data types include the host memory, device memory, and DVPP memory. |
|
MxpiDataType |
Data type, including the 8-bit unsigned integer and 32-bit floating point number. |
|
MxpiVisionInfo |
Video/Image data description, such as the image format, width, and height. |
|
MxpiVisionPreProcess |
Image pre-processing information, such as the image width and height and coordinates for cropping and pasting an image. |
|
MxpiVisionData |
Video/Image data content. dataPtr and freeFunc are the uint64 values of the pointer. The pointer must be forcibly converted to this type. |
|
MxpiObjectList |
Detection object list |
|
MxpiObject |
Detected object data structure |
|
MxpiImageMaskList |
Image semantic segmentation data list. |
|
MxpiImageMask |
Image semantic segmentation data information, such as data type, shape, and class. |
|
MxpiClass |
Image class data structure |
|
MxpiClassList |
Image class list |
|
MxpiAttributeList |
Object attribute list |
|
MxpiAttribute |
Object attribute |
|
MxpiTrackLetList |
List of tracklets |
|
MxpiTrackLet |
Tracklet |
|
MxpiTensorPackageList |
List of model tensor packages |
|
MxpiTensorPackage |
Model tensor package |
|
MxpiTensor |
Data structure of the model tensor |
|
MxpiFeatureVectorList |
Feature data list |
|
MxpiFeatureVector |
Feature data structure |
|
MxpiPoseList |
Data list for human pose estimation |
|
MxpiPose |
Data information for human pose estimation |
|
MxpiKeyPoint |
Data information of key human feature points |
|
MxpiKeyPointAndAngleList |
List of key object points and angles |
|
MxpiKeyPointAndAngle |
Key object points and angles |
|
MxpiTextObjectList |
Text object data list |
|
MxpiTextObject |
Text object data information, such as coordinates of the text bounding box, confidence, and text to be detected |
|
MxpiTextsInfoList |
Text generation data list |
|
MxpiTextsInfo |
Text generation data information |
|
Name |
Function |
Members |
|---|---|---|
MxpiDumpData |
Saves the MxpiBuffer content. |
|
Buffer |
Buffer data in the MxpiBuffer |
|
MetaData |
metaData in the MxpiBuffer |
|
Name |
Function |
Members |
|---|---|---|
MxpiOsdInstancesList |
Stores the object or class OSD list. |
|
MxpiOsdInstances |
Stores the OSD attribute descriptions. |
|
MxpiOsdText |
Stores the text attribute descriptions. |
|
MxpiOsdLine |
Stores the line attribute descriptions. |
|
MxpiOsdRect |
Stores the rectangle attribute descriptions. |
|
MxpiOsdCircle |
Stores the circle attribute descriptions. |
|
MxpiOsdParams |
Stores the descriptions about OSD public attributes. |
|
