Installation#

Installing#

There are several ways to install deadleaves. For most usecases we recommend installing from PyPI using pip.

To adapt or contribute code, you will have to get the source code from GitHub.

You may install deadleaves from PyPI using pip:

pip install deadleaves
  1. Clone the repository from GitHub:

    git clone git@github.com/ag-perception-wallis-lab/deadleaves.git
    
  2. Install deadleaves to your local python library using pip, by running from the top-level directory:

    pip install .
    

Dependencies#

We recommend using a Python version 3.12 or newer. The dependencies should be automatically installed (at least using pip). deadleavess required dependencies are:

Note

If possible we advise to setup CUDA for GPU use. On CPU sampling a single high-resolution image may take multiple minutes.