Skip to main content

Simple napari CCI annotator

Installation

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

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

In napari, open Plugins → CCI Annotator → Simple CCI Annotator Plugin.

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.3

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.3
File Size Uploaded Provenance Actions
simple_napari_cci_annotator-0.10.3.tar.gz 11.1 MB With provenance Details for simple_napari_cci_annotator-0.10.3.tar.gz

Built distribution (wheel)

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

Total release size: 22.2 MB

Release files / simple_napari_cci_annotator-0.10.3.tar.gz

Download URL simple_napari_cci_annotator-0.10.3.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7590beb531656336124e7322e0802e23d850f8b708be17fea4d1df0839b2cd60
BLAKE2b-256 checksum
How to use checksums
3ad08a3a07dcfb91ade5bd46d287ae3646399477fa8a6b4027d96cf2b78e313a
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.3-py3-none-any.whl

Download URL simple_napari_cci_annotator-0.10.3-py3-none-any.whl
Size 11.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cf194df54411aaad92284490fc425419246d7bbb82bbde95c2710dbcbef436f3
BLAKE2b-256 checksum
How to use checksums
baf76257761e6c344cd43668bf07ff529004204b8a7063677f8305813e0883f5
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.3

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.3.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