OMERO Annotate.AI
Package to support reproducible image annotation workflows for AI training using OMERO data repositories. This Python package provides Jupyter widgets and tools for reproducible annotation, training, and inference using micro-SAM, Cellpose, and other AI models directly with OMERO datasets.
Key Features
- Interactive Jupyter widgets for OMERO connection and workflow configuration
- AI-assisted annotation using micro-SAM integration
- Reproducible workflows with YAML configuration tracking
- Training data preparation for BiaPy and DL4MicEverywhere
- Direct OMERO integration with automatic result storage
Quick Start
Installation
# Recommended: Using pixi
pixi init myproject && cd myproject
pixi add micro_sam
pixi add --pypi omero-annotate-ai
pixi shell
# Alternative: Conda + pip
conda install -c conda-forge micro-sam
pip install omero-annotate-ai
📖 See Installation Guide for detailed instructions and troubleshooting.
Basic Usage
OMERO Connection Widget
Annotation Pipeline Widget
from omero_annotate_ai import create_omero_connection_widget, create_workflow_widget, create_pipeline
# Connect to OMERO
conn_widget = create_omero_connection_widget()
conn_widget.display()
conn = conn_widget.get_connection()
# Configure annotation workflow
workflow_widget = create_workflow_widget(connection=conn)
workflow_widget.display()
config = workflow_widget.get_config()
# Run annotation pipeline
pipeline = create_pipeline(config, conn)
table_id, processed_images = pipeline.run_full_workflow()
Example Notebooks
Try these example notebooks to get started:
Alternative: YAML Configuration
For batch processing and reproducible workflows, you can also use YAML configuration files:
from omero_annotate_ai.core.annotation_config import load_config
from omero_annotate_ai.core.annotation_pipeline import create_pipeline
# Load configuration from YAML
config = load_config("annotation_config.yaml")
conn = create_connection(host="omero.server.com", user="username")
# Run annotation pipeline
pipeline = create_pipeline(config, conn)
results = pipeline.run_full_workflow()
See the YAML Configuration Guide for complete documentation.
Documentation
- Installation Guide - Detailed installation instructions and troubleshooting
- micro-SAM Tutorial - Step-by-step annotation workflow tutorial
- YAML Configuration Guide - Complete YAML configuration reference and examples
- API Reference - Complete API documentation
- Examples - Jupyter notebook tutorials
Links
Contributing
We welcome contributions! For development setup:
- Fork the repository
- Clone and set up development environment:
git clone https://github.com/YOUR_USERNAME/omero_annotate_ai.git cd omero_annotate_ai pixi install
- Make changes and run tests:
pixi run pytest - Submit a pull request
See Installation Guide - Development Setup for detailed instructions.
Contact
Maarten Paul - m.w.paul@lacdr.leidenuniv.nl
Acknowledgments: Developed within the NL-BioImaging infrastructure, funded by NWO.
Metadata
Release files for omero-annotate-ai 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omero_annotate_ai-0.3.3.tar.gz | 141.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omero_annotate_ai-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 243.6 kB
Release files / omero_annotate_ai-0.3.3.tar.gz
| Download URL | omero_annotate_ai-0.3.3.tar.gz |
|---|---|
| Size | 141.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d267552af622b59eed18ab8fc7f23186c2fdb202c1bb218b956a2a5877d177e
|
|
BLAKE2b-256 checksum How to use checksums |
35f14a4c8eb65ebde10188bbbde2ee329068c64fba0406d5a0de86147d01cc7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency logRelease files / omero_annotate_ai-0.3.3-py3-none-any.whl
| Download URL | omero_annotate_ai-0.3.3-py3-none-any.whl |
|---|---|
| Size | 102.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17b7b2f0ebb4c26f7ecfe2efe3f5a8070008f518eb9c9c06b1d5baf5d70c8085
|
|
BLAKE2b-256 checksum How to use checksums |
a28a5cc3b58bef2525c766d1efd948365095347725b047aaf882682d290e3893
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 15, 2026.
Transparency log