Skip to content

Commit 1a6d4ff

Browse files
Merge pull request #940 from dfinity/ulan/fix-comment
Fix a stale comment in the face recognition example
2 parents 08ea0b2 + 41e5703 commit 1a6d4ff

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)