Installation

Install from PyPI (recommended):

pip install glasscut

For GPU acceleration, install with the gpu extra:

pip install "glasscut[gpu]"

Install from source (development):

git clone https://github.com/CamiloSinningUN/GlassCut.git
cd GlassCut
uv sync

GPU Acceleration (Optional)

To enable GPU-accelerated WSI reading via CuCim:

uv sync --extra gpu

This requires a CUDA-compatible GPU and driver. See the CuCim documentation for details.

Verifying the Installation

import glasscut
print(glasscut.__version__)