Defines a rectangle, used e.g. as part of detection results or as input region-of-interest. The coordinates are normalized with respect to the image dimensions, i.e. generally in [0,1] but they may exceed these bounds if describing a region overlapping the image. The origin is on the top-left corner of the image.
Signature:
export declare interface RectF
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| left | number | ||
| top | number | ||
| right | number | ||
| bottom | number |
RectF.left
Signature:
left: number;
RectF.top
Signature:
top: number;
RectF.right
Signature:
right: number;
RectF.bottom
Signature:
bottom: number;