Smart wireless image sensors for video surveillance