GithubHelp home page GithubHelp logo

testnobody / digipathai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haranrk/digipathai

0.0 0.0 0.0 141.57 MB

Digital Pathology AI

License: MIT License

Python 12.23% JavaScript 86.21% HTML 1.46% CSS 0.10%

digipathai's Introduction

PyPI version arXiv Codacy Badge

DigiPathAI

A software application built on top of openslide for viewing whole slide images (WSI) and performing pathological analysis

Citation

If you find this reference implementation useful in your research, please consider citing:

@article{khened2020generalized,
  title={A Generalized Deep Learning Framework for Whole-Slide Image Segmentation and Analysis},
  author={Khened, Mahendra and Kori, Avinash and Rajkumar, Haran and Srinivasan, Balaji and Krishnamurthi, Ganapathy},
  journal={arXiv preprint arXiv:2001.00258},
  year={2020}
}

Features

  • Responsive WSI image viewer
  • State of the art cancer AI pipeline to segment and display the cancerous tissue regions

Application Overview

Results

Online Demo

https://digipathai.tech/

Installation

Running of the AI pipeline requires a GPU and several deep learning modules. However, you can run just the UI as well.

Just the UI

Requirements

  • openslide
  • flask

The following command will install only the dependencies listed above.

pip install DigiPathAI

Entire AI pipeline

Requirements

  • pytorch
  • torchvision
  • opencv-python
  • imgaug
  • matplotlib
  • scikit-learn
  • scikit-image
  • tensorflow-gpu >=1.14,<2
  • pydensecrf
  • pandas
  • wget

The following command will install the dependencies mentioned

pip install "DigiPathAI[gpu]"

Both installation methods install the same package, just different dependencies. Even if you had installed using the earlier command, you can install the rest of the dependencies manually.

Usage

Local server

Traverse to the directory containing the openslide images and run the following command.

digipathai <host: localhost (default)> <port: 8080 (default)>

Python API usage

The application also has an API which can be used within python to perform the segmentation.

from DigiPathAI.Segmentation import getSegmentation

prediction = getSegmentation(img_path, 
			patch_size  = 256, 
			stride_size = 128,
			batch_size  = 32,
			quick       = True,
			tta_list    = None,
			crf         = False,
			save_path   = None,
			status      = None)

Contact

digipathai's People

Contributors

codacy-badger avatar haranrk avatar mahendrakhened avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.