SolanAPP: An Offline-First Mobile Framework for Segmentation-Based Diagnosis of Solanaceae Crop Diseases
SolanAPP is an offline-first, native Android framework that leverages lightweight deep learning models for real-time, pixel-level diagnosis of Solanaceae crop diseases and integrates optional LLM-driven agronomic recommendations to enable accurate, accessible, and collaborative disease surveillance in resource-constrained agricultural environments.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the quiet corners of the world where food is grown, a silent battle is constantly being waged against invisible enemies. Crops like tomatoes, potatoes, peppers, and eggplants are the backbone of global nutrition, yet they are perpetually vulnerable to diseases that can wipe out entire harvests. For generations, farmers have relied on their own eyes and the advice of distant experts to identify these threats, a process that is often slow, inaccurate, and dependent on having access to a doctor or a laboratory. In recent years, technology has promised a faster solution: smartphones equipped with artificial intelligence that can look at a sick leaf and instantly name the problem. However, this promise has hit a hard wall in the very places it is needed most. The most advanced diagnostic tools usually require a strong internet connection to send images to a cloud server for analysis. In remote rural areas, where the soil is rich but the signal is weak or non-existent, these high-tech tools are useless. The challenge for scientists has been to build a system that is smart enough to diagnose complex plant diseases but small and efficient enough to run entirely on a phone without ever needing to connect to the internet.
A team of researchers has answered this challenge with a new mobile application called SolanAPP. Designed specifically for the family of crops that includes tomatoes, potatoes, peppers, and eggplants, this tool represents a significant shift in how agricultural technology is deployed in the field. Instead of sending a photo to a distant server, SolanAPP performs the entire diagnosis inside the phone itself. It uses a specialized form of artificial intelligence that can not only identify the disease but also draw a precise outline around the sick parts of the leaf, showing the farmer exactly how much of the plant is affected. This "offline-first" approach means that a farmer in a remote village with no internet signal can still get a professional-level diagnosis, a capability that transforms a standard smartphone into a self-contained agricultural clinic.
The researchers built this system by training computer models on thousands of images of healthy and diseased plants. They taught the software to recognize specific patterns, such as the concentric rings of early blight on a potato leaf or the yellow curling of a tomato leaf infected with a virus. What makes this work unique is that the team did not just focus on getting the right answer; they focused on making the answer fast and lightweight. They tested many different types of artificial intelligence architectures, looking for the one that could balance high accuracy with the limited memory and battery life of a standard mobile phone. After rigorous testing, they found that a specific combination of models worked best for most crops, achieving a classification accuracy of over 97 percent. For potatoes, a slightly different model was chosen to ensure the fastest possible speed. The result is a system that can process an image and provide a diagnosis in less than a second, even on modest hardware.
Beyond simply naming the disease, the application provides a visual map of the infection. When a user takes a picture, the app highlights the diseased areas in distinct colors, allowing the farmer to see the severity of the problem at a glance. The system calculates the percentage of the leaf that is damaged, turning a vague feeling of worry into a concrete number. If the damage is minor, the app suggests mild interventions; if the infection is severe, it flags the situation as critical. This ability to estimate severity is crucial because it helps farmers decide whether to treat a single plant or an entire field, preventing the waste of resources and the spread of disease.
The researchers also recognized that a diagnosis is only as good as the advice that follows it. To bridge the gap between a computer's data and a farmer's decision, the app includes an optional feature that connects to a large language model when an internet connection is available. This feature acts as a digital agronomist, taking the visual data and the farmer's own notes to generate a detailed, plain-language report. It explains what the disease is, why it is happening, and offers specific treatment recommendations, including organic solutions for those who cannot afford expensive chemicals. This layer of reasoning ensures that the technology does not just identify a problem but helps solve it.
To ensure the tool actually works in the real world, the team tested it in Cuba, a region chosen specifically because of its challenging connectivity and the restrictions on accessing commercial cloud services. They gathered a group of twenty-five participants, including small-scale farmers, students, and agricultural technicians, to use the app in the field. The feedback was overwhelmingly positive. The users rated the system's reliability and its ability to work without internet as the most valuable features, giving it a high satisfaction score. They appreciated that the app was intuitive and that the visual outlines helped them understand the diagnosis immediately. While some users noted that the technical language in the reports could be simplified further and that the app sometimes struggled with very bright sunlight, the overall consensus was that the tool successfully removed the barrier of connectivity.
The study concludes that SolanAPP is more than just a diagnostic tool; it is a step toward democratizing access to advanced agricultural science. By proving that complex artificial intelligence can run entirely on a device without needing a network, the researchers have shown that high-quality crop protection is possible even in the most isolated environments. The system successfully balances the need for technical accuracy with the practical realities of rural life, offering a path forward where technology serves the farmer directly, rather than waiting for a connection that may never come. As the team looks to the future, they plan to expand the range of crops the app can handle and refine the advice it gives, but the core achievement remains clear: a phone in a farmer's hand can now hold the power to save a harvest, regardless of where they are standing.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.