Constructors
constructor
- new ObjectDetection(score, classScore, className, relativeBox, imageDims): ObjectDetection
Parameters
- score: number
- classScore: number
- className: string
- relativeBox: IRect
- imageDims: IDimensions
Accessors
box
- get box(): Box<any>
Returns Box<any>
className
- get className(): string
Returns string
classScore
- get classScore(): number
Returns number
imageHeight
- get imageHeight(): number
Returns number
imageWidth
- get imageWidth(): number
Returns number
relativeBox
- get relativeBox(): Box<any>
Returns Box<any>
score
- get score(): number
Returns number
Methods
forSize
- forSize(width, height): ObjectDetection
Parameters
- width: number
- height: number