An example notebook demoing how to transform 2D keypoints to a new coordinate system using movement.
The data is a short clip of tracked seabirds flying around a boat. The notebook shows how to express the data in a coordinate system aligned with the boat.
Create a conda environment and install the latest version of movement:
conda create -n movement-env -c conda-forge movementActivate the environment:
conda activate movement-envInstall additional dependencies for Jupyter Notebooks:
pip install jupyter jupyterlab ipymplIf you wish to use the movementGUI, which additionally requires napari,
you should replace the first command with:
conda create -n movement-env -c conda-forge movement napari pyqtYou may exchange pyqt for pyside2 if you prefer.
See napari's installation guide
for more information on the backends.
Please refer to the movement installation guide for more details.
To open the notebook in Jupyter Lab, run from the root of this repository:
jupyter lab notebook_seabirds.ipynbAlternatively, you can run the notebook in VS Code using the Jupyter extension.
- Scale distances using boat width
- Define ROIs