|
FaceTagsIface | addManually (const ItemInfo &info, const DImg &image, const TagRegion &assignedRegion) |
| Add an entry manually.
|
|
FaceTagsIface | confirm (const ItemInfo &info, const FaceTagsIface &face, const DImg &image, int assignedTagId=0, const TagRegion &assignedRegion=TagRegion()) |
|
FaceTagsIface | confirm (const ItemInfo &info, const FaceTagsIface &face, int assignedTagId=0, const TagRegion &assignedRegion=TagRegion()) |
| Confirm the face.
|
|
FaceTagsIface | editRegion (const ItemInfo &info, const DImg &image, const FaceTagsIface &databaseFace, const TagRegion &newRegion) |
| Change the given face's region to newRegion.
|
|
FaceTagsIface | editTag (const ItemInfo &info, const FaceTagsIface &databaseFace, int newTagId) |
| Changes the given face's tagId to newTagId.
|
|
bool | process (const ItemInfo &info) |
| Processes the given image info.
|
|
bool | process (const ItemInfo &info, const DImg &image) |
|
void | process (const QList< ItemInfo > &infos) |
| Batch processing.
|
|
void | remove (const ItemInfo &info, const FaceTagsIface &face) |
| Remove the given face.
|
|
void | setAccuracyAndModel (int detectAccuracy, FaceScanSettings::FaceDetectionModel detectModel, FaceScanSettings::FaceDetectionSize detectSize, int recognizeAccuracy, FaceScanSettings::FaceRecognitionModel recognizeModel) |
|
void | train (const ItemInfo &info, const QList< FaceTagsIface > &faces) |
| Train the given faces.
|
|
void | train (const ItemInfo &info, const QList< FaceTagsIface > &faces, const DImg &image) |
|
|
void | finished () |
| Emitted when the last package has finished processing.
|
|
void | processed (const FacePipelinePackage &package) |
| Emitted when one package has finished processing.
|
|
void | processing (const FacePipelinePackage &package) |
| Emitted when one package begins processing.
|
|
void | progressValueChanged (float progress) |
|
void | scheduled () |
| Emitted when processing is scheduled.
|
|
void | skipped (const QList< ItemInfo > &skippedInfos) |
| 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.
|
|
|
QString | benchmarkResult () const |
|
void | cancel () |
| Cancels all processing.
|
|
void | construct () |
|
bool | hasFinished () const |
|
void | plugDatabaseEditor () |
|
void | plugDatabaseFilter (FilterMode mode) |
| You can plug these four different steps in the working pipeline.
|
|
void | plugDatabaseWriter (WriteMode mode) |
|
void | plugDetectionBenchmarker () |
|
void | plugFaceDetector () |
|
void | plugFacePreviewLoader () |
|
void | plugFaceRecognizer () |
|
void | plugParallelFaceDetectors () |
|
void | plugRecognitionBenchmarker () |
|
void | plugRerecognizingDatabaseFilter () |
|
void | plugRetrainingDatabaseFilter () |
|
void | plugTrainer () |
|
QThread::Priority | priority () const |
|
void | setPriority (QThread::Priority priority) |
| Set the priority of the threads used by this pipeline.
|
|
void | shutDown () |
| Cancels and waits for the pipeline to finish.
|
|
void Digikam::FacePipeline::plugDatabaseFilter |
( |
FilterMode |
mode | ) |
|
1) Call any of the four plug...() methods. See below for supported combinations. 2) Call construct() to set up the pipeline.
- Database filter: Prepares database records and/or filters out items. See FilterMode for specification.
- Preview loader: If no preview loader is plugged, you must provide a DImg for face detection and recognition
- Face Detector: If no recognizer is plugged, all detected face are marked as the unknown person
- Face Recognizer: If no detector is plugged, only already scanned faces marked as unknown will be processed. They are implicitly read from the database.
- DatabaseWriter: Writes the detection and recognition results to the database. The trainer works on a completely different storage and is not affected by the database writer.
- DatabaseEditor: Can confirm or reject faces
PlugParallel: You can call this instead of the simple plugging method. Depending on the number of processor cores of the machine and the memory cost, more than one element may be plugged and process parallelly for this part of the pipeline.
Supported combinations: (Database Filter ->) (Preview Loader ->) Detector -> Recognizer (-> DatabaseWriter) (Database Filter ->) (Preview Loader ->) Detector (-> DatabaseWriter) (Database Filter ->) (Preview Loader ->) Recognizer (-> DatabaseWriter) DatabaseEditor Trainer DatabaseEditor -> Trainer