This repo is an implementation of Pixel-Wise Fire Detection method which is based on Fuzzy Inference System.
-
RGB2YCrCb Convert image to YCrCb Color Space.
-
Fuzzify input: feed
$Y - Cb$ and$Cr - Cb$ -
Apply rule table
-
Defuzzify output: output probability
-
Reference: This implementation is based on the method described below, but different rule table and implication operator are used.
Çelik T, Özkaramanlı H, Demirel H. Fire and smoke detection without sensors: Image processing based approach[C]//2007 15th European Signal Processing Conference. IEEE, 2007: 1794-1798.
mkdir build
cmake ..
make
./fireDetection 'i' /path/to/image