This page was created by the AI4Life project using data provided by Sofia Bengoa Luoni in Wageningen University.
If any of the instructions are not working, please open an issue or contact us at ai4life@fht.org!
Project challenges: instance segmentation, tracking.
Researchers from Wageningen University are cultivating various plants in a unique growing facility called NPEC. In each of the NPEC chambers, plants experience identical conditions in terms of light, water, and nutrients. Positioned above the platform, a camera captures images of each plant at specified intervals over several weeks, enabling comprehensive monitoring of their growth and development. This camera system incorporates measurements of RGB data, as well as data from fluorescence, thermal, and hyperspectral cameras. However, the original system and analysis involve averaging measurements from both older and younger leaves of each plant. To gain a deeper understanding of leaf physiology and development under varying light conditions, a quantitative analysis of individual leaves is necessary. Thus, the objective of this project is to develop an AI model capable of analyzing each leaf throughout its developmental stages.
In this tutorial we will show how to segment plant leaves on an RGB image using Detectron2 and track them through time with LapTrack package.
Here is a visualization of the resulting tracking:
Data is provided under a CC-BY license.
Let's get started! 🚀
The prediction can be run using the jupyter notebook.
How to run on the google collab:
- Open the notebook in collab
- If you have GPU access, in the
Load the model
section changedevice
tocuda
- Update the
image_path
in theRun predictions
section to your data folder. - Run the notebook!
First, we created a pretrain detection model using detectron2 using data from PhenoBench dataset. Then, the pre-train was fine-tuned on the user's data.
All the annotations were performed using labelme and AnyLabeling AI assisted tool.
Training code: Work in progress!
In this tutorial, we showed how to use AI4Life is a Horizon Europe-funded project that brings together the computational and life science communities.
AI4Life has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement number 101057970. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.