digiKam
Digikam::FacialRecognitionWrapper::Private Class Reference

Public Member Functions

void applyParameters ()
 
void clear (const QList< int > &idsToClear, const QString &trainingContext)
 
Identity findByAttribute (const QString &attribute, const QString &value) const
 
Identity findByAttributes (const QString &attribute, const QMultiMap< QString, QString > &valueMap) const
 
 Private ()
 
void trainIdentityBatch (const QList< Identity > &identitiesToBeTrained, TrainingDataProvider *const data, const QString &trainingContext)
 
 ~Private ()
 

Static Public Member Functions

static bool identityContains (const Identity &identity, const QString &attribute, const QString &value)
 

Public Attributes

bool dbAvailable
 
QHash< int, IdentityidentityCache
 
QRecursiveMutex mutex
 
QVariantMap parameters
 
OpenCVDNNFaceRecognizerrecognizer
 
int ref
 

Constructor & Destructor Documentation

◆ Private()

◆ ~Private()

Digikam::FacialRecognitionWrapper::Private::~Private ( )

Member Function Documentation

◆ applyParameters()

◆ clear()

void Digikam::FacialRecognitionWrapper::Private::clear ( const QList< int > &  idsToClear,
const QString &  trainingContext 
)

◆ findByAttribute()

Identity Digikam::FacialRecognitionWrapper::Private::findByAttribute ( const QString &  attribute,
const QString &  value 
) const

◆ findByAttributes()

Identity Digikam::FacialRecognitionWrapper::Private::findByAttributes ( const QString &  attribute,
const QMultiMap< QString, QString > &  valueMap 
) const

NOTE: Takes care that there may be multiple values of attribute in valueMap

References Digikam::FacialRecognitionWrapper::identity().

Referenced by Digikam::FacialRecognitionWrapper::findIdentity().

◆ identityContains()

bool Digikam::FacialRecognitionWrapper::Private::identityContains ( const Identity identity,
const QString &  attribute,
const QString &  value 
)
static

NOTE: Takes care that there may be multiple values of attribute in identity's attributes

◆ trainIdentityBatch()

void Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch ( const QList< Identity > &  identitiesToBeTrained,
TrainingDataProvider *const  data,
const QString &  trainingContext 
)

Member Data Documentation

◆ dbAvailable

◆ identityCache

◆ mutex

◆ parameters

◆ recognizer

OpenCVDNNFaceRecognizer* Digikam::FacialRecognitionWrapper::Private::recognizer

◆ ref


The documentation for this class was generated from the following files: