tobybreckon / fire-detection-cnn

real-time fire detection in video imagery using a convolutional neural network (deep learning) - from our ICIP 2018 paper (Dunnings / Breckon) + ICMLA 2019 paper (Samarth / Bhowmik / Breckon)
MIT License
534 stars 171 forks source link

How to detect a fire on the image ? #33

Closed NguyenThaiHoc1 closed 4 years ago

NguyenThaiHoc1 commented 4 years ago

Hi everyone I see file superpixel-inceptionV10Fire.py and I knew it which detect fire. But I would like to expand the issue because All calculator executes on the image which using CPU and I very confuse when I knew it

I have a question? How do I detect fire on the image (a type of Bounding box ???)

Thank for reading Thai Hoc

tobybreckon commented 4 years ago

I see file superpixel-inceptionV10Fire.py and I knew it which detect fire. But I would like to expand the issue because All calculator executes on the image which using CPU and I very confuse when I knew it

The network runs on the GPU presently for classification. If you which to also perform the superpixels part on a GPU, I would suggest using GSLIC for this part instead - https://github.com/carlren/gSLICr or similar.

I have a question? How do I detect fire on the image (a type of Bounding box ???)

This network does not perform that by default - but the superpixels approach can do this by combining it with the Douglas-Pecker contour algorithm and taking the min/max bounds of the contour - see the pinned PAQ issue post for details.

For more details of what the code does - please read the accompanying research paper.

NguyenThaiHoc1 commented 4 years ago

Thank professor for response !