experiment binary fix

This commit is contained in:
2024-05-12 14:38:25 +02:00
parent 659b53ed5c
commit 899ecbbee4
+1 -1
View File
@@ -21,7 +21,7 @@ fn main() {
let name = file.file_name().into_string().expect("Issue with filename");
if !map.contains_key(&name) {
let img = image::open(file.path()).expect("Unable to open file");
let phash = desc.describe(img);
let phash = desc.describe(&img);
map.insert(name, phash);
}
}