Hi, I'd like to make background segmentation as a first step in my processing pipeline, but I want it to be lightweight and somehow resistant to lighting conditions. I want to find possible regions of interest which I should process with other heavy algorithms.
From tests on my ARM cpu, MOG2 is quite slow and I want to use it later in the stage. Also I don't want to update bg in each frame.
Absdiff and thresholding is fast, but I don't know how to make it more resistant to change of lightning. Any ideas? It doesn't have to be great, but it should improve the results.
I think that periodic bg mask update is not possible in my scenario.