Video And Image Processing For Identification Of Fire And Smoke