$npx skillfedfor your agent

cellpose

anatomical segmentation algorithm

With conditionsPyPI Artificial IntelligenceReleased Jun 2026115.7K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cellpose-4.2.1.1-py3-none-any.whl
v4.2.1.1 · released 2026-06-14 · 13 runtime deps: numpy, scipy, natsort, tifffile, tqdm, torch, torchvision, opencv-python-headless

Yes, if you work with microscopy image segmentation. Cellpose is actively maintained, well-documented, and handles real-world imaging challenges. Install friction is low for standard ML environments. Note that pre-trained models are CC-BY-NC licensed; if commercial use of those models is required, verify licensing implications. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires torch and torchvision; GPU drivers and CUDA libraries recommended for performance.
  • At least 8GB RAM; 16GB-32GB may be required for larger images and 3D volumes.
  • Low friction wheel distribution.

License · maintenance · safety

BSD (permissive) — BSD permissive license. Training data and models are CC-BY-NC licensed, which restricts commercial use of those artifacts—relevant if you plan to use or redistribute the pre-trained models commercially.

last release 2026-06-14 (61 days) · last repo commit 2026-06-14 · 2,310 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,659 downloads/mo, #12,241 on PyPI

Verify before relying

pip install cellpose
import cellpose
from cellpose import models
model = models.Cellpose(model_type='cyto3')
masks, flows, styles = model.eval(images, channels=[0,0])
  • Whether pre-trained model download happens automatically or requires manual setup on first use.
  • Memory and compute requirements for typical 3D segmentation workflows.
  • Compatibility with Apple Silicon (MPS) for mask creation in 2D/3D.
Same gist for agents: .md · .json

What it is and what it does

Cellpose is a deep-learning-based segmentation tool designed for identifying cells and nuclei in microscopy images. It combines a generalist neural network backbone with support for custom model training, allowing users to adapt it to their own data without extensive ML expertise. The package handles challenging real-world imaging conditions—shot noise, blur, undersampling, contrast inversions, variable channel order, and mixed object sizes—and works in both 2D and 3D.

The latest version integrates segment_anything for improved generalization and includes image restoration capabilities to clean up noisy or degraded input before segmentation. You can use pre-trained models out of the box, fine-tune them on labeled data via human-in-the-loop training, or run batch processing through the web interface. The package ships with a GUI, command-line tools, and a Python API, making it accessible for both interactive exploration and automated pipelines.

Use it for

  • Segment cell nuclei and cytoplasm in fluorescence microscopy images for quantitative analysis.
  • Process 3D volumetric data from confocal or light-sheet microscopy with orthogonal refinement.
  • Fine-tune a pre-trained model on your own labeled dataset to improve accuracy for specific cell types or imaging modalities.
  • Restore degraded microscopy images before segmentation to improve mask quality.
  • Batch-process large image collections via the Hugging Face web interface without local GPU setup.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with microscopy image segmentation.

Cellpose is actively maintained, well-documented, and handles real-world imaging challenges. Install friction is low for standard ML environments. Note that pre-trained models are CC-BY-NC licensed; if commercial use of those models is required, verify licensing implications. No known security vulnerabilities.

Install

cellpose on PyPI

Before you install

Low friction wheel distribution. Active maintenance with recent release. Requires torch and torchvision, which are substantial dependencies but standard for ML workflows. 13 runtime dependencies including image I/O and computer vision libraries.

Requires torch and torchvision; GPU drivers and CUDA libraries recommended for performance. At least 8GB RAM; 16GB-32GB may be required for larger images and 3D volumes.

License in practice

BSD permissive license. Training data and models are CC-BY-NC licensed, which restricts commercial use of those artifacts—relevant if you plan to use or redistribute the pre-trained models commercially.

Quickstart

pip install cellpose
import cellpose
from cellpose import models
model = models.Cellpose(model_type='cyto3')
masks, flows, styles = model.eval(images, channels=[0,0])

Verify before relying

  • Whether pre-trained model download happens automatically or requires manual setup on first use.
  • Memory and compute requirements for typical 3D segmentation workflows.
  • Compatibility with Apple Silicon (MPS) for mask creation in 2D/3D.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
13 packages
numpyscipynatsorttifffiletqdmtorchtorchvisionopencv-python-headlessfastremapimagecodecsroifilefill-voidssegment_anything
MaintenanceActively maintained 61 days since the last release
Last repo commit
First released
Downloads115,659 / month, #12,241 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: cellpose-4.2.1.1-py3-none-any.whl

Tags

Capabilities
cell segmentation microscopynucleus detection deep learningimage segmentation biological3D cell segmentationmicroscopy image analysisautomated cell detectioncustom model training segmentation
Topics
microscopy-image-analysiscell-segmentationdeep-learning

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cell segmentation microscopy”

  • cellposeCellpose segments cells and nuclei in microscopy images using deep…
  • pycat-napariPyCAT-Napari is a napari-based desktop application for detecting,…
  • docling-ibm-modelsProvides AI models for table structure recognition and page layout…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also TotalSegmentator · segmentation-models-pytorch · pycat-napari · nnunetv2 · batchgenerators · face-alignment · albumentations · connected-components-3d · lightly · roifile