Skip to main content

Tracking cells and lineage with deep learning.

Project description

DeepCell Tracking Banner

PyPI version Build Status Coverage Status

deepcell-tracking uses deep learning models from deepcell-tf within an assignment problem framework to track cells through time-lapse sequences and build cell lineages. The assignment problem is solved using the Hungarian algorithm.

Getting Started

deepcell-tracking is a Python package that can be installed with pip:

pip install deepcell-tracking

Or it can be installed from source:

git clone https://github.com/vanvalenlab/deepcell-tracking.git

cd deepcell-tracking

# install the dependencies
pip install .

How to Use

from deepcell_tracking import CellTracker

# X and y are the time-sequence data and their corresponding segmentations (labels), respectively.
# model is a deepcell-tf tracking model.
tracker = CellTracker(X, y, model)

tracker.track_cells()  # runs in place, builds tracks

# Save all tracked data and lineage files to a .trk file
tracker.dump('./results.trk')

# Open the track file
from deepcell_tracking.utils import load_trks

data = load_trks('./results.trk')

lineage = data['lineages']  # linage information
X = data['X']  # raw X data
y = data['y']  # tracked y data

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepcell_tracking-0.6.5.tar.gz (37.6 kB view details)

Uploaded Source

File details

Details for the file deepcell_tracking-0.6.5.tar.gz.

File metadata

  • Download URL: deepcell_tracking-0.6.5.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for deepcell_tracking-0.6.5.tar.gz
Algorithm Hash digest
SHA256 dcfc7ab4a464df4cb87ed1d84f1efec75d52a48595debce09ba8592894aa2623
MD5 1e15a58839e300c43493f421af6e311a
BLAKE2b-256 63c2dff2b69adaae376ed4639dc134abf060649f9fb310f19728e5b1b5803121

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page