Skip to content

andreped/wsi-visualization-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version app_file pinned
wsi-visualization-demo
🔬
blue
red
docker
24.0.6
Dockerfile
false

wsi-visualization-demo

license

Why?

This repository was developed to demonstrate how to do the following:

  • Creating a simple web application for rendering a whole slide image in real time.
  • Containerizing and deploying a web app for deployment on Hugging Face Spaces.

To access the live demo, click on the Hugging Face badge above. Below is a snapshot of the current state of the demo app.

demo-hf-spaces

Stack

For this demonstration, we have used the following:

Component Description
OpenSeadragon The actual library for rendering the WSI
Deep Zoom Image (DZI) Image file format compatible with OpenSeadragon
nginx HTTP web server
Docker Containerization of the web app
Hugging Face Spaces Deployment platform

Continuous integration

For this project, we continuously update the Hugging Face deployment for each commit to the main branch.

Build Type Status
HF Space Deploy CI
File Size Check CI

Docker

  1. Build image:
docker build -t wsi-visualization .
  1. Run image:
docker run -p 7860:7860 wsi-visualization
  1. Open in browser:
open http://localhost:7860

License

This project has MIT License.