SemanticSegInfo类

表1 SemanticSegInfo类属性说明

属性名

类型

说明

pixels

list

像素集。

labelMap

list

标签映射。

该类重写了__str__和__repr__方法,用于展示对象信息,建议用户不要直接调用。