The full documentation of the plugin can be found here.
An application for interactive tracking with motile Motile is a library that makes it easy to solve tracking problems using optimization by framing the task as an Integer Linear Program (ILP). See the motile documentation for more details on the concepts and method.
This application depends on motile, which in turn depends on gurobi and ilpy. These dependencies must be installed with conda before installing the plugin with pip.
conda create -n motile-tracker python=3.10
conda activate motile-tracker
conda install -c conda-forge -c funkelab -c gurobi ilpy
pip install motile-tracker
The conda environment can also be created from the provided conda_config.yml:
conda env create -f conda_config.yml
conda activate motile-tracker
Alternatively one can use pixi.
To run the application:
-
activate the conda environment created in the Installation Step
conda activate motile-tracker
-
Run:
python -m motile_tracker
or
motile_tracker
If pixi is available, you can run motile-tracker using:
pixi run start
To create the executab run
pixi run create-app
This command will create an application (.app) on OSX, an EXE on Windows and an ELF executable on Linux.
On Window
70E7
s in order to be able to package the application the ilpy library must be
properly installed and compiled. This will require download and install Visual Studio Build Tools. This comes with a script to set all required environment variables located typically at "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
so before you setup the app you need to run this bat file. For powershell run scripts\scripts/set-vs-buildTools-env.ps1 <fullpathto vcvars64>
.
Further to create an installer for the app you will need:
- InnoSetup on Windows (
scoop install inno-setup
orwinget install "Inno Setup"
) - create-dmg on OSX (
brew install create-dmg
) - makeself on Linux (
apt install makeself
)
If you encounter any problems, please file an issue along with a detailed description.