From 41e5703a564b82380020439e87880255980df3a8 Mon Sep 17 00:00:00 2001 From: Ulan Degenbaev Date: Mon, 15 Jul 2024 17:51:12 +0200 Subject: [PATCH] Fix a stale comment --- rust/face-recognition/src/backend/src/onnx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/face-recognition/src/backend/src/onnx.rs b/rust/face-recognition/src/backend/src/onnx.rs index 5cf0406a7..0df91951d 100644 --- a/rust/face-recognition/src/backend/src/onnx.rs +++ b/rust/face-recognition/src/backend/src/onnx.rs @@ -132,7 +132,7 @@ pub fn embedding(image: Vec) -> Result { let model = model.as_ref().unwrap(); let image = image::load_from_memory(&image)?.to_rgb8(); - // The model accepts an image of size 140x140px. + // The model accepts an image of size 160x160px. let image = image::imageops::resize(&image, 160, 160, ::image::imageops::FilterType::Triangle);