![]() |
digiKam
|
#include <facescansettings.h>
Public Types | |
enum | AlreadyScannedHandling { Skip , Merge , Rescan , ClearAll } |
enum | FaceDetectionModel { SSDMOBILENET , YOLOv3 , YuNet } |
enum | FaceDetectionSize { ExtraSmall , Small , Medium , Large , ExtraLarge } |
enum | FaceRecognitionModel { OpenFace , SFace } |
enum | ScanTask { Detect , DetectAndRecognize , RecognizeMarkedFaces , RetrainAll , BenchmarkDetection , BenchmarkRecognition } |
Public Member Functions | |
FaceScanSettings () | |
~FaceScanSettings () | |
Public Attributes | |
AlbumList | albums |
Albums to scan. | |
AlreadyScannedHandling | alreadyScannedHandling = Skip |
int | detectAccuracy = DNN_MODEL_THRESHOLD_NOT_SET |
Detection accuracy. | |
FaceDetectionModel | detectModel = FaceDetectionModel::YuNet |
Detection Model. | |
FaceDetectionSize | detectSize = FaceDetectionSize::Medium |
Detection Model. | |
ItemInfoList | infos |
Image infos to scan. | |
int | recognizeAccuracy = DNN_MODEL_THRESHOLD_NOT_SET |
Detection accuracy. | |
FaceRecognitionModel | recognizeModel = FaceRecognitionModel::OpenFace |
Detection Model. | |
ScanTask | task = Detect |
bool | useFullCpu = false |
Processing power. | |
bool | wholeAlbums = false |
Whole albums checked. | |
Face detection AI models.
Enumerator | |
---|---|
SSDMOBILENET | SSD MobileNet neural network inference [https://github.com/arunponnusamy/cvlib]. |
YOLOv3 | YOLO neural network inference [https://github.com/sthanhng/yoloface]. |
YuNet | YuNet neural network inference [https://github.com/opencv/opencv_zoo/tree/main]. |
Face recognition AI models.
Enumerator | |
---|---|
OpenFace | OpenFace pre-trained neural network model [https://github.com/sahilshah/openface/tree/master]. |
SFace | SFace pre-trained neural network model [https://github.com/opencv/opencv_zoo/blob/main/models/face_recognition_sface/]. |
Different possible tasks processed while scanning operation.
Digikam::FaceScanSettings::FaceScanSettings | ( | ) |
Digikam::FaceScanSettings::~FaceScanSettings | ( | ) |
AlbumList Digikam::FaceScanSettings::albums |
Albums to scan.
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), and Digikam::MaintenanceDlg::settings().
AlreadyScannedHandling Digikam::FaceScanSettings::alreadyScannedHandling = Skip |
int Digikam::FaceScanSettings::detectAccuracy = DNN_MODEL_THRESHOLD_NOT_SET |
Detection accuracy.
use default value from dnnmodels.conf
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
FaceDetectionModel Digikam::FaceScanSettings::detectModel = FaceDetectionModel::YuNet |
Detection Model.
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
FaceDetectionSize Digikam::FaceScanSettings::detectSize = FaceDetectionSize::Medium |
Detection Model.
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
ItemInfoList Digikam::FaceScanSettings::infos |
Image infos to scan.
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
int Digikam::FaceScanSettings::recognizeAccuracy = DNN_MODEL_THRESHOLD_NOT_SET |
Detection accuracy.
use default value from dnnmodels.conf
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
FaceRecognitionModel Digikam::FaceScanSettings::recognizeModel = FaceRecognitionModel::OpenFace |
Detection Model.
Referenced by Digikam::FacesDetector::FacesDetector(), Digikam::FaceScanWidget::settings(), Digikam::ItemIconView::slotImageRecognizeFaces(), and Digikam::ItemIconView::slotImageScanForFaces().
bool Digikam::FaceScanSettings::useFullCpu = false |
Processing power.
Referenced by Digikam::FacesDetector::FacesDetector(), and Digikam::FaceScanWidget::settings().
bool Digikam::FaceScanSettings::wholeAlbums = false |
Whole albums checked.
Referenced by Digikam::FacesDetector::FacesDetector(), and Digikam::FaceScanWidget::settings().