digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
Loading...
Searching...
No Matches
Digikam::FacePipelineRecognize Class Reference
+ Inheritance diagram for Digikam::FacePipelineRecognize:

Public Member Functions

 FacePipelineRecognize (const FaceScanSettings &_settings)
 
bool start () override
 
- Public Member Functions inherited from Digikam::FacePipelineBase
 FacePipelineBase (const FaceScanSettings &_settings)
 
- Public Member Functions inherited from Digikam::MLPipelineFoundation
virtual void cancel ()
 
bool hasFinished () const
 

Protected Member Functions

void addMoreWorkers () override
 
bool classifier () override
 
bool extractor () override
 
bool finder () override
 
bool loader () override
 
bool trainer () override
 
bool writer () override
 
- Protected Member Functions inherited from Digikam::FacePipelineBase
bool commonFaceThumbnailExtractor (const QString &pipelineName, MLPipelineFoundation::MLPipelineStage thisStage, MLPipelineFoundation::MLPipelineStage nextStage)
 
bool commonFaceThumbnailLoader (const QString &pipelineName, MLPipelineFoundation::MLPipelineStage thisStage, MLPipelineFoundation::MLPipelineStage nextStage)
 
bool enqueue (MLPipelineQueue *thisQueue, MLPipelinePackageFoundation *package) override
 
- Protected Member Functions inherited from Digikam::MLPipelineFoundation
bool addWorker (const MLPipelineStage &stage)
 
bool checkMoreWorkers (int totalItemCount, int currentItemCount, bool useFullCpu)
 
void clearAllQueues ()
 
void clearQueue (MLPipelineQueue *thisQueue)
 
virtual MLPipelinePackageFoundationdequeue (MLPipelineQueue *thisQueue)
 
void notify (MLPipelineNotification notification, const QString &_name, const QString &_path, int _processed, const DImg &_thumbnail)
 
void notify (MLPipelineNotification notification, const QString &_name, const QString &_path, int _processed, const QIcon &_thumbnail)
 
void notify (MLPipelineNotification notification, const QString &_name, const QString &_path, int _processed, const QImage &_thumbnail)
 
void pipelinePerformanceEnd (const MLPipelineStage &stage, int totalItemCount, QElapsedTimer &timer)
 
void pipelinePerformanceEnd (const MLPipelineStage &stage, QElapsedTimer &timer)
 
void pipelinePerformanceStart (const MLPipelineStage &stage, QElapsedTimer &timer)
 
MLPipelinePackageFoundationqueueEndSignal () const
 
void showPipelinePerformance () const
 
void stageEnd (MLPipelineStage thisStage, MLPipelineStage nextStage)
 
void stageStart (QThread::Priority threadPriority, MLPipelineStage thisStage, MLPipelineStage nextStage, MLPipelineQueue *&thisQueue, MLPipelineQueue *&nextQueue)
 
void waitForStart ()
 

Additional Inherited Members

- Public Types inherited from Digikam::FacePipelineBase
enum  FilterMode {
  ScanAll , ScanNew , TrainNew , TrainAll ,
  TrainRemove , TrainReset
}
 
enum  WriteMode { NormalWrite , OverwriteAllFaces , OverwriteUnconfirmed }
 
- Public Types inherited from Digikam::MLPipelineFoundation
enum  MLPipelineNotification { notifySkipped , notifyProcessed }
 
typedef struct Digikam::MLPipelineFoundation::_MLPipelinePerformanceProfile MLPipelinePerformanceProfile
 
typedef SharedQueue< MLPipelinePackageFoundation * > MLPipelineQueue
 
enum  MLPipelineStage {
  Finder , Loader , Extractor , Classifier ,
  Trainer , Writer , None
}
 
- Signals inherited from Digikam::MLPipelineFoundation
void finished ()
 Emitted when the last package has finished processing.
 
void processed (const MLPipelinePackageNotify::Ptr &package)
 Emitted when one package has finished processing.
 
void processing (const MLPipelinePackageNotify::Ptr &package)
 Emitted when one package begins processing.
 
void progressValueChanged (float progress)
 
void scheduled ()
 Emitted when processing is scheduled.
 
void signalAddMoreWorkers ()
 
void signalUpdateItemCount (const qlonglong itemCount)
 
void skipped (const MLPipelinePackageNotify::Ptr &package)
 Emitted when one or several packages were skipped, usually because they have already been scanned.
 
void started (const QString &message)
 Emitted when processing has started.
 
- Protected Attributes inherited from Digikam::FacePipelineBase
FaceScanSettings settings
 
- Protected Attributes inherited from Digikam::MLPipelineFoundation
bool cancelled = false
 
QAtomicInteger< int > itemsProcessed = 0
 
quint64 maxBufferSize = 2147483648
 2 GB default
 
QMutex mutex
 
QMap< MLPipelineStage, MLPipelinePerformanceProfileperformanceProfileList
 
QMap< MLPipelineStage, MLPipelineQueue * > queues
 
QThreadPool * threadPool = nullptr
 
QMutex threadStageMutex
 
QAtomicInteger< int > totalItemCount = 0
 
quint64 usedBufferSize = 0
 
QList< QFutureWatcher< bool > * > watchList
 

Member Function Documentation

◆ addMoreWorkers()

void Digikam::FacePipelineRecognize::addMoreWorkers ( )
overrideprotectedvirtual

◆ classifier()

bool Digikam::FacePipelineRecognize::classifier ( )
overrideprotectedvirtual

◆ extractor()

bool Digikam::FacePipelineRecognize::extractor ( )
overrideprotectedvirtual

◆ finder()

bool Digikam::FacePipelineRecognize::finder ( )
overrideprotectedvirtual

◆ loader()

bool Digikam::FacePipelineRecognize::loader ( )
overrideprotectedvirtual

◆ start()

bool Digikam::FacePipelineRecognize::start ( )
overridevirtual

Reimplemented from Digikam::MLPipelineFoundation.

◆ trainer()

bool Digikam::FacePipelineRecognize::trainer ( )
inlineoverrideprotectedvirtual

◆ writer()

bool Digikam::FacePipelineRecognize::writer ( )
overrideprotectedvirtual