Fire and smoke detection through Machine Vision