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




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
We trained a MobileNetV2 image classifier on labelled wheat-leaf photos for four classes: Brown Rust, Septoria, Yellow Rust and Healthy.
- 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
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.