跳到主要内容

dtype类

KeyPointDetectionInfo类

表1 KeyPointDetectionInfo类属性说明

属性名类型说明
keyPointMapdict每个关键点的坐标等信息。
scoreMapdict各每个关键点对应的置信度。
scorefloat整体置信度。

父主题: 通用枚举类型/数据类

ResizeType类

表1 ResizeType类属性说明

属性名类型说明
RESIZER_MS_KEEP_ASPECT_RATIOResizeType 枚举类型。基于MindSpore的等比率缩放。
RESIZER_STRETCHINGResizeType 枚举类型。拉伸缩放。
RESIZER_TF_KEEP_ASPECT_RATIOResizeType 枚举类型。基于TensorFlow的等比率缩放。

父主题: 通用枚举类型/数据类

dtype类

属性名对应类型
dtype.int8int8类型。
dtype.uint8uint8类型。
dtype.int16int16类型。
dtype.uint16uint16类型。
dtype.int32int32类型。
dtype.uint32uint32类型。
dtype.int64int64类型。
dtype.uint64uint64类型。
dtype.float16float16类型。
dtype.float32float32类型。
dtype.doubledouble类型。
dtype.boolbool类型。
dtype.undefined未定义类型。

父主题: 通用枚举类型/数据类

image.format类

表1 image.format类属性说明

属性名类型
image.format.nv12NV12格式类型。
image.format.nv21NV12格式类型。
image.format.bgrBGR888格式类型。
image.format.rgbRGB888格式类型。

父主题: 通用枚举类型/数据类

type类

表1 type类属性说明

属性名类型
type.memory_hostHost侧内存类型。
type.memory_deviceDevice侧内存类型。
type.memory_dvppDVPP内存类型。

父主题: 通用枚举类型/数据类

BufferInput类

表1 BufferInput类属性说明

属性名类型说明
datastr图片数据。
frame_infostr帧信息。
vision_infostr图片信息。

父主题: 通用枚举类型/数据类

在线提单