Skip to content

ObjectDetection

Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:44

One object found in the image.

readonly box: object & Readonly<{ xmax: number; xmin: number; ymax: number; ymin: number; }>

Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:52

Where it sits, in pixels of the input image.

readonly format: "xyxy"


readonly classId: number

Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:48

The class index into labels.


readonly confidence: number

Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:50

The score, 0 to 1.


readonly label: string

Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:46

The class name, like person or bus.