loki2.detect_cells
Loki2 Inference Pipeline for Whole Slide Images (WSI) in Memory.
This module provides the main entry point for cell detection and segmentation on whole slide images using the Loki2 model.
Module Contents
- loki2.detect_cells.current_dir
- loki2.detect_cells.project_root
- loki2.detect_cells.main() None
Main entry point for cell detection on WSI files.
Parses command-line arguments and processes either a single WSI file or a dataset of WSI files for cell detection and segmentation.
- Raises:
ValueError – If neither filelist nor wsi_folder is provided when processing a dataset.