We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08ea0b2 + 41e5703 commit 1a6d4ffCopy full SHA for 1a6d4ff
rust/face-recognition/src/backend/src/onnx.rs
@@ -132,7 +132,7 @@ pub fn embedding(image: Vec<u8>) -> Result<Embedding, anyhow::Error> {
132
let model = model.as_ref().unwrap();
133
let image = image::load_from_memory(&image)?.to_rgb8();
134
135
- // The model accepts an image of size 140x140px.
+ // The model accepts an image of size 160x160px.
136
let image =
137
image::imageops::resize(&image, 160, 160, ::image::imageops::FilterType::Triangle);
138
0 commit comments