Skip to content
Blog
  • Agrease
  • Machine Learning
  • Flutter

Agrease and the Google Solution Challenge

How our team put crop disease detection on a phone that works without a signal, and made the top 100 worldwide.

Muhammad Zhafran

––– views
1 min read––– likes

In the first half of 2023 I built Agrease with three teammates for the Google Solution Challenge, Google's yearly competition for students to solve a problem tied to one of the UN's Sustainable Development Goals. We chose the second one, Zero Hunger.

The problem

Plant diseases destroy a large share of harvests, and diagnosing them usually takes an agronomist that small farmers can't reach in time. By the time a disease is obvious to the eye, it's often too late to save the crop.

What we built

Agrease is a Flutter app. You take or upload a photo of a leaf, and a TensorFlow Lite model identifies one of 15 conditions across pepper, potato, and tomato plants, with 85%+ accuracy. Each result explains the likely cause and how to treat it, past detections are saved on the phone, and results are translated into the phone's language.

The decision that mattered most was running the model on the device. Farms are exactly where the signal is weakest, so a detector that needs the internet fails in the one place it's needed.

My part

I was the team's mobile developer and handled the MLOps: converting the trained model to TensorFlow Lite, quantizing it so the app stayed small, running it inside Flutter, and building the pipeline from the camera to a prediction.

I built it with Alfiatun Jatnika on research, Ramadhania Humaira as project manager, and Salman Al Farisi Harahap on machine learning.

The result

Agrease was selected as one of the top 100 teams in the world in the Google Solution Challenge 2023, out of thousands of submissions. It was also the project that made me want to keep building things that work for people in the conditions they actually live in, not the conditions of a demo.

See the Agrease case study and the project video.