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
GPU (NVIDIA CUDA) — recommended if you have an NVIDIA GPU
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
- Choose Bounding-box detection or Instance segmentation, then create a project in an empty folder. Use Open Project to return to an existing one.
- 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.
- Select a compatible YOLO model and click Predict Current RGB Plane. Edit the resulting boxes or instance mask as needed.
- 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.
- 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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_napari_cci_annotator-0.10.5.tar.gz | 16.1 MB | With provenance | Details for simple_napari_cci_annotator-0.10.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_napari_cci_annotator-0.10.5-py3-none-any.whl | Python 3 | none | any | Details for simple_napari_cci_annotator-0.10.5-py3-none-any.whl |
Total release size: 27.1 MB
Release files / simple_napari_cci_annotator-0.10.5.tar.gz
| Download URL | simple_napari_cci_annotator-0.10.5.tar.gz |
|---|---|
| Size | 16.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78fd4dbe4253fb18cff5833ac62a6d3d33b67552029975510efeae2cd5783355
|
|
BLAKE2b-256 checksum How to use checksums |
37ca790187beafa59603c968060f0b8908ad55d49ca2838442aac6c5bfbdde39
|
| 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 16, 2026.
Transparency logRelease files / simple_napari_cci_annotator-0.10.5-py3-none-any.whl
| Download URL | simple_napari_cci_annotator-0.10.5-py3-none-any.whl |
|---|---|
| Size | 11.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3a6b3ffca57ddf92e0e9229ffbbbee8b2f318e1666d8016b987d07868c7f861
|
|
BLAKE2b-256 checksum How to use checksums |
360f760b258e7dc3d8272431cbb695ac39f055e222f8ecd0738dcc16daf95d73
|
| 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 16, 2026.
Transparency logSecurity for simple-napari-cci-annotator 0.10.5
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.
Attestation for simple_napari_cci_annotator-0.10.5.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 16, 2026.
Transparency logA 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.