CObjectDetection#

class ikomia.dataprocess.pydataprocess.CObjectDetection#

Store single object detection information (class properties): label, confidence, box and color. It is used within workflow input/output of type CObjectDetectionIO.

Attributes

id

Object ID (int)

label

Object label (str)

confidence

Prediction confidence (double)

box

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

color

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