digiKam
facescansettings.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-10-09
7  * Description : Face scan settings
8  *
9  * Copyright (C) 2010-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_FACE_SCAN_SETTINGS_H
26 #define DIGIKAM_FACE_SCAN_SETTINGS_H
27 
28 // Local includes
29 
30 #include "album.h"
31 #include "iteminfo.h"
32 
33 namespace Digikam
34 {
35 
37 {
38 public:
39 
40  enum ScanTask
41  {
48  };
49 
52  {
55  Rescan
56  };
57 
58 public:
59 
60  explicit FaceScanSettings();
62 
63 public:
64 
67 
69  bool useFullCpu;
70 
72  bool useYoloV3;
73 
75  double accuracy;
76 
79 
82 
84 
86 };
87 
88 } // namespace Digikam
89 
90 #endif // DIGIKAM_FACE_SCAN_SETTINGS_H
Definition: facescansettings.h:37
double accuracy
Detection accuracy.
Definition: facescansettings.h:75
bool wholeAlbums
whole albums checked
Definition: facescansettings.h:66
ScanTask task
Definition: facescansettings.h:83
~FaceScanSettings()
Definition: facescansettings.cpp:40
AlbumList albums
Albums to scan.
Definition: facescansettings.h:78
bool useFullCpu
Processing power.
Definition: facescansettings.h:69
ScanTask
Definition: facescansettings.h:41
@ BenchmarkRecognition
Definition: facescansettings.h:47
@ DetectAndRecognize
Definition: facescansettings.h:43
@ Detect
Definition: facescansettings.h:42
@ RecognizeMarkedFaces
Definition: facescansettings.h:44
@ BenchmarkDetection
Definition: facescansettings.h:46
@ RetrainAll
Definition: facescansettings.h:45
AlreadyScannedHandling
For detect and recognize.
Definition: facescansettings.h:52
@ Rescan
Definition: facescansettings.h:55
@ Skip
Definition: facescansettings.h:53
@ Merge
Definition: facescansettings.h:54
bool useYoloV3
Use Yolo V3 model.
Definition: facescansettings.h:72
ItemInfoList infos
Image infos to scan.
Definition: facescansettings.h:81
AlreadyScannedHandling alreadyScannedHandling
Definition: facescansettings.h:85
FaceScanSettings()
Definition: facescansettings.cpp:30
Definition: iteminfolist.h:47
Definition: datefolderview.cpp:43