Real-Time Video Surveillance by an Active Camera