Detection interface

Represents one detection by a detection task.

Signature:

  export 
  
 declare 
  
 interface 
  
 Detection 
  
 

Properties

Property Type Description
BoundingBox The bounding box of the detected objects.
Category [] A list of Category objects.
NormalizedKeypoint[] 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. Contains an empty list if no keypoints are detected.

Detection.boundingBox

The bounding box of the detected objects.

Signature:

  boundingBox? 
 : 
  
 BoundingBox 
 ; 
 

Detection.categories

A list of Category objects.

Signature:

  categories 
 : 
  
 Category 
 []; 
 

Detection.keypoints

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. Contains an empty list if no keypoints are detected.

Signature:

  keypoints 
 : 
  
 NormalizedKeypoint 
 []; 
 
Design a Mobile Site
View Site in Mobile | Classic
Share by: