Skip to main content

OMERO Annotate.AI

Pixi Badge PyPI version install with bioconda Python versions Binder CI/CD Documentation License

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 OMERO Connection Widget

Annotation Pipeline 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

📚 Complete Documentation

Links

Contributing

We welcome contributions! For development setup:

  1. Fork the repository
  2. Clone and set up development environment:
    git clone https://github.com/YOUR_USERNAME/omero_annotate_ai.git
    cd omero_annotate_ai
    pixi install
    
  3. Make changes and run tests: pixi run pytest
  4. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omero_annotate_ai-0.3.3.tar.gz (141.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omero_annotate_ai-0.3.3-py3-none-any.whl (102.4 kB view details)

Uploaded Python 3

File details

Details for the file omero_annotate_ai-0.3.3.tar.gz.

File metadata

  • Download URL: omero_annotate_ai-0.3.3.tar.gz
  • Upload date:
  • Size: 141.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for omero_annotate_ai-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0d267552af622b59eed18ab8fc7f23186c2fdb202c1bb218b956a2a5877d177e
MD5 cc1df004cb5092463b6a82d2f9751141
BLAKE2b-256 35f14a4c8eb65ebde10188bbbde2ee329068c64fba0406d5a0de86147d01cc7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for omero_annotate_ai-0.3.3.tar.gz:

Publisher: ci.yml on Leiden-Cell-Observatory/omero_annotate_ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omero_annotate_ai-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for omero_annotate_ai-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17b7b2f0ebb4c26f7ecfe2efe3f5a8070008f518eb9c9c06b1d5baf5d70c8085
MD5 0b80800992ad368f7c7d24b2771a8836
BLAKE2b-256 a28a5cc3b58bef2525c766d1efd948365095347725b047aaf882682d290e3893

See more details on using hashes here.

Provenance

The following attestation bundles were made for omero_annotate_ai-0.3.3-py3-none-any.whl:

Publisher: ci.yml on Leiden-Cell-Observatory/omero_annotate_ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

1 file

0.2.6

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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