Skip to main content

DOC PyPI Conda codecov Image.sc forum DOI

Segment Anything for Microscopy

Tools for segmentation and tracking in microscopy build on top of Segment Anything. Segment and track objects in microscopy images interactively with a few clicks!

We implement napari applications for:

  • interactive 2d segmentation (Left: interactive cell segmentation)
  • interactive 3d segmentation (Middle: interactive mitochondria segmentation in EM)
  • interactive tracking of 2d image data (Right: interactive cell tracking)

If you run into any problems or have questions regarding our tool please open an issue on Github or reach out via image.sc using the tag micro-sam, and tagging @constantinpape and @anwai98. You can follow recent updates on micro_sam in our news feed.

Installation and Usage

Please check the documentation for details on how to install and use micro_sam. You can also watch the quickstart video, our virtual I2K workshop video or all video tutorials.

Contributing

We always welcome new contributions!

If you just want to suggest a documentation edit, you can do this directly here, on GitHub. For more complex changes, see CONTRIBUTING.md or the contributing guide in our documentation for details. The first step is to discuss your idea in a new issue with the current developers.

Everyone participating in this project is expected to follow our Code of Conduct.

Citation

If you are using this repository in your research please cite

There are a few other napari plugins build around Segment Anything:

Compared to these we support more applications (2d, 3d and tracking), and provide finetuning methods and finetuned models for microscopy data. WebKnossos and QuPath also offer integration of Segment Anything for interactive segmentation.

We have also built follow-up work that is based on micro_sam:

Release Overview

You can find an overview of changes introduced in previous releases here.

Metadata

Release files for micro-sam 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micro-sam 1.9.0
File Size Uploaded Provenance Actions
micro_sam-1.9.0.tar.gz 233.1 kB With provenance Details for micro_sam-1.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for micro-sam 1.9.0
File Interpreter ABI Platform Actions
micro_sam-1.9.0-py3-none-any.whl Python 3 none any Details for micro_sam-1.9.0-py3-none-any.whl

Total release size: 498.7 kB

Release files / micro_sam-1.9.0.tar.gz

Download URL micro_sam-1.9.0.tar.gz
Size 233.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87830a44baa91064f2b375bf1350700c572265ffd02390294fa8547cc4c8bb42
BLAKE2b-256 checksum
How to use checksums
561d14bce3199500be494481d75c7004f106c8ff15bb6d9d21ead053a45acc15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / micro_sam-1.9.0-py3-none-any.whl

Download URL micro_sam-1.9.0-py3-none-any.whl
Size 265.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e39857047af3e351254d82b27bada65b693900666cad18fef87483b74b61dd2
BLAKE2b-256 checksum
How to use checksums
cbd077406dbafb4a05d9eda8f0ca74034b288f4bd7705df7bc71368ec5761d88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for micro-sam 1.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for micro_sam-1.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page