Represents one detection by a detection task.
Signature:
export declare interface Detection
Properties
Property | Type | Description |
---|---|---|
boundingBox | BoundingBox | The bounding box of the detected objects. |
categories | Category[] | A list of Category objects. |
keypoints | NormalizedKeypoint[] | Optional list of keypoints associated with the detection. Keypoints represent interesting points related to the detection. For example, the keypoints represent the eye, ear and mouth from face detection model. Or in the template matching detection, e.g. KNIFT, they can represent the feature points for template matching. |
Detection.boundingBox
The bounding box of the detected objects.
Signature:
boundingBox?: BoundingBox;
Detection.categories
A list of Category
objects.
Signature:
categories: Category[];
Detection.keypoints
Optional list of keypoints associated with the detection. Keypoints represent interesting points related to the detection. For example, the keypoints represent the eye, ear and mouth from face detection model. Or in the template matching detection, e.g. KNIFT, they can represent the feature points for template matching.
Signature:
keypoints?: NormalizedKeypoint[];