CNDetection
A structure that represents a detected subject, face, torso or pet at a particular time.
Declaration
struct CNDetectionOverview
Specifies the type, distance bounds, and time of the detection. Detections obtained from the Cinematic script include a unique number that can tracks the detection over time.
Some types of detections also include a unique group number that associates related detections (for example, the face and torso of the same person).