Welcome to Neuroslice

Neuroslice is a Python package for brain tumor bounding box detection using the YOLOv11m model on MRI FLAIR data.

You can find the Github repository here.

Overview

Neuroslice provides automated brain tumor bounding box detection using pre-trained YOLO models. It processes FLAIR MRI images slice-wise and supports three slice orientations (coronal, sagittal, and axial). Models are automatically downloaded from Hugging Face when first used.

Tumor detection example 1 Tumor detection example 2

Quick Start

Install via pip:

pip install neuroslice

Basic usage:

neuroslice input.nii.gz output_mask.nii.gz --axis 0 --mode --verbose

Warning

Only use FLAIR sequences as the model was trained only on FLAIR data.

Table of contents

Additional Information