ObjectDetection
Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:37
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/objectDetection.ts:45
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/objectDetection.ts:41
The class index into labels.
confidence
Section titled “confidence”
readonlyconfidence:number
Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:43
The score, 0 to 1.
readonlylabel:string
Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:39
The class name, like person or bus.