An efficient fire and smoke detection algorithm based on an end-to-end structured network. (November 2022)