initial commit

This commit is contained in:
2022-11-10 00:41:06 +01:00
commit 0eccde4b18
9 changed files with 628 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
use descriptors::{Descriptor, Median};
pub mod descriptors;
fn main() {
let desc = Median;
let img0 = image::open("img/meowl.jpg").unwrap();
let img1 = image::open("img/nyameowl.jpg").unwrap();
let img2 = image::open("img/armmeowl.jpg").unwrap();
println!("{:#x}", desc.describe(img0));
println!("{:#x}", desc.describe(img1));
println!("{:#x}", desc.describe(img2));
}