Fire Eye is a system developed for detecting and monitoring forest fires using two cutting-edge deep learning algorithms (YOLO-v5 and Inception-v3), designed to detect fires at their earliest stages. This early warning system critically analyses the scope of artificial intelligence, reduces the response time of fire authorities, and helps them mitigate the loss of life and property caused by forest fires before they spread uncontrollably. This system increases the reliability and accuracy of fire detection and monitoring operations and contributes to the overall sustainability and resilience of forest ecosystems.
- Includes real-time monitoring feature, using YOLO algorithm for early detection and rapid response to wildfires
- Include Location Tracker feature, in which GPS tracker is implemented to track the area and location of fire
- Include Fire Alerts Reports feature, which generate instant reporting for timely decision-making and effective fire record management
- Utilize the Inception v3 deep learning model in model prediction feature, to accurately detect and classify smoke, fire and non fire
- Improve the efficiency and effectiveness of forest management and firefighting operations
- Clone the repository:
git clone https://github.com/Amerzish-25/Fire_Eye-A_Real-Time_Forest_Fire_and_Smoke_Detection_Website.git
cd Fire_Eye-A_Real-Time_Forest_Fire_and_Smoke_Detection_Website
- Install the required dependencies:
pip install -r requirements.txt
- To run Flask Server:
python App.py
- Open your web browser and Navigate to
http://127.0.0.1:5000
to access the application.
For training the YOLO-v5 and Inception-v3 models, you can find the datasets on Kaggle:
- YOLO V5 Dataset: Link to YOLO-v5 Dataset on Kaggle
- Inception V3 Dataset: Link to Inception-v3 Dataset on Kaggle
Please note that these datasets were used for training the respective models in this project. Ensure that you review the dataset licenses and terms on Kaggle before using them for your own purposes.
- Download the YOLO training dataset from Kaggle
- Set up Yolov5_Training.ipynb script for training the model from scratch.
- Use the following script to install the YOLOv5
git clone https://github.com/ultralytics/yolov5
cd yolov5
- Install the required dependencies
pip install -r requirements.txt
- Train the model on custom dataset
!python train.py --img 640 --batch 64 --epochs 70 --data custom_train.yaml --weights yolov5s.pt
- Download the Inception v3 training dataset from Kaggle
- Set up Inceptionv3_Model_Training.ipynb script for training the model from scratch
- Preprocess the Dataset using data augmentation
training_datagenarator= ImageDataGenerator(rescale=1./255,horizontal_flip=True, vertical_flip=True,
shear_range=0.2, zoom_range=0.2,width_shift_range=0.2,
height_shift_range=0.2,validation_split=0.1)
- Load the Inception-v3 Model and configure model architecture
inceptionV3 = InceptionV3(input_shape=IMG_SIZE + [3], weights='imagenet', include_top=False)
- Compile and Train the model
history =model.fit_generator(train, validation_data=validation, epochs=50,
steps_per_epoch=train.samples//BATCH_SIZE,
validation_steps=validation.samples//BATCH_SIZE, callbacks = callback)
- Save the model for evaluation and prediction
In conclusion, the Fire Eye represents a significant step forward in using technology to enhance forest fire detection and monitoring. As a collaborative and open-source project, we invite contributors from around the world to join us in further refining and expanding the capabilities of Fire Eye. Thank you for exploring our project.