Introduction - If you have any usage issues, please Google them yourself
This code is used to identify the flame in the picture. The overall idea is to find out the area of interest (possibly the area of flame) and its contour in the picture through color processing of the image, and then extract the geometric features of the contour to judge whether it is a flame