Traffic Estimation Method for Visual Sensor Networks