Leafproject - Copy1
Leafproject - Copy1
Leafproject - Copy1
Final phase
Detection of plants leaf Diseases using image
Segmentation and soft Computing Techniques
Agricultural productivity is something on which economy highly depends. Reasons that disease detection in
plants important role in agriculture field. If proper care is not taken in this area then it causes serious effects
on plants and due to which respective product quality, quantity or productivity is affected. Detection of plant
disease through some automatic technique is beneficial as it reduces a large work of monitoring in big
farms of crops, and Algorithm for image segmentation technique which is used for automatic detection and
classification of plant leaf diseases, is done by using genetic algorithm.
INTRODUCTION
Automatic detection of the diseases by just seeing the symptoms on the plant leaves makes it easier also
machine vision to provide image based automatic process control.
Image segmentation is grouping an image into different parts. In this Thresholding process is advanced color
method This process is based on various features found in the image.
Genetic algorithm searches from a large sampling of the cost surface. Large number of variables can be
processed and Gives a number of optimum solutions, different image segmentation results can be obtained.
There is lack of advanced automatic technique for detection of leaf diseases and
identification of diseases in initial stage through naked eyes is a most difficult task. This
causes huge economic loss for farmers.
OBJECTIVES
To process the data of the leaf picture from plant dataset.
Extract the feature from pre-processed data.
Accurately classify the leaf disease.
Evaluate performance analysis
EXISTING SYSTEM
The existing method for plant disease detection is simply naked eye observation by experts through which
identification and detection of plant diseases done
DISADVANTAGES
ADVANTAGES
At very early stage itself it detects the symptoms of diseases.
Automatic detection of the diseases by just seeing the symptoms.
Also supports machine vision to provide image based automatic process .
REQUIREMENTS SPECIFICATION
FUNCTIONAL REQUIREMENTS
Image Acquisition
Database Operations
Colour Co-occurrence Method
NON-FUNCTIONAL REQUIREMENTS
Scalability
Reliability
Flexibility
Performance
Cost
HARDWARE AND SOFTWARE REQUIREMENTS
Hardware Requirements
Processor : Corei3 or higher
Hard disk : 20GB
RAM : 4GB
Software Requirements
Operating System : Ubuntu 18 or higher
Tools used : Python 3.7 and above
Database : MySQL/My SQLite
SYSTEM DESIGN
Image acquisition
Preprocessing
Mostly green colored pixels
Removing
Clustering
Computing the features using co-occurrence methodology
ALGORITHM USED
Gaussian naive bayes classifier
Mean shift
LIBRARIES USED
import numpy as np
import pandas as pd
import cv2
Implementation steps
RGB image acquisition
p =0
for i in range(img.shape[0]):
for j in range(img.shape[1]):
B = img[i][j][0]
G = img[i][j][1]
R = img[i][j][2]
if (B > 110 and G > 110 and R > 110):
p += 1