Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix stale docstring for run_pet_body_detection

Amrithesh Kakkoth Ente4c4fb3ecfc8d
diff --git a/mobile/apps/photos/rust/src/ml/pet/detect.rs b/mobile/apps/photos/rust/src/ml/pet/detect.rs
index a07248ebc7..39effccde3 100644
--- a/mobile/apps/photos/rust/src/ml/pet/detect.rs
+++ b/mobile/apps/photos/rust/src/ml/pet/detect.rs
@@ -130,7 +130,7 @@ pub fn run_pet_face_detection(
/// Run pet body detection using YOLOv5n model.
///
/// Filters detections by COCO class 15 (cat) or 16 (dog).
-/// Returns the best detection per species class found.
+/// Returns all qualifying detections after NMS.
///
/// This mirrors `pet_pipeline/detection.py` `BodyDetector.detect()`.
pub fn run_pet_body_detection(