Go to Map Courses Lab Glossary How it works Troubleshooting Start →
ITEN
← Course 07 · Final project (Lesson 07.01 · 20 minutes · No sensor · Final project)

A real case, the olive leaf.

OliveSense recognizes olive tree diseases out in the countryside, with no network, in less than half a second. Here you'll follow the project from the question to the decision, with the choices it called for and what's still missing.

What you learn
  1. How the place of use shapes the choices in an Edge AI project
  2. Why you split a problem into several small models
  3. How a diagnosis becomes a useful decision
  4. What it means, in a real project, to say what's missing
How do you want to follow it
Preparing the scene…
  1. 01 The problem

    Olive trees, a weak signal and a field logbook to fill in every evening.

    In Puglia, olive growing is made up of lots of small farms. Growers often have a mid-range phone, and out in the fields they have no coverage. Diseases are spotted late, Xylella comes with strict regional rules, and the field logbook is filled in by hand, in the evening. That's where OliveSense comes from, and it's a project by the author of this course.

    In practice. Always start from who will use the model, and where. Here, the average phone and the countryside without a network decided almost everything else.

01 / 07
(Go deeper)

A few more numbers.


(01)

Why a row of models

Each model in the row does one narrow job. The photo check throws out blurry or dark shots right away, before spending any computation and before giving a diagnosis to a photo you can't use. Recognizing the part of the tree tells the next steps what they're looking at, because a leaf, a branch and a trunk get sick in different ways.

The anomaly step is there to catch anything that doesn't look healthy, even when it isn't one of the thirteen conditions. Only at the end comes the disease classifier, which works on photos that are already good and already framed. Each of the four can be improved on its own, without touching the others.

  • 13olive tree conditions documented
  • 4models in a row on the phone
  • 4-5 MBthe size of each one
  • < 0.5 sfor the answer, with no network
(02)

The field logbook

Anyone who uses plant protection products has to record every treatment. A 2023 European regulation requires these records to be kept in electronic form from 2026. In Italy the data goes through SIAN, the national agricultural information system.

OliveSense fills in the logbook on its own, starting from the diagnosis and the chosen intervention, in a format that SIAN accepts. For growers this is often the most concrete reason to use the app, even before the diagnosis.

(03)

How it's built

The app is written in Flutter and works without a network. The models are in TensorFlow Lite format and run on the phone. The data sits in a local database, Isar, and syncs with Supabase when the connection comes back. There's also a free web version, built with Next.js, that doesn't ask for an account and doesn't collect any data.

The plot maps use Leaflet, and the vegetation indices come from Sentinel-2 images from the European Copernicus program. For the future there's also a node with sensors to leave out in the field.

(Try it on your phone)

The real case, applied to yours


Go back over the choices behind OliveSense with your own project in mind. Answer each point in a line or two. The card stays saved in your browser, and you'll need it in the next lesson.

The card saves itself as you type.

(Quiz)

4 questions to close the lesson.

When you have answered them all, the lesson counts as done and its stone on the map turns yellow. Answering is what counts, not the score.


  1. (01)

    Why does OliveSense have to work without a network?

  2. (02)

    Why four models in a row instead of just one?

  3. (03)

    When does OliveSense ask the cloud model for help?

  4. (04)

    Why do you need a whole year of photos?

To close the lesson, answer the quiz

← Responsible AI Back to the map
(Next lesson · 07.02) Your project