digiKam
faceitemretriever.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-09-03
7  * Description : Integrated, multithread face detection / recognition
8  *
9  * Copyright (C) 2010-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_FACE_ITEM_RETRIEVER_H
25 #define DIGIKAM_FACE_ITEM_RETRIEVER_H
26 
27 // Local includes
28 
29 #include "facepipeline_p.h"
30 
31 namespace Digikam
32 {
33 
34 class Q_DECL_HIDDEN FaceItemRetriever
35 {
36 public:
37 
38  explicit FaceItemRetriever(FacePipeline::Private* const d);
40 
41  void cancel();
42 
43  QList<QImage*> getDetails(const DImg& src, const QList<QRectF>& rects) const;
44  QList<QImage*> getDetails(const DImg& src, const QList<FaceTagsIface>& faces) const;
45  QList<QImage*> getThumbnails(const QString& filePath, const QList<FaceTagsIface>& faces) const;
46 
47 protected:
48 
50 
51 private:
52 
53  // Disable
54  FaceItemRetriever(const FaceItemRetriever&) = delete;
55  FaceItemRetriever& operator=(const FaceItemRetriever&) = delete;
56 };
57 
58 } // namespace Digikam
59 
60 #endif // DIGIKAM_FACE_ITEM_RETRIEVER_H
Definition: dimg.h:62
Definition: faceitemretriever.h:35
ThumbnailImageCatcher * catcher
Definition: faceitemretriever.h:49
Definition: facepipeline_p.h:50
Definition: thumbnailloadthread.h:283
Definition: datefolderview.cpp:43