Skip to main content

Deep Learning toolbox for WSI (digital histopatology) analysis

Project description

DigiPathAI

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

Features

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DigiPathAI-0.1.2-py3.5.egg (2.6 MB view details)

Uploaded Egg

File details

Details for the file DigiPathAI-0.1.2-py3.5.egg.

File metadata

  • Download URL: DigiPathAI-0.1.2-py3.5.egg
  • Upload date:
  • Size: 2.6 MB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.6

File hashes

Hashes for DigiPathAI-0.1.2-py3.5.egg
Algorithm Hash digest
SHA256 a4b0ac296e59f6d69f5e36973e973ebc023d333ef7e580e47257a8ec51746d85
MD5 00aebab7df94754c6939323230db8a8d
BLAKE2b-256 23cb2480e7e5d1f2b904f60246e752acff1d0e2e2478eee32f4b2ade27216e8c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page