From 8ece6d3ec1b0105047c192c0aa044e4257118e01 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 22 Sep 2022 00:03:01 -0400 Subject: Add "reverse image search". Fixed a stupid performance degradation in the signature library in the process. --- qdeduper/sigdb_qt.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qdeduper/sigdb_qt.hpp') diff --git a/qdeduper/sigdb_qt.hpp b/qdeduper/sigdb_qt.hpp index 112ffa9..772c264 100644 --- a/qdeduper/sigdb_qt.hpp +++ b/qdeduper/sigdb_qt.hpp @@ -33,6 +33,9 @@ public: void scan_files(const std::vector &files, int njobs); void interrupt_scan(); + + std::vector> search_file(const fs::path &files); + size_t num_groups(); std::vector get_group(size_t gid); std::map, double> group_distances(size_t gid); -- cgit v1.2.3