Project Report Auto 3
Project Report Auto 3
INTRODUCTION
In India, around 70% of the population depends on agriculture, making the identification of
plant diseases crucial to prevent yield losses. Manually monitoring plant health is highly
labor-intensive, requires significant expertise, and consumes a great deal of time. As a result,
employing image processing and machine learning models can offer an efficient solution for
detecting plant diseases. This project presents a method for identifying diseases by analyzing
images of plant leaves. Image processing, a branch of signal processing, extracts valuable
information from images, while machine learning a subset of artificial intelligence automates
tasks based on trained data. The goal of machine learning is to analyze this data and fit it into
models that help make informed decisions and accurately predict outcomes. For disease
detection, factors such as leaf color, damage extent, leaf area, and texture are used to classify
different diseases.
In the past, plant disease detection relied on visual inspections or chemical analyses by experts,
which is costly and time-consuming, especially for large farms. The system proposed here
addresses these challenges by enabling automated monitoring of extensive crop fields. This
solution simplifies and reduces the cost of disease detection by allowing diseases to be
identified from symptoms visible on plant leaves. It’s also more efficient and faster than other
deep learning approaches, as it relies on statistical machine learning and image processing
algorithms, making it computationally less demanding.
Plant health is vital for agriculture, food security, and environmental sustainability. Diseases can
cause substantial crop losses, endangering farmers' livelihoods and global food supplies.
Traditional detection methods, which depend on expert knowledge and visual inspections, are
not only subjective but also time-consuming. With recent technological advancements, machine
learning has become an effective tool for automating plant disease detection. By utilizing large
datasets and advanced algorithms, machine learning can detect patterns and anomalies in plant
images, making it a reliable approach for identifying diseases.
Plant diseases pose a major threat to agricultural productivity, but traditional methods of
detecting these issues typically relying on visual inspection and expert judgment—face
several limitations. They’re often slow, not very scalable, and prone to inaccuracies. As a
result, farmers frequently find it hard to catch diseases in their early stages, leading to lower
crop yields and greater economic losses. Additionally, manual inspections require a lot of
labor and struggle to meet the growing demands for food as the global population rises. This
project aims to address these challenges by developing an automated solution using machine
learning to detect and classify plant diseases from leaf images. With advanced image
processing techniques and machine learning algorithms, the goal is to create a model
capable of identifying various plant diseases at different stages, and doing so quickly and
accurately.
This Plant Disease Detection using CNN is proposed by Kushal M U, Mrs Nikitha S ell an
automated leaf disease diagnosis of banana plant. Plant disease detection and classification have
been successfully researched through Convolution Neural Networks (CNN); nevertheless, CNN
fails to capture the posture and orientation of objects due to the inherent incapacity of the max
pooling layer in CNN. In view of these drawbacks, they used a new model called Capsule
Network (caps net). With a test accuracy of 95%, the constructed model correctly detected
banana bacterial wilt, black sigatoka, and healthy leaves. In terms of rotation invariance, it beat
three kinds of CNN architectures: installed a trained CNN model from scratch, lenet5, and
resnet50. The test dataset without rotation using the resnet50 architecture, on the other hand,
outperforms the suggested model. But with rotation the proposed model gives the best result.
For leaf disease identification in plants, the authors suggested an enhanced feature computation
technique based on Squeeze and Excitation (SE) Networks before processing by the original
Capsule networks.
This Plant Disease Detection and Classification proposed by Usha Mittal, Ankita Wadhawan a
significant majority of the population in India makes their living through agriculture. Different
illnesses that develop due to changing weather patterns and are caused by pathogenic
organism’s impact the yields of diverse plant species. The present article analysed some of the
existing techniques in terms of data sources, pre-processing techniques, feature extraction
techniques, data augmentation techniques, models utilized for detecting and classifying diseases
that affect the plant, how the quality of images was enhanced, how overfitting of the model was
reduced, and accuracy. The research papers for this study were selected using various keywords
from peer-reviewed publications from various databases published between 2010 and 2022. A
total of 182 papers were identified and reviewed for their direct relevance to plant disease
detection and classification, of which 75 papers were selected for this review after exclusion
based on the title, abstract, conclusion, and full text. Researchers will find this work to be a
useful resource in recognizing the potential of various existing techniques through data-driven
approaches while identifying plant diseases by enhancing system performance and accuracy.
Mar 2023 Usha Mittal, Ankita Plant Disease Detection Focus on reducing
Wadhawan and Classification overfitting and
enhancing image
quality.
3.1 INTRODUCTION
This Software Requirements Specification (SRS) outlines the functional and non-functional
requirements for a Plant Disease Detection System using machine learning. The system aims to
assist farmers and agricultural professionals in identifying plant diseases through image
analysis, providing timely insights to enhance crop management and yield.
India is an agriculture-based country and about 70% of the population depends on it as their
main source of income and food. Farmers have wide range in selecting their crops and finding a
suitable pesticide for it but in spite of all their efforts it can all be vain if they can’t identify the
disease plaguing their crops. Thus disease on crops can significantly reduce the quality and
quantity of agricultural products along with economical damage to the farmers. To successfully
cultivate crops without incurring much loss we need to properly identify the disease and remedy
it, this requires a lot of work and processing time as detecting each and every plant can be
tedious can time consuming. To lessen the burden of the farmers along with their losses we
propose the use of a system which can detect infected plants so that we can curb the spread of
infection and diseases at an earlier step thus reducing losses and crop failure.
In most cases symptoms like fungal infection and rot can be seen on the leaves, stem and fruit.
This paper provides an insight into how we deal with the problem and further discuss the
challenges of our work and how we can improve upon it in future work. So, to classify different
plant diseases, we plan to design a deep learning system so that a person without expertise in
software should also be able to use it easily. The proposed system is made to predict plant
diseases using the leaves as an identifying factor. It explains the analysis of our methodology
along with some of the feature engineering of the data. A large number of images is collected
for each disease and is classified into database images and input images. The primary attributes
of the leaves that are important are the shape and texture-oriented features. The figure provided
below gives us an insight into the basic principle of our system along with an idea about how
the system works.
1.3 Device Usage: Primarily mobile devices or tablets for on-field use.
2 Agronomists
2.1 Goals: Provide expert advice based on accurate disease detection; analyze
trends in plant health.
2.2 Skills: Proficient in agricultural science and technology; familiar with data
analysis.
2.3 Device Usage: Desktops and laptops for detailed analysis and report
generation.
3 Researchers
3.1 Goals: Explore new methodologies for disease detection and improve existing
models.
3.2 Skills: Strong analytical skills, programming, and familiarity with machine
learning frameworks.
3.3 Device Usage: Workstations with high processing capabilities for training
models.
4 Extension Workers
4.1 Goals: Educate farmers on plant diseases and promote best practices in
agriculture.
4.2 Skills: Intermediate knowledge of agriculture and technology; requires
effective communication tools.
4.3 Device Usage: Laptops and tablets for training sessions and field visits. 5
System Administrators
5.1 Goals: Ensure the smooth operation of the system and manage user data
securely.
5.2 Skills: High technical expertise in IT and system management.
Assumptions
1. User Familiarity: It is assumed that users, especially farmers and agronomists, have
basic knowledge of smartphones or computers and can navigate apps or web interfaces.
2. Image Quality: The system assumes that users will provide high-quality images of plant
leaves for accurate disease detection. This includes well-lit images that clearly show leaf
details.
3. Stable Internet Connection: It is assumed that users will have a stable internet
connection to upload images and receive results promptly.
4. Access to Technology: It is assumed that target users will have access to the necessary
technology, including smartphones or computers, to utilize the system effectively.
5. Data Availability: It is assumed that a sufficiently diverse and representative dataset of
plant diseases is available for training machine learning models to ensure accurate
predictions.
Dependencies
• The system shall apply machine learning models to detect and classify plant diseases.
• The system shall offer detailed information about identified diseases (symptoms,
treatment options).
1. Web Interface
• User Dashboard: Provide an overview of detected diseases, analytics, and system status.
• Image Upload: Enable users to upload images of plants for disease analysis.
• Results Display: Show disease diagnosis, confidence levels, and suggested treatments.
2. Mobile Application
• Camera Integration: Allow users to capture images directly through the app for instant
analysis.
• Push Notifications: Inform users of new features, updates, or urgent alerts regarding
plant health.
• Offline Mode: Provide limited functionality when the device is not connected to the
internet.
• Cameras Integration with Drones: Enable image capture using drones equipped with
cameras for large-scale monitoring.
• IoT Devices: Interface with smart sensors that can detect plant health metrics (moisture,
temperature).
• Web Application: A user-friendly dashboard for uploading images, viewing results, and
accessing resources.
• Mobile App: An app that allows users to upload images and receive notifications on the
go.
• Chatbot Integration: A chatbot on the website or app that answers user questions and
guides them through the diagnosis process.
1. The system shall process images and return results on upload leaf image.
2. The system shall support at least 100 concurrent users without performance
degradation.
1. The system shall encrypt sensitive user data (passwords, personal information).
2. The system shall implement secure user authentication methods (e.g., OAuth).
1. Size: The dataset should be large enough to train a robust model. A minimum of
several thousand images is generally recommended.
2. Quality: The images should be high-quality, well-labelled, and representative of the
different plant diseases and healthy plants.
3. Diversity: The dataset should include a variety of plant species, growing conditions,
and disease stages to ensure the model's generalizability
2. Programming Language: Python is a popular choice for machine learning due to its
extensive libraries and frameworks.
3. Deep Learning Framework: Tensor Flow, Pytorch, or Keras are popular options for
building and training deep learning models.
4. Image Processing Library: OpenCV or PIL can be used for image preprocessing and
augmentation.
5. Data Science Libraries: NumPy, Pandas, and Scikit-learn are essential for data
manipulation and analysis.
1. CPU: A multi-core processor with high clock speed is recommended for efficient
computation.
2. GPU: A dedicated GPU with sufficient memory can significantly accelerate training
and inference, especially for deep learning models.
3. RAM: Adequate RAM is essential to handle the dataset, model parameters, and
intermediate calculations. 8GB or more is typically recommended.
4. Storage: Sufficient storage space is needed to store the dataset, trained models, and
results. An SSD can provide faster read/write speeds compared to a traditional HDD.
The Agile Model is a highly suitable approach for developing a Plant Disease Detection
system using Machine Learning. The flexibility, iterative nature, and focus on user feedback
make Agile ideal for a project that requires continuous model improvement,
experimentation, and the incorporation of user needs as shown in fig 1 Agile Model.
Project Planning & Initial Sprint Setup:
Define the problem: Early detection and accurate identification of plant diseases using
image processing.
Identify stakeholders: Farmers, agronomists, agricultural experts, and developers.
Prioritize features: Begin with core functionalities like disease detection and model
performance, and leave advanced features (like treatment suggestions) for later sprints.
Set the sprint duration: Usually 1-2 weeks for each sprint.
Create a product backlog: List the required features, starting with data collection, model
development, and UI.
By using the Agile Model, your team can create a more user-focused, adaptable, and evolving
plant disease detection system that keeps up with new data, model improvements, and user
requirements.
• Activities:
• Deliverables:
• Architecture design:
• Model design:
o Select appropriate algorithms (e.g., cnn for image classification) and define
model parameters.
• Deliverables:
• Activities:
• Deliverables:
• Activities:
o Develop and train machine learning models using frameworks like tensor flow or
pytorch.
o Implement techniques for feature extraction and selection as needed.
o Optimize model hyper parameters through techniques like grid search or random
search.
• Deliverables:
o Trained machine learning model with performance metrics (e.g., accuracy,
precision, recall).
Phase 5: Testing
• Testing strategy:
o Test plans, test cases, and results documentation. o Uat feedback report.
Phase 6: Deployment
• Deployment steps:
• Deliverables:
• Ongoing support:
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system, modelling its process aspects. A DFD is often used as a preliminary step to
create an overview of the system without going into great detail, which can later be elaborated.
DFDs can also be used for the visualization of data processing (structured design). A DFD
shows what kind of information will be input to and output from the system, how the data will
advance through the system, and where the data will be stored. It does not show information
about process timing or whether processes will operate in sequence or in parallel, unlike a
traditional structured flowchart which focuses on control flow, or a UML activity workflow
diagram, which presents both control and data flows as a unified model. Data flow diagrams are
also known as bubble charts. DFD is a designing tool used in the top down approach to Systems
Design. Symbols and Notations Used in DFDs Using any 10 convention’s DFD rules or
guidelines, the symbols depict the four components of fig 3 data flow diagrams.
External entity: an outside system that sends or receives data, communicating with the system
being diagrammed. They are the sources and destinations of information entering or leaving the
system. They might be an outside organization or person, a computer system or a business
system. They are also known as terminators, sources and sinks or actors. They are typically
drawn on the edges of the diagram.
Process: any process that changes the data, producing an output. It might perform computations,
or sort data based on logic, or direct the data flow based on business rules.
Data store: files or repositories that hold information for later use, such as a database table or a
membership form.
Data flow: the route that data takes between the external entities, processes and data stores. It
portrays the interface between the other components and is shown with arrows, typically
labelled with a short data name, like “Billing details.”
DFD levels and layers A data flow diagram can dive into progressively more detail by using
levels and layers, zeroing in on a particular piece. DFD levels are numbered 0, 1 or 2, and
occasionally go to even Level 3 or beyond. The necessary level of detail depends on the scope
of what you are trying to accomplish. DFD Level 0 is also called a Context Diagram. It’s a basic
5.1 ADVANTAGES:
1. Early Detection
Rapid Diagnosis: Machine learning models can analyse images of plants quickly, enabling early
detection of diseases before they spread extensively.
Preventive Measures: Early identification allows farmers to take timely actions, reducing crop
loss and minimizing the need for drastic interventions.
2. Increased Accuracy
High Precision: Advanced algorithms can achieve high accuracy in identifying specific
diseases, often outperforming traditional methods.
Consistency: Machine learning models provide consistent results, reducing human error
associated with manual inspections.
3. Scalability
Large Datasets: Machine learning can handle and learn from large volumes of data, making it
suitable for analysing extensive fields or various crops.
Adaptability: Models can be retrained with new data to improve accuracy and adapt to emerging
diseases or changing environmental conditions.
4. Cost-Effectiveness
Reduced Labor Costs: Automating disease detection reduces the need for labour-intensive
manual inspections, saving costs for farmers.
Minimized Chemical Use: Accurate disease detection helps target treatments, reducing
unnecessary pesticide and fungicide applications.
1. Data Dependency
Quality of Data: Machine learning models require large amounts of high-quality, labelled data
for training. Poor quality or insufficient data can lead to inaccurate predictions.
Data Variability: Variations in lighting, camera quality, and plant conditions can affect image
quality and model performance.
Similar Symptoms: Many plant diseases can exhibit similar symptoms, making it challenging
for models to distinguish between them without extensive training.
Multiple Diseases: A single plant may suffer from multiple diseases simultaneously,
complicating diagnosis.
3. Model Generalization
Overfitting: Models trained on a specific dataset may perform poorly on new or unseen data,
especially if the new data does not reflect the training conditions.
4. Technical Requirements
Technical Expertise: Implementing and maintaining machine learning systems often requires
specialized knowledge, which may not be readily available in all agricultural contexts.
5. User Acceptance
Trust in Technology: Farmers may be skeptical about relying on automated systems for disease
detection, preferring traditional methods they are familiar with.
Training Needs: Users may require training to effectively use machine learning tools and
interpret their results.
Mobile Applications: Farmers can use smartphone apps equipped with machine learning models
to take pictures of their plants and receive instant feedback on potential diseases, enabling early
intervention.
2. Precision Agriculture
Targeted Treatments: Machine learning can help identify specific areas of a field that require
treatment, allowing farmers to apply pesticides or fertilizers more precisely, reducing waste and
environmental impact.
3. Crop Monitoring
Automated Surveillance: Drones and cameras equipped with machine learning algorithms can
monitor large agricultural areas, providing real-time data on plant health and identifying disease
outbreaks quickly.
Data Analysis: By analyzing historical data and current plant health status, machine learning
models can predict crop yields, helping farmers make informed decisions about resource
allocation and harvest timing.
Predictive Analytics: Machine learning can analyze trends in disease occurrence over time,
helping researchers and farmers understand the conditions that lead to outbreaks and enabling
proactive management strategies.
6.1 COCLUSION
Plant disease detection using machine learning offers a promising solution to a significant
challenge in modern agriculture: the timely and accurate identification of crop diseases. By
leveraging powerful machine learning models, such as Convolutional Neural Networks (CNNs),
we can automate the process of diagnosing plant diseases from images, providing farmers with
real-time insights and actionable recommendations. This not only reduces the dependence on
human expertise but also accelerates the detection process, enabling more proactive disease
management and preventing significant crop losses. The implementation of a machine learning
based plant disease detection system follows a structured and iterative approach, such as the
Agile SDLC, allowing flexibility, continuous improvement, and user feedback integration.
Starting with data collection and preprocessing, progressing through model development and
testing, and finally deploying a user-friendly interface, each phase contributes to refining the
system for practical, real-world application. The incorporation of farmer and expert feedback
ensures that the system remains user-centric and adaptable to evolving agricultural needs.
Future work in plant disease detection using machine learning holds significant potential for
enhancing agricultural practices. One promising direction is the development of robust data
collection methods through drones and iot devices, allowing for real-time monitoring of
plant health. Additionally, leveraging transfer learning can facilitate the application of
models across different plant species, reducing the need for extensive datasets. The
integration of explainable AI will enhance transparency in model predictions, providing
farmers with actionable insights. By combining data from various sources, such as satellite
imagery and soil health metrics, multi-modal approaches can improve prediction accuracy.
Mobile applications designed for user-friendly disease identification will empower farmers
to take immediate action. Furthermore, collaboration with agronomic experts can validate
findings and enhance the overall quality of datasets. Ultimately, focusing on ethical and
sustainable practices will ensure that these technological advancements contribute positively
to agricultural resilience and food security.
[1] https://www.nature.com/articles/s41598-023-34549-2
[2] Plant Disease Detection and Classification by Deep Learning by Muhammad Hammad
Saleem et al. (2019).
[3] Plant Disease Detection and Classification Using a Deep Learning-Based Framework by
Mridul Ghosh et al. (2023)
[4] Plant Disease Detection and Classification Using Machine Learning and Deep Learning
Techniques: Current Trends and Challenges by Padol PB and Yadav AA (2016).
[6] https://www.frontiersin.org/journals/plantscience/articls/13389/fpls.2023.1158933/full.
[7]
https://arxiv.org/pdf/2106.106
98.
[8] Md Nasim Adnan “Improving theRandom Forest Algorithm byRandomly Varying the
Size of the Bootstrap Samples”Adnan,(2014).
[9] Haseeb Nazki, Sook Yoon, Alvaro Fuentes, Dong Sun Park “Unsupervised image
translation using adversarial networks for improved plant disease recognition” Published by
Elsevier B.V,(2020).
[10] Manjunath Badiger, Varuna kumara,Sachin CN shetty,Sudhir poojary “Leaf and skin
disease detection using image processing” Global Transactions Proceedins,(2022). 16.
Niveditha M, Pooja R, Prasad Bhat N, shashank N,
[12] Mohanty SP, Hughes DP and Salathé M (2016) Using Deep Learning for Image-Based
Plant Disease Detection. Front. Plant Sci. 7:1419. doi: 10.3389/fpls.2016.01419.
[14] Zhang, Z., et al. (2020). "Deep learning for plant disease recognition: A review."
Frontiers in Plant Science, 11, 252.
[15] Liu, B., et al. (2021). "A survey on plant disease detection using deep learning." Applied
Sciences, 11(16), 7432.