This repository supersedes the earlier Plant-Imager repository, aligning with the updated design and requirements of the Plant Imager v3 robot.
This repository contains three Python subpackages:
picamera
: A Python package designed for the Raspberry Pi Zero W with a camera. It manages video streaming and image capture.controller
: A Qt-based Python package intended for the main Raspberry Pi 4 or 5. This package acts as the central controller and provides a touchscreen interface.webui
: A Dash-based Python package also for the main Raspberry Pi 4 or 5. It offers a client interface for plant scanning.
To run the QtApp, you must install the required Mesa packages. On Ubuntu, you can do this by executing the following commands:
sudo apt update
sudo apt install libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx mesa-utils
If needed, start by creating a virtual environment named plant_imager3
.
Use the following command:
conda create -n plant-imager3 'python==3.10' ipython
To install the plantimager.commons
subpackage, run the following command from the root directory of the repository:
pip install -e src/commons/.
To install the plantimager.controller
subpackage, run the following command from the root directory of the repository:
pip install -e src/controller/.
After installation, you can start the PlantImagerApp
with:
plant-imager-controller-app
To install the plantimager.picamera
subpackage, run the following command from the root directory of the repository:
pip install -e src/picamera/.
To install the plantimager.webui
subpackage, run the following command from the root directory of the repository:
pip install -e src/webui/.