gahogg / hp-project-xray-new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Download and unzip (or clone) the project wherever you choose (<YOUR_PATH>).

    Download the model folder from https://drive.google.com/drive/folders/11RkHAPpOwYBGS6tCUST8WL6Cdwom-gR1?usp=share_link and place (extracted) model/ folder inside the <YOUR_PATH>/project/ folder.

  2. Enter terminal into <YOUR_PATH> and cd into <YOUR_PATH>/project/ folder.

  3. Activate conda base env with conda activate base.

  4. Create conda environment with conda env create -f environment.yml.

  5. Activate the new environment with conda activate hp_covid_env_new.

  6. Add opencv library to environment with pip install opencv-python-headless.

  7. Run the app with python main.py.

The app should spin up a local server and give a link to view the app in a browser. If it fails, try repeating step 4 with conda env create -f environment.yml python=3.9, explicity specifying the python version. You may want to change that python version number, although it has been tested on 3.9.

To delete the conda environment, use conda env remove -n hp_covid_env_new

About


Languages

Language:HTML 59.2%Language:Python 28.8%Language:CSS 12.0%