ObiWan-Microbi: OMERO-based integrated workflow for annotating microbes in the cloud

Johannes Seiffarth, Tim Scherr, Bastian Wollenhaupt, Oliver Neumann, Hanno Scharr, Dietrich Kohlheyer, Ralf Mikut, Katharina Nöh

TL;DR

ObiWan-Microbi is an open-source, cloud-based platform designed to solve the "ground truth bottleneck" in microbial imaging. By combining remote GPU-accelerated deep learning with a user-friendly web interface and robust data management, it enables researchers to annotate over 200 cells per minute collaboratively.

What Problem Does This Paper Address?

In the world of microfluidic live-cell imaging, we are drowning in data. While deep learning (DL) offers the best way to segment and track individual microbes in these massive time-lapse sequences, these models are "data-hungry." They require high-quality, manually labeled "ground truth" (GT) data to learn effectively.

The challenge is that creating this ground truth is a nightmare. Existing tools often require complex local software installations, high-end GPUs that many labs don't have, and lack a way for teams to collaborate on the same dataset. Furthermore, there is rarely a seamless link between the raw images, the metadata, and the final annotations. Researchers are often left juggling folders of files and disconnected scripts.

Methods

The authors introduce ObiWan-Microbi, a microservice-based platform that moves the entire annotation workflow into the cloud. The system is built on three main pillars:

  1. SegServe (The Engine): A REST API (built with FastAPI) that lives on a remote server. It handles the heavy lifting of running deep learning models like Cellpose, Omnipose, Mask R-CNN, and Yolov5. Because it runs on a server with GPU acceleration, the user doesn't need a powerful computer—just a web browser.
  2. SegUI (The Interface): A browser-based graphical interface (Angular/Ionic) where users can browse images stored in the cloud. It supports "semi-automated" annotation: you run a model to get a "best guess" segmentation and then use efficient drawing tools to manually correct any errors.
  3. SegMSA (The Backbone): A microservice architecture deployed via Docker that integrates OMERO. OMERO is a standard for bioimage data management that ensures all data follows FAIR principles (Findable, Accessible, Interoperable, and Reusable).

Datasets

The platform was validated using several common microbial organisms:

  • Escherichia coli
  • Corynebacterium glutamicum
  • Bacillus subtilis

While the paper doesn't introduce a new static dataset, it utilizes pre-trained models and simulated image data (specifically for Mask R-CNN) to demonstrate how users can quickly generate their own high-quality datasets for these species.

Key Insights and Ideas

  • Democratizing Deep Learning: By offloading computation to a remote server, the authors remove the hardware barrier. A student on a basic laptop can now leverage state-of-the-art segmentation models that would normally require a $2,000 GPU.
  • The Power of "Semi-Automated" Loops: The "aha moment" here is the efficiency gain. Instead of drawing every cell boundary from scratch, the user acts as an editor. The model does 90% of the work, and the human provides the expert correction, which is significantly faster.
  • Collaboration-Ready by Design: Because the system is cloud-based and uses OMERO for user management, entire teams can work on the same project simultaneously without version control headaches.
  • Extensibility: The system is designed to be "pluggable." If a new, better segmentation model is released next month, it can be wrapped into a git repository and added to SegServe without rebuilding the entire platform.

Key Results

  • High-Speed Annotation: The authors achieved an annotation speed of more than 200 cells per minute using the semi-automated workflow. This is a massive leap over fully manual methods.
  • Out-of-the-Box Utility: The platform comes pre-loaded with four major DL algorithms (Cellpose, Omnipose, Mask R-CNN, and Yolov5), making it useful immediately upon deployment.
  • FAIR Integration: By baking OMERO into the architecture, the tool ensures that the resulting ground truth data isn't just a one-off file, but a managed asset that can be used for future benchmarks and training.

Limitations and Future Work

The authors acknowledge that while ObiWan-Microbi is excellent for creating annotations, the next step is tighter integration with the training phase. They point toward their related work, microbeSEG, as a way to close the loop between annotating data and training custom models.

Additionally, while the user doesn't need a GPU, the institution hosting the platform still needs to maintain the server infrastructure. The authors hope that by making the platform open-source and Docker-based, it will encourage the growth of publicly available benchmarks for the live-cell imaging community.

Summary updated

BibTeX
@inproceedings{seiffarth2024obiwan,
  author = {Johannes Seiffarth and Tim Scherr and Bastian Wollenhaupt and Oliver Neumann and Hanno Scharr and Dietrich Kohlheyer and Ralf Mikut and Katharina Nöh},
  title = {{ObiWan-Microbi: OMERO-based integrated workflow for annotating microbes in the cloud}},
  booktitle = {SoftwareX},
  year = {2024},
  url = {https://openreview.net/forum?id=nsgHBBFroS},
}
Figure