r/computervision • u/k4meamea • Mar 31 '26
Showcase Tracking a dancing plastic bag with object detection - the American Beauty stress test
To stress-test our model we pointed it at this classic scene. The "American Beauty" bbox style was just for fun. Had to match the vibe.
9
3
2
u/ChanceInjury558 Apr 01 '26
Please don't misdirect for traction , clearly you have trained model on this , only people who have trained many models know where 0.99 confidence appears.
1
76
19
u/bostaf Mar 31 '26
This was an edge case when I got my masters 10 years ago. Lot has happened since.
7
11
2
4
u/ban3naf1sh Mar 31 '26
Do you ever feel like a plastic bag drifting through the wind wanting to start again. Theatrics aside. Damn.
1
1
u/dromance Mar 31 '26
howd you do this?
1
u/k4meamea Apr 01 '26
Grab a pretrained model, a few line of coɓde and you can easily achieve objects bbox-based. Getting the accuracy demostrated here is more time consuming.
1
u/dromance Apr 02 '26
thanks! i want to implement this in my chicken coup, primarily to identify if animal != chicken, do some function (assuming it's a predator).
If you dont mind me asking, are there any models trained on that?
1
u/ThatCrankyGuy Mar 31 '26
mofo dropping to 33% confidence. would be nice to introduce many floating shopping bags and track them as they interleave
1
u/k4meamea Mar 31 '26
yeah that was my initial footage. but then I remembered this scene from American Beauty and the rest is history.
1
u/tino-latino Apr 01 '26
detection bbox is quite accurate, nice. Is this real time?
1
u/k4meamea Apr 01 '26
The model is to heavy for RT. But achieving RT shouldn't be a problem for a RT-DETR version
1
3
1
u/NaNsoul Apr 01 '26
Try it with this edge case: Tracking a Mimic Octopus as it moves across a coral reef. It’s not just deforming; it’s changing its color, texture, and pattern in real-time to match the environment
1
u/pas_possible Apr 01 '26
In the wise words of Katy Perry: I feel like a plastic bag, drifting through the wind...
0
u/Antique-Wonk Mar 31 '26
Did you use a rolling classification and confidence average across multiple frames?
2
u/k4meamea Apr 01 '26
I didnt even know about this. Ill look into ir. Its just a object detection model with 200+ classes to detect. I instruct it to draw bbox on the plastic bag
1
u/Antique-Wonk Apr 01 '26
That's a great result. Sometimes with objects of high morphology it can help to run a rolling average to avoid bouncing into temporary or transient misclassifications which can be problematic in some applications. Good example would be in self driving cars. Plastic bag, plastic bag, plastic bag, dog, plastic bag. Minimises Phantom braking.
0
0
6
Mar 31 '26
[removed] — view removed comment
0
u/k4meamea Mar 31 '26
It's a stress test for my my use case and model with this backbone and specific configurations. Others have already commented on how easy this task is :)
111
u/italian-sausage-nerd Mar 31 '26
thats... not an edge case at all
- clearly visible at all time, no occlusion
- high framerate
- only one object in view
the most braindead naive centroid tracker would be able to catch this.