| Face Engine SDK 4.7.0 A face detection, recognition and tracking engine.

Public Types | Public Member Functions | Public Attributes | List of all members
fsdk::BaseDetection< Type > Struct Template Reference

Face detection. @detail 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 >
BaseDetection & | operator= (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. @detail Stores a detected face bounding box within a source image frame as well as detection confidence score.

## Constructor & Destructor Documentation

## ◆ BaseDetection()

template<typename Type >

fsdk::BaseDetection< Type >::BaseDetection | ( |  | ) |
| inline noexcept

Initializes a default detection.

Detection is initialized in an invalid state.

## Member Function Documentation

## ◆ isValid()

template<typename Type >

bool fsdk::BaseDetection< Type >::isValid | ( |  | ) | const
| inline noexcept

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:

- fsdk.framework/Headers/Types/Detection.h