Skip to content

Commit 41e5703

Browse files
committed
Fix a stale comment
1 parent 08ea0b2 commit 41e5703

File tree

1 file changed

+1
-1
lines changed
  • rust/face-recognition/src/backend/src

1 file changed

+1
-1
lines changed

rust/face-recognition/src/backend/src/onnx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub fn embedding(image: Vec<u8>) -> Result<Embedding, anyhow::Error> {
132132
let model = model.as_ref().unwrap();
133133
let image = image::load_from_memory(&image)?.to_rgb8();
134134

135-
// The model accepts an image of size 140x140px.
135+
// The model accepts an image of size 160x160px.
136136
let image =
137137
image::imageops::resize(&image, 160, 160, ::image::imageops::FilterType::Triangle);
138138

0 commit comments

Comments
 (0)