Skip to content

Installation

  1. Install pyvips for Efficient Image Processing

    Pyvips is a powerful and fast image processing library, particularly suited for working with large images like WSIs. To install pyvips, ensure that the libvips system dependencies are installed first:

    Linux

    sudo apt-get install libvips-dev
    

    macOS (via Homebrew)

    brew install vips
    

    Windows

    Follow the instructions on the official libvips installation page.

  2. Install the Core Quality Control Library

    You can install the core library using one of the following methods, depending on your package manager:

    (Note that this command assumes an existing uv project.)

    uv add git+https://github.com/RationAI/quality-control.git
    
    pip install git+https://github.com/RationAI/quality-control.git
    

Once pyvips, and the core library are installed, you're ready to start using QC functions.