Vision based smoke detection system using image energy and color information