Fire Detection Using Keras

AP Research Project (2022-23)

PythonC/C++BigQueryKeras

For my AP Research class, I tried to answer the following: "How can machine learning best be utilized to accurately classify video footage of forest fires on the average laptop computer?" In order to do so, I developed and implemented a convolutional neural network (CNN) in Google Colab using the Keras library. I also made use of methods in other libraries such as TensorFlow, NumPy, OpenCV, and matplotlib. In the collection of images below, I have included figures from my paper.

The CNN employed a binary classification method in order to identify images from either a fire or non-fire class, and I ended up training four different models in order to test optimal performance. In total, the final model trained on 3,760 images taken from Kaggle and other open source datasets. The highest F1 scores achieved was 0.96 for both the fire and non-fire classes.

Code ← Back to Portfolio