Integrating computer vision techniques and wireless sensor networks in video surveillance systems