Intelligent Identification and Emissions Estimation of Harmful Gas Based on Background Segregation Algorithm