Machine Learning Methods for Autonomous Flame Detection in Videos