Skip to main content

Class: ObjectDetection

Extends

  • BaseType<RawObjectDetection>

Constructors

new ObjectDetection()

new ObjectDetection(raw: RawObjectDetection): ObjectDetection

Parameters

ParameterType

raw

RawObjectDetection

Returns

ObjectDetection

Overrides

BaseType<RawObjectDetection>.constructor

Properties

box

readonly box: Box;

color

readonly color: Color;

raw

readonly raw: RawObjectDetection;

Inherited from

BaseType.raw

Accessors

confidence

get confidence(): number

Returns

number


label

get label(): string

Returns

string

Methods

toJSON()

toJSON(): RawObjectDetection

Returns

RawObjectDetection

Inherited from

BaseType.toJSON