Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::BaseDetection< Type > Struct Template Reference

Face detection. Stores a detected face bounding box within a source image frame as well as detection confidence score. More...

#include <Detection.h>

Public Types

typedef Type ElementType
 

Public Member Functions

 BaseDetection () noexcept
 Initializes a default detection. More...
 
template<typename OtherType >
 BaseDetection (const BaseDetection< OtherType > &other)
 
bool isValid () const noexcept
 Checks whether a detection is valid. More...
 
template<typename OtherType >
BaseDetectionoperator= (const BaseDetection< OtherType > &other) noexcept
 

Public Attributes

BaseRect< Type > rect
 Object bounding box.
 
float score
 Object detection score.
 

Detailed Description

template<typename Type>
struct fsdk::BaseDetection< Type >

Face detection. Stores a detected face bounding box within a source image frame as well as detection confidence score.

Constructor & Destructor Documentation

template<typename Type>
fsdk::BaseDetection< Type >::BaseDetection ( )
inlinenoexcept

Initializes a default detection.

Detection is initialized in an invalid state.

Member Function Documentation

template<typename Type>
bool fsdk::BaseDetection< Type >::isValid ( ) const
inlinenoexcept

Checks whether a detection is valid.

A detection is considered valid if it has a valid rect and score in [0..1] range.

Returns
true if detection is valid, false otherwise.

The documentation for this struct was generated from the following file: