Interface: Bbox
Defined in: types/objectDetection.ts:15
Represents a bounding box for a detected object in an image.
Properties
x1
x1:
number
Defined in: types/objectDetection.ts:16
The x-coordinate of the bottom-left corner of the bounding box.
x2
x2:
number
Defined in: types/objectDetection.ts:17
The x-coordinate of the top-right corner of the bounding box.
y1
y1:
number
Defined in: types/objectDetection.ts:18
The y-coordinate of the bottom-left corner of the bounding box.
y2
y2:
number
Defined in: types/objectDetection.ts:19
The y-coordinate of the top-right corner of the bounding box.