SlideRelabeler

A powerful desktop application for de-identifying whole slide images

Electron React Python WSI Processing

Download for Your Platform

Windows
Available
macOS
Coming Soon
Linux
Coming Soon

Design & Architecture

SlideRelabeler features a modern and powerful frontend built with React, Redux, and Redux-Saga. The backend server invokes Python code to interact with WSI files, providing a seamless de-identification workflow.

React Redux Redux-Saga Electron Python Vite

The project incorporates modified code from the DSA-WSI-DeID and is modeled on svs-deidentifier.

Getting Started

  1. Clone the repository: git clone https://github.com/BrainDigitalSlideArchive/SlideRelabeler.git
  2. Navigate to directory: cd SlideRelabeler
  3. Create conda environment: conda env create -f environment.yml
  4. Activate environment: conda activate sliderelabeler
  5. Install dependencies: npm install
  6. Launch development app: npm start
Note for Apple M1 users: If you encounter issues with large-image[common] installation due to rawpy not being found, you may need to install cmake and clone the rawpy repository directly. See the GitHub issue for detailed solutions.

Build Options

Development Mode

npm start

Opens the app using your local Python installation

PyInstaller Build & Test

npm run startpib

Packages Python code with PyInstaller and launches the app

Use Pre-built PyInstaller

npm run startpi

Uses existing PyInstaller executable without rebuilding

Production Build

npm run make

Creates a standalone Electron application in the out/ directory

Resources & References

Initial templating was created with: npm init electron-app@latest . -- --template=vite

Ready to Get Started?

Clone the repository and start de-identifying your whole slide images today!