Skip to content
All projects

Case study · AI / ML · Web

Spotting wheat diseases from a single leaf photo

WheatGuard is a full-stack computer-vision app that tells a farmer which disease a wheat leaf has, from one photo, in a few seconds.

Screenshots

WheatGuard home page on a laptop: the headline Diagnose Wheat Diseases Instantly with Start Detection and Disease Guide buttons
Landing page: upload a leaf photo and get a diagnosis in under a second.
WheatGuard upload screen with a drag and drop area and a tips panel for taking a good leaf photo
Step 1: drop in a leaf photo, with tips for getting the best result.
WheatGuard detection results showing the uploaded leaf and a probability breakdown across the disease classes
Results: the leaf photo next to a probability breakdown for every class.
WheatGuard disease guide page for Brown Rust with symptoms and management advice
Disease guide: symptoms and management advice for each disease.

The problem

Wheat diseases such as rusts and Septoria spread fast, and telling them apart by eye is hard. Farmers often cannot reach an expert quickly, so treatment starts late or targets the wrong problem.

Our solution

  1. 1

    We trained a MobileNetV2 image classifier on labelled wheat-leaf photos for four classes: Brown Rust, Septoria, Yellow Rust and Healthy.

  2. 2

    The model is exported to ONNX so it stays small and runs quickly on an ordinary CPU server, with no expensive GPU needed.

  3. 3

    A FastAPI backend with ONNX Runtime serves predictions, and a React + Vite frontend lets users upload a photo and read the result at once.

Key features

  • Four-class detection: Brown Rust, Septoria, Yellow Rust and Healthy
  • Photo upload with instant on-screen result
  • Lightweight ONNX model for fast, low-cost inference
  • Clean API that can later power a mobile app

Results

Disease classes
4
Input needed
1 photo
Server needed
CPU only
  • A working end-to-end system from image to diagnosis
  • Low hosting cost thanks to a compact, CPU-friendly model
  • Delivered as a Final Year Project

Have an idea? Let's stack it up.

Tell us what you are building. You will get a clear plan and a fair quote, usually within one business day.