CInstanceSegmentation

class ikomia.dataprocess.pydataprocess.CInstanceSegmentation

Store single instance segmentation information (class properties): class index, label, confidence, box, mask and color. It is used within workflow input/output of type CInstanceSegIO.

Attributes

id

Object ID (int)

type

Object type (int 0=THING or 1=STUFF)

class_index

Object class index (int)

label

Object label (str)

confidence

Prediction confidence (double)

box

Object bounding box [x, y, width, height]

mask

Object mask (numpy array)

color

Object display color [r, g, b, a]

polygons