co2 analyther using opencv