@Pippo wrote:
Hi,
I am trying to build up people counter .. but the camera is very low and near a spot light...when someone enters , takes all the light from the spot light and reflects the light everywhere..making the MOG2 going crazy !!
You can see what happens in this video: https://www.youtube.com/watch?v=KmK_38PsN7o
Any Idea on how to improve background subtraction ?
I thought to evaluate over all frames the total average light (AV_light) and then the light for the current frame (CU_light) and the difference Diff_light=CU_light - AV_light
then I could do:
New_Current_Mat = Current_Mat + cv::Scalar(Diff_light,Diff_light,Diff_light);what do Yout Think?
Any other smarter Idea?
Any other better background subtraction other MOG2?
tks,
pippo
Posts: 3
Participants: 2