File size: 3,389 Bytes
ff6abfe
ab23a68
ff6abfe
 
 
 
 
 
9ba9eff
 
 
 
ff6abfe
 
6fe4e63
 
 
 
 
 
70f2a69
6fe4e63
d140995
6fe4e63
 
 
fde24c4
ff6abfe
fde24c4
 
 
 
 
ff6abfe
fde24c4
ff6abfe
646e596
fde24c4
53b2127
fde24c4
 
ff6abfe
d140995
ff6abfe
fde24c4
ff6abfe
 
 
d3d9446
ab23a68
ff6abfe
 
 
 
d140995
ff6abfe
 
7aff641
ff6abfe
7aff641
 
d140995
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
title: 'ohif4hf: Project to showcase AI solutions for medical applications in OHIF'
colorFrom: indigo
colorTo: indigo
sdk: docker
emoji: 🔬
pinned: false
license: mit
custom_headers:
  cross-origin-embedder-policy: require-corp
  cross-origin-opener-policy: same-origin
  cross-origin-resource-policy: cross-origin
---

<div align="center">
<h1 align="center">ohif4hf</h1>
<h3 align="center">Project to showcase AI solutions for medical applications in OHIF</h3>

[![license](https://img.shields.io/github/license/DAVFoundation/captain-n3m0.svg?style=flat-square)](https://github.com/DAVFoundation/captain-n3m0/blob/master/LICENSE)
[![CI/CD](https://github.com/andreped/ohif4hf/actions/workflows/deploy.yml/badge.svg)](https://github.com/andreped/ohif4hf/actions/workflows/deploy.yml)
<a target="_blank" href="https://huggingface.co./spaces/andreped/neukit"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Spaces-yellow.svg"></a>

**ohif4hf** was developed by SINTEF Medical Image Analysis to accelerate medical AI research.

</div>

## :gift: [Brief intro](https://github.com/andreped/ohif4hf#brief-intro)

The aim of this project, is to enable people without programming expertise to easily test AI solutions on their own data. The AI models should be accessible through a user-friendly user interface (UI), accessible through a browser, not requiring any installation stage.

For the UI, we have used OHIF, which already has all the core features required for reading CTs/MRIs/WSIs and visualizing them, and we will be developing plugins for OHIF, which adds AI model support.

One of the first models we will be adding, are the preoperative tumour segmentation models, which are available in the open software [Raidionics](https://github.com/raidionics/Raidionics).

## 🤗 [Demo](https://github.com/andreped/ohif4hf#demo)  <a target="_blank" href="https://huggingface.co./spaces/andreped/neukit"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Spaces-yellow.svg"></a>

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

[![Watch the video](docs/images/snapshot-deploy.png)](https://huggingface.co./spaces/andreped/ohif4hf)

_**NOTE:** The project is a work-in-progress. The final plugin(s) are yet to be added. Stay tuned!_

The web app is also deployed on [my personal website](https://andreped.github.io/demos/2023/ohif-plugin/), using HF for hosting the solution.

## 🐳 [Development](https://github.com/andreped/ohif4hf#development)

```
git clone https://github.com/andreped/ohif4hf.git
docker build --no-cache -t ohif4hf .
docker run ohif4hf
```

To go inside docker image and debug, at the bottom of the Dockerfile, add `ENTRYPOINT [ "/bin/sh" ]` before running.

## 👏 [Acknowledgements](https://github.com/andreped/ohif4hf#acknowledgements)

I did not develop OHIF, only implemented some plugins and showcased deployment on Hugging Face space.

Credit should be given to the developers of OHIF for making such an amazing open software solution!

I also want to acknowledge [@radames](https://github.com/radames) at Hugging Face for assistance with HF space integration.

## ✨ [License](https://github.com/andreped/ohif4hf#license)

The code in this repository is released under [MIT-License](https://github.com/andreped/ohif4hf/blob/main/LICENSE).