This system is responsible for the following:
- Ingesting raw image data into the database
- Analysing raw image data to extract plant data
- Matching similar plants and assigning a
plant_idto them - Tracking the growth of plants over time
mv config.ini.example config.ini
Fill in config.ini with the username and password to your postgresql database. Paste your plantnet API key into the api_key section, this can be created at https://my.plantnet.org/.
python3 -m venv venv
. venv/bin/activate (linux) or ./venv/Scripts/activate (win)
python3 -m pip install -e
pip install -r requirements.txt
python3 models/human_detection/human_detector.py
uvicorn app.main:app --reload
docker build -t dmas_image .
docker run -d --name dmas -p 8080:8080 dmas_image
You can view the endpoints and accompanying API doc by running the service, then going to http://hostname:port/docs.