digiKam
Digikam::TrainingDataProvider Class Referenceabstract
+ Inheritance diagram for Digikam::TrainingDataProvider:

Public Member Functions

virtual ImageListProviderimages (const Identity &identity)=0
 
virtual ImageListProvidernewImages (const Identity &identity)=0
 
 TrainingDataProvider ()=default
 
virtual ~TrainingDataProvider ()=default
 

Detailed Description

A TrainingDataProvider provides a call-back interface for the training process to retrieve the necessary information. It is not specified, but depends on the backend which of the methods in which order and for which identities will be called.

Constructor & Destructor Documentation

◆ TrainingDataProvider()

Digikam::TrainingDataProvider::TrainingDataProvider ( )
default

◆ ~TrainingDataProvider()

virtual Digikam::TrainingDataProvider::~TrainingDataProvider ( )
virtualdefault

Member Function Documentation

◆ images()

virtual ImageListProvider* Digikam::TrainingDataProvider::images ( const Identity identity)
pure virtual

Provides all images known for the given identity. Ownership of the returned object stays with the TrainingDataProvider.

Implemented in Digikam::RecognitionTrainingProvider.

◆ newImages()

virtual ImageListProvider* Digikam::TrainingDataProvider::newImages ( const Identity identity)
pure virtual

Provides those images for the given identity that have not yet been supplied for training. Ownership of the returned object stays with the TrainingDataProvider.

Implemented in Digikam::RecognitionTrainingProvider.

Referenced by Digikam::FacialRecognitionWrapper::Private::trainIdentityBatch().


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