Skip to content

ObjectDetection

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

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:45

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:41

The class index into labels.


readonly confidence: number

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

The score, 0 to 1.


readonly label: string

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

The class name, like person or bus.