Project Report1
Project Report1
Project Report on
Bachelor of Technology
in
Submitted By: -
Harshit gupta(22015004041)
Aayush jha(22015004003)
Abhinav baluni(22015004004)
DECEMBER 2024
CERTIFICATE
I hereby certify that the work which is being presented in the B. Tech Project Report entitled,
' Plant disease classifier' in partial fulfilment of the requirements for the award of the
Bachelor of Technology in Computer Science & Engineering and submitted to the
Department of Computer Science & Engineering of Echelon Institute of Technology,
Faridabad is an authentic record of my own work carried out during a period from August
2024 to December 2024.
The matter presented in this report has not been submitted by me for the award of any other degree
elsewhere.
Signature of Candidate
Harshit gupta(22015004041)
Aayush jha(22015004003)
Abhinav baluni(22015004004)
TO WHOM IT MAY CONCERN
This is to certify that the Project entitled ‘Plant disease classifier’ submitted by“
Harshit gupta" (22015004041), “Aayush jha” (22015004003),” Abhinav baluni”
(22015004004) Department of Computer Science and Engineering, Echelon Institute
of Technology Under J.C. Bose University of Science and Technology, YMCA
(Formerly YMCA UST), Faridabad, for partial fulfilment of the requirements for the
degree of Bachelor of Technology in Computer Science & Engineering; is a Bonafide
record of the work and investigations carried out by him under my supervision and
guidance.
Ms Priyanka
Signature of HOD
Head of Department
ACKNOWLEDGEMENT
We take this opportunity to thank all those who have helped us in completing the
project successfully. We would like to express our gratitude to Ms. Priyanka, who
as my guide/mentor provided me with every possible support and guidance throughout
the development of project. This project would never have been completed without her
encouragement and support.
We would also like to show our gratitude to Dr. Manisha Vashisht, Head of
Department for providing us the required resources and a healthy environment for
carrying out our project work
Harshit gupta(22015004041)
Aayush jha(22015004003)
Abhinav baluni(22015004004)
ABSTRACT
The Plant Disease Classifier is an advanced artificial intelligence-driven system that aims
to revolutionize modern agriculture by identifying and classifying plant diseases with high
accuracy. The system leverages state-of-the-art machine learning algorithms to analyse
images of plant leaves, detecting symptoms associated with various diseases.
By providing real-time diagnostic insights, the classifier helps farmers and agricultural
professionals take timely preventive measures, thereby reducing crop losses and ensuring
better agricultural productivity. Early detection of plant diseases plays a crucial role in
minimizing yield losses and improving food security, making this Ai based solution highly
significant in the agricultural sector.
The methodology of the project includes collecting and preprocessing a large dataset of
diseased and healthy plant images, training a deep learning model using convolutional
neural networks (CNNs), and evaluating its performance using precision, recall, and
accuracy metrics. The trained model is then integrated into a user-friendly mobile or web
application for ease of access and practical usability.
The system is designed to recognize a wide range of plant diseases, including bacterial,
fungal, and viral infections, ensuring that farmers receive precise recommendations for
disease management. Additionally, the classifier incorporates advanced image processing
techniques to enhance the quality of input data and improve classification accuracy.
Furthermore, the report provides an extensive review of existing research, discusses key
challenges in plant disease detection, and explores potential enhancements such as real-
time monitoring and IoT-based automated plant health assessments.
Traditional methods of plant disease detection rely heavily on expert knowledge and
manual inspection, which can be time-consuming, error-prone, and impractical for large-
scale farming. This project demonstrates how AI-powered solutions can bridge the gap
between conventional techniques and modern precision agriculture.
One of the major challenges in developing the Plant Disease Classifier is ensuring that the
model generalizes well to different environmental conditions, lighting variations, and plant
species. The project addresses this issue by utilizing data augmentation techniques, transfer
learning, and an extensive dataset with diverse samples. Moreover, strategies such as
hyperparameter tuning and model optimization are implemented to enhance the robustness
and efficiency of the system.
This document details the project's objectives, the underlying technologies, the challenges
encountered, and the proposed solutions. Additionally, it discusses the future scope of this
AI-driven agricultural tool, including enhancements in dataset diversity, model
generalization, and scalability for large-scale deployment. Future improvements include
integrating multi-spectral imaging for better disease detection, incorporating real-time
alerts and recommendations for farmers, and expanding the classifier to support multiple
crops and regions.
By leveraging machine learning, this project paves the way for a more efficient and
sustainable agricultural sector, aiding in food security and economic stability worldwide.
The Plant Disease Classifier represents a step forward in applying Ai driven technologies
to agriculture, enabling early disease detection, reducing dependence on chemical
treatments, and improving overall crop health. The integration of such systems in precision
farming has the potential to revolutionize agricultural practices, ensuring that farmers have
access to intelligent decision support tools that enhance productivity and sustainability.
S. Chapter
Title Page No.
No No.
1. Chapter-1 Introduction
13
18
24
30
References 36
INTRODUCTION
Farmers often lack access to rapid and accurate disease identification tools, resulting in
delayed interventions and increased reliance on chemical pesticides that may not be
necessary. With recent advancements in artificial intelligence (AI) and machine
learning (ML), technology has enabled automated and highly efficient plant disease
detection systems.
AI-driven solutions can process large datasets, recognize disease patterns with high
precision, and generate actionable insights in real time. The integration of AI in
agriculture is revolutionizing plant health monitoring by improving accuracy, reducing
costs, and offering real-time diagnostic capabilities.
1.1 Background
Plant diseases have been a major threat to global food security, affecting crops such as
wheat, rice, maize, and fruits. The rapid spread of infections can destroy entire fields,
leading to economic losses and food shortages.
To address these challenges, researchers have turned to AI-based solutions for plant
disease detection. Machine learning algorithms, particularly deep learning models,
have demonstrated superior performance in identifying diseases from plant leaf images.
These models can classify diseases with high accuracy, providing farmers with rapid
and reliable diagnostic tools.
8
1.2 Importance of Plant Disease Classification
Increased Crop Yields: Timely detection allows farmers to take corrective actions
before diseases spread.
Lower Costs: Automated detection minimizes the need for frequent expert
consultations.
Enhanced Food Security: Protecting crops ensures stable food supplies and economic
stability.
The growing availability of open-source datasets and improved computing power has
further enabled researchers to develop robust classification models.
This project implements a deep learning-based approach to classify plant diseases using
image processing techniques. The model is trained to identify different types of plant
infections, offering farmers an efficient way to diagnose diseases. Additionally,
integrating this system into an easy-to-use mobile or web application makes it
accessible to farmers, researchers, and agricultural experts globally.
9
1.4 Challenges in Plant Disease Classification
Limited Datasets: Some crops and diseases lack sufficient labelled data for training
robust models.
This project aims to develop an AI-based system that can accurately classify plant
diseases based on leaf images. The proposed system includes:
By integrating this system into mobile or web applications, farmers and agricultural
professionals can access real-time plant disease diagnostics, making it an indispensable
tool for modern precision agriculture. The ability to automate disease detection and
provide rapid, accurate diagnoses will revolutionize the way plant diseases are
managed, leading to increased crop yields, reduced losses, and more sustainable
farming practices.
10
1.6 Future Advancements
11
12
OBJECTIVES OF PROJECT
2.1 Develop an Efficient Plant Disease Detection System o Design and implement a
robust machine learning model capable of identifying plant diseases from leaf images.
Ensure real-time disease detection with minimal processing time and high accuracy.
Compare different deep learning models to determine the best performing architecture.
2.2 Create a Large and Diverse Dataset o Collect high-quality images of diseased and
healthy plants from multiple sources, including open datasets and field studies.
Ensure dataset diversity by including various plant species, geographical regions, and
environmental conditions.
Train models using deep learning frameworks such as TensorFlow and PyTorch. o
Utilize advanced feature extraction techniques to improve the differentiation between
healthy and diseased plants.
13
2.4 Improve Agricultural Productivity o Minimize crop losses by providing early
disease detection to enable timely intervention.
Reduce manual labour efforts in disease detection, allowing farmers to focus on other
critical farming operations.
Implement a simple and intuitive graphical interface for easy navigation by farmers and
agricultural professionals.
Ensure multilingual support to cater to farmers across different regions and linguistic
backgrounds.
Provide step-by-step guidance on how to capture and upload plant images for accurate
disease identification.
Enable push notifications and alerts to inform farmers about disease outbreaks in their
region.
2.6 Optimize Model Performance and Efficiency o Utilize techniques such as transfer
learning and hyperparameter tuning to maximize accuracy while maintaining
computational efficiency.
Ensure that the model can run effectively on resource constrained devices such as
mobile phones.
Explore lightweight deep learning models such as Mobile Net for deployment on low-
power devices.
14
2.7 Enable Real-World Deployment and Scalability o Conduct real-world validation
tests in agricultural fields to assess model accuracy and usability.
Scale the model to accommodate new plant species, climate conditions, and disease
variations.
Enable periodic updates to include newly discovered plant diseases and their treatment
methods.
Provide offline capabilities for farmers in remote locations with limited internet access.
Encourage organic farming methods by identifying diseases that can be treated without
chemicals.
Provide insights into soil health and optimal growing conditions by integrating external
agricultural data sources.
2.9 By achieving these objectives, the Plant Disease Classifier aims to transform
agricultural disease management, ensuring higher crop yields, reduced losses, and
enhanced decision-making. The project contributes to a more efficient and technology-
driven farming ecosystem, fostering sustainability, precision agriculture, and improved
food security worldwide.
The successful implementation of this system will empower farmers with accessible,
AI-driven tools that provide quick and reliable plant disease detection, reducing
economic losses and contributing to global agricultural advancement.
15
2.9.1 Develop an Efficient Plant Disease Detection System o Design and implement a
robust machine learning model capable of identifying plant diseases from leaf images.
Ensure real-time disease detection with minimal processing time and high accuracy.
2.9.2 Create a Large and Diverse Dataset o Collect high-quality images of diseased and
healthy plants from multiple sources, including open datasets and field studies.
Ensure dataset diversity by including various plant species, geographical regions, and
environmental conditions. o Implement preprocessing techniques such as image
normalization and augmentation to enhance model performance.
Train models using deep learning frameworks such as TensorFlow and PyTorch.
O Implement a simple and intuitive graphical interface for easy navigation by farmers
and agricultural professionals.
2.9.6 Optimize Model Performance and Efficiency o Utilize techniques such as transfer
learning and hyperparameter tuning to maximize accuracy while maintaining
computational efficiency.
16
OEnsure that the model can run effectively on resource-constrained devices such as
mobile phones.
17
DESIGN AND APPROACH/METHODOLOGY
3.1 Introduction
3.3 Preprocessing
3.3.2 Normalization
Choosing the right model architecture and training process is essential for
accurate disease classification.
The dataset was split into training (70%), validation (20%), and testing
(10%) sets.
The Adam optimizer and categorical cross-entropy loss function were
employed.
Model training was performed using GPU acceleration to speed up
computations.
3.5 Model Evaluation
Evaluating the performance of the trained model is necessary to ensure its
effectiveness in real-world applications.
The trained model was integrated into a web-based and mobile friendly
application for real-time use.
Cloud-based deployment allowed for scalability and continuous model
updates.
Farmers can upload images of plant leaves, and the system provides instant
disease classification and treatment recommendations.
A user-friendly interface was designed to ensure accessibility for
nontechnical users.
The design and methodology adopted in this project ensure an accurate and
21
efficient plant disease classification system. The structured approach in
data collection, preprocessing, model selection, and deployment
guarantees real world applicability and effectiveness in modern
agriculture. By implementing AI-driven techniques, this project enhances
agricultural productivity, reduces reliance on chemical treatments, and
empowers farmers with real-time disease detection capabilities. Future
improvements will focus on incorporating multimodal inputs such as
hyperspectral imaging and integrating IoT sensors for continuous plant
health monitoring.
22
23
RESULT AND DISCUSSION
4.1 Introduction
The results obtained from the implementation of the Plant Disease Classifier are
analyzed and discussed in this chapter. The key performance metrics, model evaluation,
and real-world usability are assessed to determine the efficiency of the system.
The analysis includes accuracy, precision, recall, F1-score, confusion matrix, and
comparison with existing methodologies. Evaluating the classifier’s performance is
essential for assessing its applicability in real world agricultural scenarios and ensuring
that the system provides reliable results for farmers and agricultural professionals.
The trained Convolutional Neural Network (CNN) model was evaluated using various
performance metrics that assess classification accuracy and robustness. The following
metrics were used:
Accuracy: Measures the overall correctness of predictions by calculating the ratio of
correctly classified cases to total cases.
Precision: Indicates the fraction of correctly predicted positive cases out of all predicted
positives, highlighting the model’s ability to avoid false positives.
Recall (Sensitivity): Reflects how well the model captures actual positive cases,
minimizing false negatives.
Receiver Operating Characteristic (ROC) Curve and Area Under Curve (AUC): Used
to evaluate the model’s ability to distinguish between healthy and diseased plant
samples.
The analysis includes accuracy, precision, recall, confusion matrix, and comparison
with existing methodologies.
24
4.3 Model Results
The CNN-based classifier was trained and tested on a diverse dataset containing
multiple plant species and various disease categories. The performance results were as
follows:
Training Accuracy: 96%
25
26
4.4 Comparison with Traditional Methods
To further evaluate the efficiency of the AI-based classifier, its results were compared
with traditional plant disease detection methods, including manual inspection and
conventional machine learning models:
From the comparison, it is evident that deep learning-based classification using CNN
outperformed traditional methods by a significant margin. The CNN model was able to
recognize complex patterns in plant images, leading to a higher accuracy rate and fewer
misclassifications.
Additionally, it reduced the need for manual inspection, making disease detection
more scalable and accessible.
4.5 Discussion
27
4.5.1 Challenges and Limitations
Imbalanced Data: Some disease categories had fewer samples, affecting classification
performance for rare diseases.
Computational Costs: While CNN models provide high accuracy, they require
substantial computational resources for training and inference.
Expanding the Dataset: Collecting additional samples of rare plant diseases to ensure a
more balanced dataset.
Hybrid Models: Combining CNN with other deep learning architectures like Vision
Transformers (ViTs) for improved feature extraction.
The Plant Disease Classifier successfully identified diseases with high accuracy and
outperformed traditional classification methods. The model demonstrated robustness
in handling diverse datasets and environmental conditions, making it a promising tool
for agricultural applications. While challenges such as false positives and dataset
imbalances exist, proposed improvements such as dataset expansion and hybrid
modeling techniques can further enhance performance.
Key Takeaways:
28
Performance was consistent across various plant species and disease categories.
The classifier can be integrated into mobile applications for real-time disease detection.
Further refinements, such as IoT-based monitoring and dataset expansion, can enhance
real-world usability.
This study demonstrates the potential of AI in precision agriculture and suggests further
refinements for more robust performance in real-world applications. The future of AI-
driven plant disease detection lies in real-time monitoring, increased dataset diversity,
and improved computational efficiency to provide farmers with an advanced tool for
crop protection and sustainable farming.
29
CONCLUSIONS AND FUTURE SCOPE
5.1 Conclusion
The Plant Disease Classifier is a deep learning-based system designed to identify plant
diseases from leaf images with high accuracy. The model utilizes image processing
techniques, convolutional neural networks (CNNs), and machine learning algorithms
to classify various plant diseases efficiently.
The classifier was trained on a dataset consisting of images of diseased and healthy
plant leaves. By preprocessing the images and applying deep learning techniques, the
system achieved a significant level of accuracy in detecting different plant diseases.
The results demonstrate that AI-powered solutions can be effectively used in precision
agriculture to mitigate crop losses and improve overall productivity.
The ability of machine learning models to process vast amounts of data and recognize
patterns beyond human capability offers significant advantages in disease
classification.
This project proves that AI-driven disease classification can be a valuable tool in
modern farming. With further advancements, it can be integrated into practical
applications such as mobile applications or smart farming systems.
30
5.2.1 Expansion of Dataset and Model Accuracy
The accuracy and robustness of the classifier can be further improved by incorporating
a more diverse dataset, including images taken under different lighting conditions,
various angles, and multiple plant species.
The inclusion of real-world field images rather than lab-captured ones will help the
model perform better in practical scenarios.
Data augmentation techniques such as rotation, scaling, and contrast adjustments can
help train the model with variations in real-world conditions.
Expanding the dataset with more localized crop varieties and regional diseases will
improve adaptability for different agricultural environments.
Providing real-time disease diagnosis along with additional insights like disease
severity levels.
Enabling offline capabilities in mobile apps so that farmers in remote areas can use the
system without internet access.
31
Adding a feature to determine the severity of the disease (mild, moderate, severe) to
help farmers decide the urgency of treatment.
Integrating disease progression prediction models to estimate how fast a disease will
spread based on environmental conditions.
Connecting the classifier with agricultural advisory systems to provide expert guidance
on disease management.
Developing a chatbot or virtual assistant that interacts with farmers and provides
tailored suggestions.
Offering crop rotation and soil health recommendations based on disease detection
trends.
This can help farmers in rural areas where internet access is limited, making disease
detection more accessible.
32
Using sensor data to predict potential disease outbreaks before symptoms appear on the
plant leaves.
Developing an automated alert system that notifies farmers of potential disease risks in
their area based on sensor readings and AI predictions.
Enabling smart irrigation and pest control systems that adjust farming practices based
on real-time disease detection data.
Using techniques like transfer learning to fine-tune the model for different crops and
regions without requiring extensive retraining.
Allowing farmers to contribute images of newly observed diseases, thus expanding the
system’s knowledge base.
Creating a centralized agricultural disease database that collects real-time disease data
from different regions and helps policymakers in agricultural planning.
Collaborating with global organizations such as the Food and Agriculture Organization
33
(FAO) to standardize AI-based plant disease classification methodologies.
Future developments in this field will likely involve real-time monitoring through IoT
integration, adaptive learning techniques for continuous improvements, and
government collaboration to ensure widespread accessibility.
The ultimate goal is to create a smart, AI-driven agricultural ecosystem that supports
farmers in making data-driven decisions, optimizing resources, and fostering
sustainable farming practices.
With the increasing demand for food security and efficient agricultural practices, AI-
based solutions like the Plant Disease Classifier will continue to play a crucial role in
shaping the future of farming.
34
35
REFERENCES
Mohanty, S. P., Hughes, D. P., & Salathé, M. (2016). Using deep learning for image-
based plant disease detection. Frontiers in Plant Science, 7, 1419.
DOI: 10.3389/fpls.2016.01419
Ferentinos, K. P. (2018). Deep learning models for plant disease detection and
diagnosis. Computers and Electronics in Agriculture, 145, 311-318.
DOI: 10.1016/[Link].2018.01.009
Too, E. C., Yujian, L., Njuki, S., & Yingchun, L. (2019). A comparative study of
fine-tuning deep learning models for plant disease identification.
Computers and Electronics in Agriculture, 161, 272-279.
DOI: 10.1016/[Link].2018.03.032
Sladojevic, S., Arsenovic, M., Anderla, A., Culibrk, D., & Stefanovic, D. (2016).
Deep neural networks based recognition of plant diseases by leaf image classification.
Computational Intelligence and Neuroscience, 2016, 3289801.
DOI: 10.1155/2016/3289801
Wallelign, S., Demissie, D., & Yalew, S. (2021). Machine learning approaches for
plant disease detection: A review. Journal of Plant Pathology & Microbiology, 12(3),
1-9.
DOI: 10.37532/2329-955X.21.12.507
Ghosal, S., Blystone, D., Hayden, L., Overmire, M., & Boggess, M. (2018).
36
An explainable deep machine vision framework for plant stress phenotyping.
Proceedings of the National Academy of Sciences, 115(18), 4613-4618.
DOI: 10.1073/pnas.1718281115
37