GithubHelp home page GithubHelp logo

forest-fire-detection-website-using-cnn's Introduction

FIRE EYE

bandicam 2023-08-08 22-05-41-790

CONTENTS

WHAT IS FIRE EYE?

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.  

FEATURES

  • 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

Features

INSTALLATION

  1. 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
  1. Install the required dependencies:
pip install -r requirements.txt

USAGE

  1. To run Flask Server:
python App.py
  1. Open your web browser and Navigate to http://127.0.0.1:5000 to access the application.

DATASET

For training the YOLO-v5 and Inception-v3 models, you can find the datasets 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.

MODEL TRAINING

• YOLO-v5 Model Training

  1. Download the YOLO training dataset from Kaggle
  2. Set up Yolov5_Training.ipynb script for training the model from scratch.
  3. Use the following script to install the YOLOv5
git clone https://github.com/ultralytics/yolov5  
cd yolov5
  1. Install the required dependencies
pip install -r requirements.txt
  1. Train the model on custom dataset
!python train.py --img 640 --batch 64 --epochs 70 --data custom_train.yaml --weights yolov5s.pt 

• Inception-v3 Model Trraining

  1. Download the Inception v3 training dataset from Kaggle
  2. Set up Inceptionv3_Model_Training.ipynb script for training the model from scratch
  3. 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)
  1. Load the Inception-v3 Model and configure model architecture
inceptionV3 = InceptionV3(input_shape=IMG_SIZE + [3], weights='imagenet', include_top=False)
  1. 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)
  1. Save the model for evaluation and prediction

RESULTS

Results

Yolov5 Results Visualization:

val_batch0_pred

Inception v3 Results Visualization:

predicted_images (3copy)

CONCLUSION

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. "# Forest-Fire-Detection-Website-Using-CNN" "# Forest-Fire-Detection-Website-Using-CNN" "# Forest-Fire-Detection-Website-Using-CNN" "# Forest-Fire-Detection-Website-Using-CNN"

forest-fire-detection-website-using-cnn's People

Contributors

kvjv514 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.