Metadata
Metadata is the structured data generated by plugins, such as classification information and object information. It is attached to the plugin buffer for transmission.
Metadata is defined by Protobuf corresponding to APIs in MxpiDataType.pb.h, MxpiDumpData.pb.h, and MxpiOSDType.pb.h files, which are automatically generated by Protobuf and contain user-defined classes in Protobuf. (Do not use them. For details about the proto files, see Metadata Proto File.) The defined data structure is as follows.
Name |
Description |
Member |
|---|---|---|
MxpiFrame |
Stores the description information and data of video/image frames. |
|
MxpiFrameInfo |
Stores the description information about video/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 preprocessing 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 |
Data structure of the detected object. |
|
MxpiImageMaskList |
Image semantic segmentation data list. |
|
MxpiImageMask |
Image semantic segmentation data information, such as the data class, shape, and type. |
|
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, confidence, and text to be detected of the text bounding box |
|
MxpiTextsInfoList |
Text generation data list. |
|
MxpiTextsInfo |
Text generation data information. |
|
MxpiCustomDataList |
User-defined data list. |
|
MxpiCustomData |
User-defined data. |
|
Name |
Description |
Member |
|---|---|---|
MxpiDumpData |
Saves the MxpiBuffer content. |
|
Buffer |
Buffer data in MxpiBuffer. |
|
MetaData |
Metadata in MxpiBuffer |
|
Name |
Description |
Member |
|---|---|---|
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 properties. |
|
