Skip to main content

Simple napari CCI annotator

Installation

In a specific environment, install napari (tested with version 0.7 and 0.8)

conda create -n napari -c conda-forge napari pyqt --yes
conda activate napari
napari

In napari, open Plugins → Simple CCI Annotator Plugin. Or search for the CCI plugin.

Napari provide standalone installers for Windows, macOS, and Linux. You can install the plugin from the napari store.

Another way to install is with pip:

pip install simple-napari-cci-annotator

The code is on Githb.

From the repository root, install the plugin and napari into a Python 3.10–3.12 environment:

python -m pip install -e ".[all]"
napari

Check your maximum supported CUDA version first:

nvidia-smi

Then pick a compatible wheel index (cu124 = CUDA 12.4, cu126 = 12.6, etc.). Check the PyTorch installation selector for the appropriate build.

Then run:

conda create -n napari-gpu -c conda-forge napari pyqt --yes
conda activate napari-gpu
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu124
pip install ultralytics
pip install simple-napari-cci-annotator

Quick smoke test:

python -c "import numpy, scipy, torch, cv2; from ultralytics import YOLO; print(numpy.__version__, scipy.__version__, torch.__version__, cv2.__version__)"

What it does

The plugin helps you run YOLO detection or instance segmentation on microscopy images, correct predictions, and save training annotations. It also supports tiled inference on large images, batch prediction of image folders, and retraining from saved annotations.

Quick start

  1. Choose Bounding-box detection or Instance segmentation, then create a project in an empty folder. Use Open Project to return to an existing one.
  2. Open an image in napari. Set the channel mapping, optional filter, and normalization, then use Preview RGB Conversion to check the pixels used for prediction and training.
  3. Select a compatible YOLO model and click Predict Current RGB Plane. Edit the resulting boxes or instance mask as needed.
  4. To save training data, select a 512×512 or 1024×1024 training crop, correct it, and click Add Crop + Corrections. The first saved annotation locks the project's image conversion and training patch size.
  5. Use Save Current Output to export a full-size prediction without adding it to the training annotations. For a whole folder, use Batch image prediction after the project settings are locked.

Inference tiles default to the selected training crop size. You can set another tile size in the prediction controls.

Output

Training annotations are stored in the project folder. Detection annotations use YOLO .txt labels; segmentation annotations use instance-mask TIFF files and JSON metadata.

Batch prediction accepts .tif, .tiff, .ome.tif, .ome.tiff, .png, and .bmp files directly inside the selected input folder. It processes every nonspatial TIFF plane and each PNG or BMP image. Grayscale, RGB, and RGBA PNG/BMP files are supported when their channel layout matches the project's locked settings. Results go to <input folder>/Prediction/ by default, or to an output folder you choose. Each run includes analysis_metadata.json with the settings and file records needed to trace its results.

More guidance

  • GUI tutorial: annotation, batch prediction, and retraining steps.
  • Python API examples: project creation, training, and headless inference without napari or Qt.
  • Remaining work: validation and the older plugin's retirement checklist.

This project is released under the MIT license.

Metadata

Release files for simple-napari-cci-annotator 0.10.4

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

Source distribution (sdist)

Source distribution for simple-napari-cci-annotator 0.10.4
File Size Uploaded Provenance Actions
simple_napari_cci_annotator-0.10.4.tar.gz 11.1 MB With provenance Details for simple_napari_cci_annotator-0.10.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-napari-cci-annotator 0.10.4
File Interpreter ABI Platform Actions
simple_napari_cci_annotator-0.10.4-py3-none-any.whl Python 3 none any Details for simple_napari_cci_annotator-0.10.4-py3-none-any.whl

Total release size: 22.2 MB

Release files / simple_napari_cci_annotator-0.10.4.tar.gz

Download URL simple_napari_cci_annotator-0.10.4.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e184376a605e1f705b8dd30307bf11ced90ee76332e4228e3a28e783af812759
BLAKE2b-256 checksum
How to use checksums
71c835622c9617067c6bfddfd92b8d0728164654bce7f55af946a44a38a8deb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

Release files / simple_napari_cci_annotator-0.10.4-py3-none-any.whl

Download URL simple_napari_cci_annotator-0.10.4-py3-none-any.whl
Size 11.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f5d4aed856784e1b79e164f008a453cdb280a523b559995826ce44e6e9c0290e
BLAKE2b-256 checksum
How to use checksums
c1962b2f435ed2dc655a1359cb4190f20a5f7b3f21eb0253b157ba0409e446a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 8, 2026.

Transparency log

Security for simple-napari-cci-annotator 0.10.4

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 simple_napari_cci_annotator-0.10.4.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 Oct 8, 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