InnerEye-Inference is a AppService webapp in python to run inference on medical imaging models trained with the [InnerEye-DeepLearning toolkit](https://github.com/microsoft/InnerEye-Inference).
You can also integrate this with DICOM using the [InnerEye-EdgeGateway](https://github.com/microsoft/InnerEye-Gateway)
## Getting Started
### Installing Conda or Miniconda
Download a Conda or Miniconda [installer for your platform](https://docs.conda.io/en/latest/miniconda.html)
and run it.
### Creating a Conda environment
Note that in order to create the Conda environment you will need to have build tools installed on your machine. If you are running Windows, they should be already installed with Conda distribution.
You can install build tools on Ubuntu (and Debian-based distributions) by running
`sudo apt-get install build-essential`
If you are running CentOS/RHEL distributions, you can install the build tools by running
`yum install gcc gcc-c++ kernel-devel make`
Start the `conda` prompt for your platform. In that prompt, navigate to your repository root and run
*`conda env create --file environment.yml`
*`conda activate inference`
### Configuration
Add this script with name set_environment.sh to set your env variables. This can be executed in Linux. The code will read the file if the environment variables are not present.