digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
Loading...
Searching...
No Matches
Digikam::TrainingDataProvider Class Referenceabstract

A TrainingDataProvider provides a call-back interface for the training process to retrieve the necessary information. More...

+ Inheritance diagram for Digikam::TrainingDataProvider:

Public Member Functions

virtual ImageListProviderimages (const Identity &identity)=0
 Provides all images known for the given identity.
 
virtual ImageListProvidernewImages (const Identity &identity)=0
 Provides those images for the given identity that have not yet been supplied for training.
 

Detailed Description

It is not specified, but depends on the backend which of the methods in which order and for which identities will be called.

Member Function Documentation

◆ images()

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

Ownership of the returned object stays with the TrainingDataProvider.

Implemented in Digikam::RecognitionTrainingProvider.

◆ newImages()

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

Ownership of the returned object stays with the TrainingDataProvider.

Implemented in Digikam::RecognitionTrainingProvider.