01 / THE IDEA

Mobile plant disease detection in practice.

On-device plant disease detection aims to classify leaf or crop images under tight latency and memory constraints. Real builds must handle variable lighting, multiple species, background clutter and provide a review path for potentially harmful recommendations.

Real-world use case · Proposed extension

A proposed application: a phone app that flags likely diseased leaves for a farmer and uploads uncertain examples for agronomist review. The supplied starter code does not deliver this app; it only demonstrates a small CPU inference benchmark with synthetic data.

02 / THE BUILD

How to build a mobile plant disease detection project
step by step.

01

Collect and label images

Gather diverse, licensed photos of affected and healthy leaves, label by disease type and hold out geographic splits for evaluation.

02

Train a lightweight model

Train a small CNN or MobileNet variant on the training set and tune for accuracy, parameter count and latency.

03

Convert and measure on-device

Convert the trained model to TensorFlow Lite or ONNX and measure single-sample latency, memory and battery impact on target devices.

04

Add human-in-loop review

Route low-confidence predictions to agronomists and instrument corrections to retrain and monitor drift.

03 / SOURCE SNAPSHOT

What the mobile plant disease detection starter actually does.

The supplied starter generates synthetic tabular data with sklearn.make_classification, fits a DecisionTreeClassifier, then measures an estimated per-sample prediction latency by calling model.predict(sample) in a tight loop and prints latency, tree depth and node count. It does not load or process plant images, nor convert a model for mobile runtime.

SOURCE EXCERPTPython
X, y = make_classification(n_samples=1000, n_features=12, n_informative=8, random_state=42)
model = DecisionTreeClassifier(max_depth=6, random_state=42)
model.fit(X, y)

sample = X[:1]
start = time.perf_counter()
for _ in range(1000):
    model.predict(sample)
latency_ms = (time.perf_counter() - start) * 1000 / 1000
Important limitation

The code uses synthetic numeric features rather than plant images or sensor telemetry, so it does not validate image-based disease detection. It trains a scikit-learn decision tree rather than a mobile CNN and does not perform TFLite/ONNX conversion, camera capture, data augmentation or real device profiling. The latency estimate is a micro-benchmark on repeated in-process predictions and does not reflect end-to-end mobile latency, I/O, or power use.

04 / BEYOND THE CLASSROOM

Where a mobile plant disease detection project could go next.

PROPOSED BUSINESS CONCEPT

Pilot: On-device leaf classifier

A proposed extension is to replace the synthetic data with a labelled leaf image set, train a small CNN (or MobileNetV2), quantise and export to TensorFlow Lite, and build a simple app that captures images, runs local inference and flags uncertain cases for agronomist review.

WHO IT COULD SERVESmallholder farmers and extension services
FIRST MVPA phone app that captures a leaf photo, runs an on-device quantised classifier, shows a probable disease label with confidence, and uploads low-confidence examples for expert review.
KEY RISKMisclassification could lead to wrong treatment decisions and crop loss; keep a human agronomist in the loop and do not use the prototype for automated spraying or quarantine decisions.

This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.

05 / WHAT YOU TAKE AWAY

What a mobile plant disease detection project puts on your resume.

  • Prepare a labelled image dataset with train/validation/test splits and geographic holdouts.
  • Train a compact CNN and measure accuracy, parameter count and inference latency.
  • Convert and quantise a model to TensorFlow Lite or ONNX and profile on target hardware.
  • Design a human-in-loop review path and monitoring for drift, missing inputs and degraded quality.
Want to build this with mentors and a lab?

Networkers Home runs this topic inside its Network Engineering Course, with placement support and hands-on labs.

Network Engineering Course
06 / QUESTIONS STUDENTS ASK

Mobile Plant Disease Detection project FAQs.

Is this suitable as a final year project for CSE and engineering students?
Yes — it is an advanced, multidisciplinary final year project idea combining mobile/edge deployment, image processing and model optimisation; plan scope carefully to fit the timeline.
What skills, tools and data will I need to complete it?
You should know Python, image processing, TensorFlow Lite or PyTorch Mobile, mobile app basics (Android/iOS), and gather labelled leaf images or sensor telemetry; experience with model quantisation and profiling helps.
How should I evaluate progress and how long will it take?
Define milestones: dataset collection/augmentation, baseline CNN, on-device optimisation and latency/memory profiling; expect several months depending on dataset size and app integration, with iterative testing on real devices.