You no longer need a cloud service or an expensive licence to count, outline and track cells in microscope images. A handful of free, open-source tools use machine learning to do it on your own PC, and several can use an NVIDIA graphics card to speed things up. We've picked the best from their official pages and documentation, checked on 30 November 2026. All seven are free, open-source software.
Quick picks
Pick | Best for | AI approach | GPU support (per official docs) | Licence |
|---|
Cellpose | Best overall | Pretrained deep learning models (Cellpose-SAM, DINOv3-based) | NVIDIA via PyTorch | BSD-3-Clause code, CC-BY-NC training data |
StarDist | Nuclei | Star-convex shape detection | NVIDIA via TensorFlow | BSD-3-Clause |
ilastik | No-code machine learning | Interactive learning from brush strokes | GPU-enabled builds with CUDA 12.6 | GPL |
QuPath | Large images and pathology | StarDist extension, deep learning add-ons | CUDA via TensorFlow on Linux | GPL |
napari | Python workflows | Viewer that hosts AI plugins | Depends on plugin | BSD-3-Clause |
Fiji | ImageJ users | Plugins including StarDist | Depends on plugin | Free and open source |
CellProfiler | High-throughput pipelines | Pipelines plus machine learning in CellProfiler Analyst | Not stated | Free and open source |
1. Cellpose: best overall
Cellpose is the tool to try first. Its Cellpose-SAM model is pitched by its developers as "cell and nucleus segmentation with superhuman generalization", designed to work regardless of channel order and object size, in 2D and 3D. The June 2026 v4.2 update added two models based on Meta's DINOv3, cpdino and cpdino-vitb, and an updated cpsam_v2 that the developers say predicts fewer spurious masks in low-contrast regions.
It comes with its own GUI for running models, correcting masks and fine-tuning on your own images, plus a command line and Python API. It runs on Windows, Linux and macOS, needs at least 8GB of system RAM (16GB to 32GB for big images and 3D) and uses PyTorch, so an NVIDIA card is straightforward to set up. A 16GB card such as the MSI GeForce RTX 5060 Ti 16GB Ventus 2X OC Plus is a sensible starting point; the official docs don't set a minimum. The one catch: the developers say all Cellpose models are trained on CC-BY-NC (non-commercial) data. See our guide on how to segment cells with Cellpose on your own GPU.
2. StarDist: best for nuclei
StarDist detects objects as star-convex polygons in 2D and polyhedra in 3D, and its pretrained models are aimed at nuclei. It provides pretrained 2D models for fluorescence images with a nuclear marker (2D_versatile_fluo and 2D_paper_dsb2018) and for brightfield H&E images (2D_versatile_he), and you can train your own.
The Python package runs on TensorFlow and supports Python 3.6 to 3.13. For GPU use, the README says you must match your CUDA and cuDNN versions to your TensorFlow release. If you'd rather avoid code, StarDist plugins exist for Fiji, napari, QuPath, Icy and KNIME. Our Cellpose vs StarDist comparison explains which to choose.
3. ilastik: best for no-code machine learning
ilastik, "the interactive learning and segmentation toolkit", lets you train a classifier by painting simple brush strokes on your image and seeing the result immediately. Its developers say no machine learning expertise is required. Workflows include pixel classification, object classification, carving objects out of 3D volumes, counting densely packed cells and tracking dividing cells in 2D and 3D.
Version 1.4.2, released in May 2026, has ready-made packages for Windows, macOS and Linux. There are also separate GPU-enabled builds for Windows and Linux for faster neural network prediction; they come with CUDA 12.6 and are much larger downloads, 2.4GB on Windows against 500MB for the standard build. ilastik is distributed under the GNU General Public License, with an exception allowing extensions not covered by it.
4. QuPath: best for large images and pathology
QuPath describes itself as open software for bioimage analysis, and version 0.7.0 is the current release, with installers for Windows, macOS and Linux. It is licensed under the GNU General Public License, and its developers state that it is not intended for clinical, diagnostic or therapeutic purposes.
For AI, QuPath's documentation covers its StarDist extension, which runs StarDist 2D nucleus detection inside QuPath. Three example models run with OpenCV, already built into QuPath, so you can start without installing TensorFlow. Other models can be added through the QuPath Deep Java Library extension. If you want CUDA acceleration, QuPath's documentation notes that TensorFlow dropped CUDA support for Windows, so that only works on Linux.
5. napari: best for Python workflows
napari is "a fast, interactive viewer for multi-dimensional images in Python". It displays 2D, 3D and higher-dimensional data and overlays points, polygons and segmentations you can annotate and edit. On its own it isn't an AI tool, but its plugin ecosystem is where many AI segmentation tools plug in; StarDist, for example, has a napari plugin for 2D and 3D images. You can install it as a Python package or as a standalone app, and GitHub lists it under the BSD-3-Clause licence.
6. Fiji: best for ImageJ users
Fiji is a "batteries-included" distribution of ImageJ that bundles many plugins, manages their dependencies and updates automatically, and features thousands of plugins in total. It's free and open source. For AI segmentation, the StarDist team provides a Fiji plugin that runs pretrained StarDist models on 2D or 2D+time images, so it's an easy way to add deep learning to an existing ImageJ workflow.
7. CellProfiler: best for high-throughput pipelines
CellProfiler, from the Broad Institute, is "designed for biologists": you load a pipeline of image-processing modules, adjust it to measure the features you care about, and process images automatically, which its developers say can scale to millions. Its developers describe it as free open-source software. Results export to a spreadsheet or database, and the companion CellProfiler Analyst uses machine learning to explore data and classify complex or subtle phenotypes.
What hardware do you need?
You don't need a graphics card to try most of these tools: Cellpose runs on the CPU by default, and ilastik offers standard builds alongside its GPU-enabled ones. A graphics card matters when you process lots of images or large 3D volumes with deep learning models. Cellpose and ilastik's GPU builds are the most direct routes to NVIDIA acceleration on Windows; TensorFlow-based tools such as StarDist are easiest to accelerate on Linux or under WSL2. For heavy 3D work, more video memory gives you headroom: the NVIDIA GeForce RTX 5090 Founders Edition has 32GB of GDDR7. Our guide to how much VRAM you need in 2026 explains the trade-offs.