Encoding features from multi-layer Gabor filtering for visual smoke recognition