digiKam
|
Public Member Functions | |
ImageListProvider * | images (const Identity &) override |
ImageListProvider * | newImages (const Identity &id) override |
RecognitionTrainingProvider (const Identity &identity, const QList< QImage * > &newImages) | |
~RecognitionTrainingProvider () override | |
Public Attributes | |
QListImageListProvider | m_empty |
Identity | m_identity |
QListImageListProvider | m_toTrain |
A simple QImage training data container used by RecognitionDatabase::train(Identity, QImage, QString)
|
explicit |
|
override |
|
overridevirtual |
Provides all images known for the given identity. Ownership of the returned object stays with the TrainingDataProvider.
Implements Digikam::TrainingDataProvider.
References m_empty.
|
overridevirtual |
Provides those images for the given identity that have not yet been supplied for training. Ownership of the returned object stays with the TrainingDataProvider.
Implements Digikam::TrainingDataProvider.
References m_empty, m_identity, m_toTrain, and Digikam::QListImageListProvider::reset().
QListImageListProvider Digikam::RecognitionTrainingProvider::m_empty |
Referenced by images(), and newImages().
Identity Digikam::RecognitionTrainingProvider::m_identity |
Referenced by newImages().
QListImageListProvider Digikam::RecognitionTrainingProvider::m_toTrain |
Referenced by newImages().