Francesco RivittiDenis SanduleanuJonatan Sciaky
Published © GPL3+

Embedded AI for Real-Time Leaf Disease Detection

We deploy lightweight AI on ESP32 to detect diseased leaves in real time, enabling low-cost and scalable environmental monitoring.

IntermediateFull instructions provided12
Embedded AI for Real-Time Leaf Disease Detection

Things used in this project

Hardware components

ESP32 Camera Module Development Board
M5Stack ESP32 Camera Module Development Board
×1

Software apps and online services

Edge Impulse Studio
Edge Impulse Studio
Arduino IDE
Arduino IDE

Story

Read more

Code

mobile_160_035_8_05_97Test.zip

Arduino
Once you have the ZIP file, open the Arduino IDE and go to Sketch → Include Library → Add .ZIP Library…, then select the downloaded file. This will install the model as an Arduino library.
After the installation, open one of the example sketches provided by the library, usually found under File → Examples → HEEEEAI_inferencing. These sketches contain the code needed to capture an image from the ESP32-CAM, preprocess it, and run the inference with the model. You can modify the sketch to match your hardware configuration (e.g., camera pinout, serial output, or Wi-Fi settings).
Finally, connect the ESP32-CAM to your computer, select the correct board and port in the Arduino IDE, and upload the sketch. Once uploaded, the ESP32-CAM will automatically run the inference: it will capture an image, process it through the model, and print the classification result to the serial monitor or another configured output.
No preview (download only).

Github

Credits

Francesco Rivitti
1 project • 0 followers
Denis Sanduleanu
0 projects • 0 followers
Jonatan Sciaky
0 projects • 0 followers

Comments