acia.segm.processor.omnipose#

Omnipose segmentation implementation

acia.segm.processor.omnipose.batch(iterable, n=1)[source]#
class acia.segm.processor.omnipose.OmniposeSegmenter[source]#

Bases: SegmentationProcessor

Omnipose segmentation implementation

__init__(use_GPU=None, model='bact_phase_omni', autorelease=True)[source]#

Initialize the segmentation processor.

Parameters:
  • autorelease (bool) – When True (default), the model is released after each __call__(), freeing GPU memory. Set to False to keep the model resident across calls (expert batch case).

  • use_GPU (bool | None)

predict(images)[source]#
Parameters:

images (ImageSequenceSource)

Return type:

Overlay