Smartphone-based Leaf Disease Detection via TinyML on-Farm Cameras | Blazingprojects Postgraduate Thesis
Home / Crop science / Smartphone-based Leaf Disease Detection via TinyML on-Farm Cameras

Smartphone-based Leaf Disease Detection via TinyML on-Farm Cameras

 

Table Of Contents


Chapter ONE

INTRODUCTION

  • 1.1Introduction
  • 1.2Background of the Study
  • 1.3Statement of the Problem
  • 1.4Aim and Objectives of the Study
  • 1.5Research Questions
  • 1.6Research Hypotheses
  • 1.7Significance of the Study
  • 1.8Scope and Delimitation of the Study
  • 1.9Limitations of the Study
  • 1.10Organisation of the Study
  • 1.11Operational Definition of Terms

Chapter TWO

LITERATURE REVIEW

  • 2.1Conceptual Review: Early and Current Paradigms in Leaf Disease Detection
  • 2.2Conceptual Review: TinyML in Agricultural Imaging
  • 2.3Conceptual Review: On-device Inference vs. Cloud-based Approaches
  • 2.4Theoretical Framework: Technology Acceptance Model (TAM) in Agricultural ICT Adoption
  • 2.5Theoretical Framework: Diffusion of Innovations (DOI) in Farm-Level Tech Uptake
  • 2.6Theoretical Framework: Unified Theory of Acceptance and Use of Technology (UTAUT) for Edge AI Tools
  • 2.7Empirical Review: Smartphone-Based Plant Health Diagnostics Studies
  • 2.8Empirical Review: On-Farm Camera Systems and Image Acquisition Quality
  • 2.9Empirical Review: TinyML Model Architectures for Leaf Disease Classification
  • 2.10Empirical Review: Data Collection Protocols in Field Conditions
  • 2.11Empirical Review: Evaluation Metrics and Validation Protocols for Plant Disease Models
  • 2.12Identified Gaps in the Literature
  • 2.13Conceptual Model: Integrated framework for On-Farm TinyML Leaf Diagnostics

Chapter THREE

RESEARCH METHODOLOGY

  • 3.1Research Design: Mixed-Methods with Iterative On-Device Model Refinement
  • 3.2Philosophical Paradigm: Pragmatism for Applied ICT in Agriculture
  • 3.3Population of the Study: On-Farm Tea and Tomato Systems Across Regions
  • 3.4Sample Size and Sampling Technique: Stratified Random Sampling of Fields and Plants
  • 3.5Sources and Instruments of Data Collection: Smartphones, Field Cameras, and Expert Annotations
  • 3.6Data Labeling and Ground Truth Acquisition Protocols
  • 3.7Validity and Reliability of Instruments: Inter-Observer and Cross-Device Consistency
  • 3.8Model Development: TinyML Pipeline for Leaf Disease Classification
  • 3.9Data Analysis Methods: On-Device Inference Metrics, Statistical Validation
  • 3.10Model Specification and Analytical Framework
  • 3.11Ethical Considerations in Field Data Collection
  • 3.12Reproducibility and Data Management Plan

Chapter FOUR

DATA PRESENTATION AND ANALYSIS

  • ANALYSIS AND DISCUSSION OF FINDINGS
  • 4.1Data Presentation: Imaging Dataset Composition and Camera Variability
  • 4.2Descriptive Analysis: Field-Level Data Characteristics
  • 4.3Hypotheses Testing: Model Accuracy Across Devices and Environments
  • 4.4Hypotheses Testing: Robustness to Illumination and Background Noise
  • 4.5Interpretation of Results: On-Device vs. Cloud Inference Trade-offs
  • 4.6Discussion: Alignment with Conceptual Frameworks and Theoretical Models
  • 4.7Comparison with Prior Studies: Performance Benchmarks
  • 4.8Discussion: Practical Implications for On-Farm Decision Support

Chapter FIVE

SUMMARY, CONCLUSION AND RECOMMENDATIONS

  • CONCLUSION AND RECOMMENDATIONS
  • 5.1Summary of Findings
  • 5.2Conclusion
  • 5.3Contribution to Knowledge
  • 5.4Practical Recommendations for Farmers and Extension Services
  • 5.5Recommendations for Technology Developers and Policy Makers
  • 5.6Suggestions for Further Studies

Thesis Abstract

The rapid adoption of smartphones among smallholder farmers provides an opportunity to leverage TinyML-enabled on-device inference for real-time leaf disease detection, addressing the persistent constraints of expert diagnosis, delayed treatment, and limited access to centralized crop health services in rural farming communities. This study investigates the efficacy of on-device machine learning models integrated into on-farm cameras for accurate leaf disease classification, coupled with actionable feedback for farmers. The aim is to develop and validate a low-latency, energy-efficient smartphone solution that sustains high diagnostic accuracy under field conditions, enabling timely agronomic decisions and reducing yield losses. The specific objectives are (1) to design a robust data collection protocol that captures diverse leaf images across prevalent crops (e.g., tomato, pepper, maize) and disease spectra (e.g., bacterial speck, septoria leaf blotch, powdery mildew) under varying illumination and backgrounds; (2) to curate a representative, balanced dataset of 50,000 labeled images and implement data augmentation and domain adaptation techniques to enhance generalization; (3) to develop TinyML models (e.g., quantized MobileNetV3 and EfficientNet-Lite variants) optimized for mobile hardware with target latency under 120 milliseconds per inference and model size below 5 MB; (4) to evaluate model performance against cloud-based baselines using metrics such as accuracy, F1-score, precision-recall, and area under the ROC curve, across cross-location validation; (5) to assess user acceptance and practical utility through a field trial with 150 farmer participants, examining decision impact and economic outcomes; and (6) to formulate deployment guidelines and ethical considerations for on-device plant health diagnostics. The methodology adopts a mixed-methods research design anchored in a pragmatic paradigm. The population comprises smallholder farms in two agroecological zones with diverse crop portfolios. A stratified sampling approach yields a sample of 30 villages, with 5–6 farms per village, totaling approximately 180 farms. A two-phase data collection process is employed an image acquisition phase to build the dataset and a field trial phase to test the deployed application. Data collection instruments include smartphone cameras (48–64 MP primary sensors with consistent autofocus), standardized camera settings, a field protocol app for tagging metadata (crop type, disease label, growth stage, weather conditions), and a survey instrument to capture farmer usability and decision outcomes. Validity and reliability are established through inter-rater labeling checks (Kappa > 0.80), cross-validation with expert agronomists, and test-retest reliability of the app under varying conditions. Data analysis proceeds in two streams quantitative analysis utilizes cross-validated, on-device inference metrics, paired t-tests comparing on-device versus cloud accuracy, and multivariate regression to identify determinants of diagnostic performance (lighting, leaf angle, background complexity). Qualitative insights from farmer interviews are analyzed via thematic analysis guided by the Technology Acceptance Model (TAM) and the Diffusion of Innovations framework to contextualize adoption drivers. The study incorporates a theoretical basis with two relevant theories Activity Theory to frame tool use within on-farm practices and the Theory of Planned Behavior to interpret intention to use the technology. Model development uses transfer learning with pre-trained lightweight architectures, followed by quantization-aware training to meet device constraints. The model is evaluated using held-out test sets across crops, with additional cross-site validation to assess robustness. Feature importance analyses identify spectral and texture cues most influential for disease discrimination. An ablation study quantifies contributions of data augmentation, domain adaptation, and model size constraints. For the field trial, the on-device detector guides farmers to recommended actions (e.g., targeted fungicide application, crop sanitation), and outcomes are tracked for 6–8 weeks to estimate agronomic and economic impact. Expected findings include high in-field diagnostic accuracy (target >92% overall across main diseases), low inference latency (<120 ms per image) and small model footprint (<5 MB), with performance gains from domain adaptation and augmentation techniques. The study anticipates that on-device inference will reduce the time to diagnosis by an average of 60–120 minutes per day and decrease unnecessary pesticide usage by up to 25%, contributing to cost savings and environmental benefits. The contribution to knowledge encompasses (i) a validated TinyML deployment framework for leaf disease detection on smartphones in resource-constrained settings, (ii) empirical evidence on the effectiveness of on-device diagnostics in improving agronomic decisions, and (iii) methodological guidance for integrating user-centered design and theoretical models into ICT-driven crop-health interventions. The main conclusion posits that smartphone-based TinyML on-farm cameras can provide accurate, rapid, and scalable leaf disease detection, with positive implications for yield protection and sustainable crop management. Recommendations include expanding disease spectra, extending the approach to additional crop-pathogen systems, refining user interfaces for broader literacy levels, and establishing data governance protocols to protect privacy and ensure equitable access for smallholder farmers.

Thesis Overview

This research explores using smartphones to detect leaf diseases directly in the field by leveraging TinyML on inexpensive on-farm cameras. The core idea is to combine high-quality images captured by a smartphone with lightweight machine learning models that can run locally on-device, enabling real-time disease identification without needing internet access or cloud-based processing. This approach aims to help farmers make timely decisions about applying treatments, reducing crop losses, and lowering chemical use. Why it matters: leaf diseases are a major constraint on crop yield and quality worldwide. Traditional disease diagnostics rely on expert scouts or laboratory analysis, which can be slow, costly, and inaccessible for smallholders. TinyML enables efficient, on-device inference with limited computing power and memory, making end-user tools feasible in rural settings with limited connectivity. Research gap: while there are general plant disease datasets and cloud-based AI solutions, there is limited work on robust, field-ready TinyML models that operate well on consumer smartphones, tolerate variable lighting and backgrounds, and function under offline conditions. There is also a need for practical validation under real farm conditions across multiple crops and disease types. What the researcher will do step by step: - Define scope: select a small set of economically important crops and common leaf diseases to target. - Data collection: assemble a labeled image dataset by capturing leaf photos in real farms using diverse phones, varying light, angles, and backgrounds; collect metadata on crop type, growth stage, and environmental conditions. - Data processing: annotate images with disease labels, perform augmentation to simulate field variability, and split into training, validation, and test sets. - Model development: design and train a lightweight TinyML model (e.g., a pruned or quantized convolutional neural network) suitable for on-device inference; ensure model size, latency, and energy use meet on-farm constraints. - Deployment and testing: implement the model on representative smartphone hardware; evaluate accuracy, precision, recall, and inference time in field trials. - Data analysis: use classification metrics and confusion matrices; compare performance across crops, lighting, and device types; conduct ablation studies to assess model compression effects. - Validation: perform user testing with farmers to assess usability and usefulness of the tool in decision-making. Expected contribution and outcome: a validated, offline, on-device leaf disease detection tool with documented accuracy benchmarks and usability guidance, plus a practical framework for extending TinyML plant-health diagnostics to additional crops and regions. Potential impact: improved early disease detection, reduced chemical usage, and enhanced food security for smallholder farmers.

Blazingprojects Mobile App

📚 Over 50,000 Research Thesis
📱 100% Offline: No internet needed
📝 Over 98 Departments
🔍 Thesis-to-Journal Publication
🎓 Undergraduate/Postgraduate Thesis
📥 Instant Whatsapp/Email Delivery

Blazingprojects App

Related Research

Human resource manag. 4 min read

AI-enabled competency mapping for SME talent management...

This research investigates how artificial intelligence can help small and medium-sized enterprises (SMEs) identify and map the skills and potential of their emp...

BP
Blazingprojects
Read more →
Home and rural econo. 2 min read

Blockchain-enabled traceability for smallholder agricultural supply chains...

Blockchain-enabled traceability for smallholder agricultural supply chains This research explores how blockchain technology can be used to record and verify th...

BP
Blazingprojects
Read more →
Geo-science. 2 min read

Smart Satellite Imagery Pipeline for Rapid Landslide Risk Assessment...

The research explores building an automated, integrated workflow that uses high-resolution satellite imagery and machine learning to rapidly assess landslide ri...

BP
Blazingprojects
Read more →
French. 4 min read

Optimisation des réseaux IoT via apprentissage fédéré sécuritaire en edge compu...

This research explores how to improve the efficiency, security, and scalability of Internet of Things (IoT) networks using federated learning implemented at the...

BP
Blazingprojects
Read more →
Environmental scienc. 2 min read

Smartphone-based Cyanobacteria Bloom Early-Warning System via Image Analysis and Cro...

This research explores a smartphone-based system that detects and provides early warnings for cyanobacteria blooms in lakes and rivers using image analysis and ...

BP
Blazingprojects
Read more →
Environmental manage. 2 min read

Smart Urban Waste Heat Recovery via IoT-Driven District Cooling Networks...

Smart Urban Waste Heat Recovery via IoT-Driven District Cooling Networks offers a practical vision for turning waste heat from buildings and industrial processe...

BP
Blazingprojects
Read more →
Entrepreneurship. 4 min read

AI-Powered Micro-Startup Studio for Rural Market Penetration...

AI-Powered Micro-Startup Studio for Rural Market Penetration examines how small, tech-enabled ventures can be created and scaled in rural areas using artificial...

BP
Blazingprojects
Read more →
Crop science. 2 min read

Smartphone-based Leaf Disease Detection via TinyML on-Farm Cameras...

This research explores using smartphones to detect leaf diseases directly in the field by leveraging TinyML on inexpensive on-farm cameras. The core idea is to ...

BP
Blazingprojects
Read more →
Criminology. 3 min read

AI-enabled Predictive Policing with Ethical Oversight and Community Feedback...

AI-enabled Predictive Policing with Ethical Oversight and Community Feedback is about using computer models to forecast where crimes might occur and who might b...

BP
Blazingprojects
Read more →
WhatsApp Click here to chat with us