Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
logophobia
· 4y ago · 0 comments
Consider using background subtraction for this:
https://docs.opencv.org/4.x/d1/dc5/tutorial_background_subtr...
Will make things a little more robust (and overengineered!).
Comments
[–]
catlifeonmars
4y ago
I’m curious, could you somehow make the background model adaptive by averaging a rolling window of camera frames to use as the background model in this?
[–]
maxmunzel
4y ago
This is pretty much what I’m doing. Except that I’m using an exponential moving average so I don’t have to mess with windowing.
[–]
catlifeonmars
4y ago
Oh nice, I hadn’t thought of that.
[–]
maxmunzel
4y ago
Thanks for the hint!