Crop diseases are identified too late or wrongly, causing yield loss and wasteful pesticide use.
A deep-learning model that diagnoses leaf diseases from a photo and suggests the next action.
Residual Vision Transformers, attention mechanisms, GAN-based augmentation, transfer learning.
Instant, field-level diagnosis that brings expert support to farms without an on-site specialist.
Agriculture supports the livelihoods of hundreds of millions of people across Asia, yet crop diseases continue to erode farm incomes every season. The earlier a disease is detected, the cheaper and more effective the treatment - but early detection depends on expertise that most farmers cannot access in time.
TokenWave AI developed an AI-powered plant disease detection system that turns an ordinary smartphone into a diagnostic tool. A farmer photographs an affected leaf, and within seconds the system identifies whether the plant is diseased, names the specific disease, shows how confident it is and recommends what to do next.
Plant diseases caused by fungi, bacteria and viruses spread quickly in favourable weather. A problem that starts on a few leaves can affect an entire field within days. Timely and correct identification is therefore the single most important factor in protecting a harvest.
In practice, diagnosis relies on the farmer's experience, advice from local input dealers or occasional visits from agricultural officers. With one extension worker often responsible for thousands of farmers, expert advice rarely arrives at the moment it is needed most.
Agricultural experts cannot visit every farm in time, especially during peak disease seasons when demand is highest.
Many diseases produce similar spots, lesions and discolouration, which makes visual diagnosis unreliable even for experienced growers.
Misdiagnosis leads to the wrong pesticide, repeated spraying, wasted money and continued crop damage.
Real-world leaf images vary in lighting, background and angle, and labelled examples of rarer diseases are hard to collect.
We followed a structured, problem-first process - understanding the real-world problem before choosing the technology, and validating every stage before moving to the next.
We studied how farmers currently identify diseases, which crops and diseases cause the most damage, and what a useful answer looks like in the field - a clear diagnosis plus a practical next step, not just a label.
Leaf images covering healthy and diseased samples were gathered and curated. Images were cleaned, labelled and standardised, and GAN-based augmentation was used to generate realistic additional samples for under-represented diseases.
We designed deep-learning models built on residual Vision Transformers with attention mechanisms, allowing the model to focus on the diseased regions of a leaf. Transfer learning from large pre-trained models made the system effective even with limited agricultural data.
Models were evaluated on unseen images, with particular attention to diseases that look alike. Misclassifications were analysed and the training data and architecture refined accordingly.
The trained model was packaged behind a simple upload-and-diagnose workflow designed for smartphone use, returning the disease name, a confidence score and a recommended action.
An AI system that identifies plant leaf diseases from a single smartphone photo and recommends the right action - before the disease spreads across the field.
Farmer photographs the affected leaf
Image is cleaned and pre-processed
AI checks healthy vs diseased
Specific disease is classified
Confidence score is calculated
Recommended action is shown
No special equipment - a smartphone photo of the leaf is all that is needed.
Identifies the specific disease, not just whether the plant is unhealthy.
Every prediction includes a confidence level so users know when to seek a second opinion.
Suggests practical next steps so the diagnosis leads directly to action.
Trained with augmentation to handle varied lighting, backgrounds and angles.
Transfer learning makes it practical to add new crops and diseases over time.
Farmers get an answer in the field instead of waiting days for an expert visit.
Accurate identification reduces guesswork, repeated spraying and unnecessary chemical use.
Expert-level screening becomes available to every farmer with a smartphone.
“The goal was simple: put a reliable crop doctor in every farmer's pocket, so that the first sign of disease leads to the right action - not a lost harvest.”
— TokenWave AI Project Team
This case study describes an in-house research and development project by TokenWave AI. Outcomes are described qualitatively; actual performance depends on the data, environment and scale of each deployment. Want to apply this solution to your business? Book a free consultation.
Tell us about it in a free, no-obligation working session. We will show you where an agent fits, what it would take and how you would measure the result.
Book a Free Session