slide2vec¶
slide2vec is a slide encoding library for computational pathology.
It provides a unified API to make whole-slide encoding with Foundation Models straightforward. Building on top of hs2p, it abstracts away the complexities of working with whole-slide images, handling tiling, batching, and multi-GPU distribution so you can go from a slide path to an embedding tensor in a few lines.
It ships with presets for the most widely used pathology foundation models.