Skip to content

InstanceSegmentationData

InstanceSegmentationData = ReturnType<typeof instanceSegmentation>

Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:68

One object as encodeSegmentInstances writes it: box in pixels of the source image, confidence 0 to 1, classId into labels, and mask, GPU_MASK_SIZE × GPU_MASK_SIZE coverage values 0 to 1, row by row, stretched over box.