The foreground detection algorithm combined the temporal–spatial information and adaptive visual background extraction. (2nd January 2017)