Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!).



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?


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.


Oh nice, I hadn’t thought of that.


Thanks for the hint!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: