Detection of Flood Images Using Different Classifiers
Detection of Flood Images Using Different Classifiers
ISSN No:-2456-2165
Abstract:- Flood is not a new disaster that we face We need to know about the flood is happening nearby
nowadays in every part of the world. It is sudden, fast, or should take preventive measures at the earliest. For, this
and the impact is beyond the imagination. Its frequency we are proposing a method known as Detection of Flood
is increasing day by day. Although we can't avoid this using different classifiers. Here we use different satellite
natural disaster, We should manage it properly. For images to detect the occurrence of flood. These images are
that, image detection has a great role and should find the fed to different machine learning algorithms and predicting
best classifier to detect it. The classifiers we use are k- the accuracy of each classifier.
nearest neighbors, Logistic Regression, Support Vector
Classifier, Decision Tree, and Random Forest machine This paper deals with the 2018 Kerala flood. The
learning algorithms. By learning through each algorithm heavy rainfall and bad weather conditions have taken Kerala
we found the best among them. The accuracy obtained in its most worse situation. Every dam was overflowed in
by learning each algorithm on our trained model is quite such a short time. The network had become down fast and
different and we found out the best. First, we prepared communication was not that much easy for the rescue team
the image dataset which includes remote dataset and as well as the people around there. In such cases, rescue
satellite images. Second, we passed the dataset to each teams need to know the current situation in the field. This
classifier and obtained the variant accuracies. Best information can be best mediated if the affected area is
results are produced in each method. The classifier mapped in real-time. Our procedure assures rapid and
which gives the best can be taken for the early prediction accurate mapping using machine learning techniques. The
of the flood. By using new technologies to manage the best dataset have taken for the training the model. Tested
flood will help us with evacuation faster and take care of using different classifiers and better classifier with best
people who are affected. Flood prediction has done here accuracy is taken.
using history rainfall data so that we just predicted the
chance. Detection is done mainly with high accuracy and A. PROBLEM DOMAIN
the accuracy of each classifier is shown. Also the image Flooding detection has a very important role in
tested result shown. managing the flood in the affected area. Existing systems
use fewer data and thereby getting less accuracy for the
Keywords:- Flood Detection ; Accuracy ; Training ; detection. The dataset including satellite images is used for
Convolutional Neural Network ;Logistic Regression ; K- detection. Moreover, the use of images taken from remote
Nearest Neighbor ; Naive Bayes Classifier ; Support Vector areas should also consider for the exact detection. Those
Machine ; Synthetic Minority Oversampling Technique. images gave more accurate segments for the image
segmentation. Today there are a variety of techniques that
I. INTRODUCTION we can choose from. The important role of images and
classifiers is crucial in each technology or whatever the
Flood become a frequent disaster that occurs in every techniques are using detection of image using better
part of the world. In India, almost every year in new places classifier is the best choice. The main drawback of the
the floods are born and which is almost uncontrollable. The existing system is not knowing the better classifier. Some of
government is hardly fighting for the management before, the systems use Twitter images combining with Artificial
during, and after occurred. Satellite images have increased Intelligence to detect which is more time-consuming. There
the ability to predict the flood and thereby preventing the is also a technique that uses hardware at each flood-prone
loss of lives, property, and homes. It can help in the early area, detecting the factors of a flood using sensors and
evacuation of nearby places. Since the number of satellites predicting the occurrence of flood and all. The main demerit
and sensors have increased their prediction of a flood. of these things is network gets down in those areas when a
Significant improvements in the near real-time assessments flood occurs, thereby no further information about that area
of floods have been made due to increased data acquisition can be received. In that cases, detecting the flood using
rates, higher sensor resolution, the improvement of change machine learning holds a huge role and thereby finding the
detection algorithms, and the integration of remote sensing best algorithm to train the model. Thus it has to be detected
systems. We cannot predict these floods at their full in a very accurate way. We use machine learning algorithms
accuracy just can make sure of the lives as possible as that give perfect results. The dataset taken should be
earliest. accurate for classifying. Images act as a weapon for
detecting the disaster at the most valuable time. Using recent
floods in the last years can be used for high accuracy in the
B.PROPOSED METHOD
In this current scenario, natural disasters are more
common compared to previous environmental situations.
Flooding due to heavy rainfall is the major issue that we
face in our daily life. Our project is focusing on the early
flood detection that can take place by analyzing different
satellite images. Floodnet dataset is used to train with
different machine learning classifiers. The main four
classifiers that we applying are SVM, KNN, Logistic
Regression, Decision Tree, etc. we also input the testing
images additionally for checking the result of each
algorithm used. It shows the result as this is Flooded or Not
Flooded. After the execution there we also compare the
accuracy obtained by each algorithm and will take the best Fig 1.Confusion Matrix of Flood detection.
classifier leading with a higher accuracy rate.
The models are used for the comparison between the
C. DATASET accuracy of detecting flood. Each classifier will be trained
The dataset that we are implementing for our project is with the given dataset and predict the output. Flooded and
mainly from the Floodnet Dataset. This data set from the No-flooded images are shown in the Fig1.1 & Fig 1.2.
Microsoft teams are basically collected by the International
Conference combined with UMBC for the Satellite image
data learning. This study is utilizing for research on different
satellite images related to weather, natural disasters like
floods, cyclones, and to find different hydrological
parameter ,etc. Here, this dataset is classified as about 500-
1000 flooded and non-flooded images. Besides, this
information is more useful for exploring the climatic
changes happening nowadays. Heavy rainfall is occurring
due to the high rate of precipitation and humidity. Which
leads to the occurrence of the life-threatening disaster
known as Flooding. These satellite images are then trained Fig 1.1 Flooded Images
with different machine learning algorithms.
V. HARDWARE SPECIFICATIONS
● Processor : i5
● RAM : 4 GB VIII. CONCLUSION
● Hard Disk : 500 GB
Flood Detection using different algorithms was
VI. SOFTWARE SPECIFICATIONS successfully classified using well balanced dataset. For
balancing dataset we used SMOT analysis in which used for
● Python accurate classification. For better classification the use of a
Python is most simplest language that can be used for dataset and the most accurate classifier is essential.
various tasks such as classification, Software Development Mobilenet data model is used for converting the data into
and even many more. Python 3.7 is used here. batches with 10 as the size for each. To compare accuracies
we used the four best among them and from that, SVM is
● IDE : SPYDER the best to detect the flood dataset. This is the optimal
For the programming in python language we use open classification algorithm in which we tested for binary
source cross platform called Spyder here.Spyder is best used classification labeled as flooded or no-flooded.
with jupyter notebooks or other scientific computing tool
such as Anaconda which provides a general python Among the classifiers we used Logistic Regression,
development environment. Support Vector Machine crossed the real accuracy level that
exists. After all, more input data and machine learning
● Scikit-learn (Sklearn) algorithms are needed to be tested if we wish to find the best
Package used for accuracy calculation,modelling in combination for detecting flooded areas. The accuracy has
machine learning which helps us also to draw confusion to be increased shortly for better real-time flood
matrix. management.
● Keras ACKNOWLEDGMENT
The library used for python interfacing for neural
networks. We offer our heartfelt gratitude to everyone ho helped
us to make this effort a grant success. We thank the
VII. PERFORMANCE EVALUATION almighty God for all the benefits he has bestowed upon us.
Our guide, Prof. Roshni R Menon deserves a lot. Our
Classifier Algorithms gave different accuracy levels principal, DR. Nixon Kuruvila, and our Department Head
using the same dataset are shown in the table 1.1. Dr. M Rajeswari, for unwavering support throughout the
project.
Logistic Regression 91.79978700745474 REFERENCES
Support Vector Machine 93.9297124600639. [1]. Lorenzo Alfieri, Sagy Cohen, John Galantowicz, Guy
JP Schumann, Mark A Trigg, Ervin Zsoter, Christel
K-Nearest Neighbour 74.54739084132055 Prud-homme, Andrew Kruczkiewicz, Erin Coughlan
de Perez, Zachary Flamig, et al, (2018) , "A global
Decision Tree 87.43343982960596. network for operational flood risk reduction" .
Table 1.1 Environmental science & policy, 84:149–158.
[2]. Serena Ceola, Francesco Laio, and Alberto Montanari,
The training success with each machine learning (2014) "Satellite nighttime lights reveal increasing
method is presented with the percentage of correctly human exposure to floods worldwide" . Geophysical
classified training points. Research Letters, 41(20):7184–7190,
[3]. Ben DeVries, Chengquan Huang, Megan Lang, John
Jones, Wenli Huang, Irena Creed, and Mark Carroll,
(2017) "Automated Quantification of Surface Water