Napari Track Edit

Napari plugin for interactive tracks and segmentation annotation

  • Caroline Malin-Mayor

Napari Track Edit

tests codecov

Napari Track Edit logo

A napari plugin for interactive visualization, navigation, and editing of object tracking results. You can open and edit existing tracking data, manually create new tracking results, or run automatic tracking with motile. The full documentation of the plugin can be found here.

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.


Installation

Users can download and install an executable application from the github release, or install from pypi in the environment of their choice (e.g. venv, conda) with the command pip install napari-track-edit. Currently, napari-track-edit requires python >=3.11.

Recommended extras

For better performance, you can install optional extras:

  • numba: Speeds up candidate graph construction significantly.

    pip install napari-track-edit[numba]
    
  • gurobi: Uses the Gurobi solver instead of the default open-source solver. Gurobi is much faster but requires a license (free for academics).

    pip install napari-track-edit[gurobi]
    

You can install multiple extras at once: pip install napari-track-edit[numba,gurobi].

Gurobi license version mismatch

If you have a Gurobi license and encounter an error about license version mismatch, you may need to install a specific version of gurobipy that matches your license. Use one of the version-specific extras:

pip install napari-track-edit[gurobi12]  # For Gurobi 12.x licenses
pip install napari-track-edit[gurobi13]  # For Gurobi 13.x licenses

For developers

Developers can clone the GitHub repository and then use uv to install and run the code. See the developer guide in DEVELOPER.md for more information.

Usage

Start napari and open all widgets via Plugins > Napari Track Edit > Open all widgets.

From here you can:

If you would like to see an example first, go to Plugins > Napari Track Edit > Widget - Getting started, and click on one of the two examples, Hela cells (2D) or Mouse embryo (3D), to download and view them:

  • Fluo-N2DL-HeLa is a 2D dataset of images and segmentations of HeLa cells from the cell tracking challenge.
  • Mouse Embryo Membrane is a 3D dataset of images and segmentations of a membrane labeled developing early mouse embryo (4-26 cells) from Fabrèges et al (2024) available here.

For details, please read the documentation. If you are new to napari-track-edit, you can follow this tutorial to learn the basics.

https://github.com/user-attachments/assets/cd23271d-bbe6-40c2-80cb-8404136a564a

Issues

If you encounter any problems, please file an issue along with a detailed description.

Version:

  • 1.2.0a1

Last updated:

  • 2026-11-20

First released:

  • 2026-09-26

License:

  • BSD 3-Clause

Supported data:

  • Information not submitted

Plugin type:

Open extension:

Save extension:

Python versions supported:

3.11, 3.12, 3.13

Operating system:

  • Information not submitted

Requirements:

  • napari<0.10.0,>=0.7.1
  • funtracks<3,>=2.2.0
  • platformdirs<5,>=4
  • numpy<3,>=2
  • magicgui>=0.10.1
  • qtpy<3,>=2.4
  • scikit-image>=0.25
  • motile<1,>=0.4
  • pydantic<3,>=2
  • tifffile[all]>=2025.1.10
  • tqdm<5,>=4
  • dask[array]>=2021.10.0
  • fonticon-fontawesome6<7,>=6
  • pyqtgraph<1,>=0.13
  • fastplotlib<0.7,>=0.6.1
  • pygfx==0.15.3
  • wgpu<0.30,>=0.29
  • napari-orthogonal-views>=0.5.0
  • lxml_html_clean<1,>=0.4
  • zarr<4,>=2.18.7
  • blosc2<4.12,>=4.11
  • psygnal<0.16,>=0.15.1
  • numba>=0.62.1; extra == "numba"
  • gurobipy; extra == "gurobi"
  • gurobipy<13,>=12; extra == "gurobi12"
  • gurobipy<14,>=13; extra == "gurobi13"
  • pyqt6<7,>=6.7; extra == "all"
Website by the napari team, original design by CZI.