Impact modeling and measurement of adverse weather conditions using computer vision