InstanceSegmentation
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:38
One object found in the image.
Properties
Section titled “Properties”
readonlybox:object&Readonly<{xmax:number;xmin:number;ymax:number;ymin:number; }>
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:46
Where it sits, in pixels of the input image.
Type Declaration
Section titled “Type Declaration”format
Section titled “format”
readonlyformat:"xyxy"
classId
Section titled “classId”
readonlyclassId:number
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:42
The class index into labels.
confidence
Section titled “confidence”
readonlyconfidence:number
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:44
The score, 0 to 1.
readonlylabel:string
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:40
The class name, like person or bus.
readonlymask:ImageBuffer
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:51
Which pixels of box are the object: a gray image that covers the
box, at about a quarter of the model input’s resolution. 0 is outside
the object, 255 inside, in between along the edge. Stretch it over
box when drawing.