pass image as reference
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ impl DescriptorStore {
|
||||
continue
|
||||
}
|
||||
};
|
||||
let phash = desc.describe(img);
|
||||
let phash = desc.describe(&img);
|
||||
self.map.insert(name, phash);
|
||||
} else {
|
||||
debug!("{} already known, skipping.", name);
|
||||
|
||||
Reference in New Issue
Block a user