Skip to content

API reference

Most people only need the functions below, all importable from the top-level package:

from omero_annotate_ai import (
    load_config_from_yaml,
    create_default_config,  # configuration
    TrainingSet,  # create or open a training set, annotate it
    create_omero_connection_widget,  # Jupyter widgets
    create_workflow_widget,
    create_training_data_widget,
    export_training_set,  # training data (OMERO or local set)
    prepare_training_data_from_table,
    reorganize_local_data_for_training,
    setup_training,
    run_training,  # micro-SAM training
    prepare_bia_data_from_table,  # BioImage Archive export
)
Page Contents
Configuration AnnotationConfig and its sections, loading and saving YAML
Training sets TrainingSet, sessions, rows, and the deprecated create_pipeline
Widgets Jupyter widgets for connecting, creating or opening a training set, and selecting tables
Training data Preparing training folders, micro-SAM training, BioImage Archive export
OMERO helpers Connections, tracking tables, downloading configs

This reference is generated from the docstrings in the source code.