aboutsummaryrefslogtreecommitdiff
path: root/signature.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-29 12:19:25 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-29 12:19:25 -0400
commitd6663fe7b71db340b3c7a1d069c473f725caa3a8 (patch)
treef6db2a320abef031d4516541449735733a505899 /signature.hpp
parent67be79385f0b22fe6428e213d2b6422742d994c4 (diff)
downloaddeduper-d6663fe7b71db340b3c7a1d069c473f725caa3a8.tar.xz
Trying to support the superior operating system.
Also reformat a bit of legacy code. Smells like mold.
Diffstat (limited to 'signature.hpp')
-rw-r--r--signature.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/signature.hpp b/signature.hpp
index b3c5c40..0197e75 100644
--- a/signature.hpp
+++ b/signature.hpp
@@ -2,6 +2,7 @@
#define SIGNATURE_HPP
#include <memory>
+#include <filesystem>
#include <opencv2/core.hpp>
struct signature_config
@@ -36,6 +37,8 @@ public:
double distance(const signature &o) const;
bool operator ==(const signature &o) const;
+ static signature from_path(const std::filesystem::path &path, const signature_config &cfg);
+
static signature from_file(const char *fn, const signature_config &cfg);
/*