InstanceSegmenter
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:54
Properties
Section titled “Properties”labels
Section titled “labels”
readonlylabels: readonlystring[]
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:56
The class names, by class index.
Methods
Section titled “Methods”dispose()
Section titled “dispose()”dispose():
void
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:63
Frees the weights and every GPU buffer the runner holds.
Returns
Section titled “Returns”void
segmentInstances()
Section titled “segmentInstances()”segmentInstances(
image,options?):Promise<InstanceSegmentation[]>
Defined in: packages/runntime/src/zoo/tasks/cv/instanceSegmentation.ts:58
Image in, the objects in it out, best first.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<InstanceSegmentation[]>