A practical vision system for the detection of moving objects