Any help would be much appreciated.
I need an algorithm to provide a rough foreground mask, for a moving camera and a dynamic scene.
I have gyroscopic stabilization of the image.
For my purposes, It’s safe to assume every moving thing in the frame is a person.
I looked into Spatio-temporal LBP’s [ https://core.ac.uk/download/pdf/194697801.pdf ], but sadly, the implementation of image.find_lbp() does not reveal the necessary histogram to construct an STLBP (although it does calculate it- I did not succeed in obtaining it on the micropython level. My C++ is as bad as my English).
I looked into frame differencing, and I could not figure out a way to construct a somewhat accurate foreground mask; it only seems to detect the edges of the moving object. I tried both blending and straight differencing.