First time here? Check out the FAQ!
answered 2014-04-09 05:38:01 -0600
this is abit late, but you could try the BackgroundSubtractorGMG which is supposedly tuned for light variations. See here
Opencv v3.0.0_beta documentation has info on each of the 3 implemented algorithms here