r/learnmachinelearning • u/Expert-Ad598 • Nov 02 '26
Help How to handle object deduplication across multiple camera angles using YOLO (especially for tiny 20x22px crops) across isolated user sessions?
I’m building a computer vision pipeline where users upload multiple photos of the same physical scene taken from different angles (front view, side view, close-up) to build a clean list of unique objects and their attributes
I’m running YOLO for object detection to extract bounding boxes and crop each detected object into lightweight .webp images. Because the same physical object appears across 3 or 4 different photos from different angles, I need to make sure each unique object is only counted once per session, and avoid running expensive downstream AI calls to re-describe an object we already processed from an earlier photo.
2
u/MaximumSafety8706 Nov 02 '26
20×22px crops are too small to dedupe on looks alone. Combine where the object sits in the scene with what it looks like, and match per session. Tentative flow can be:
1
u/sinea17 Nov 02 '26
Keep the source photo ID with each crop, and don't merge two distinct objects visible together in that photo (after removing duplicate detections). Otherwise two identical chairs can turn into one 'unique' chair.
1
u/MeadowPebblex Nov 02 '26
Quick check on the 20x22: is that the object's real size in the photo, or did you shrink the crops when saving the webp? If it's the real size, there isn't much appearance left to match, so geometry has to carry more of the work. If you shrank them, embed from a padded box cut out of the original instead. For geometry, if the objects mostly sit on one plane like a shelf or table, matching background features between two views and estimating a homography lets you check whether two boxes land on the same spot. Do the photos overlap much?