Skip to content

PRLAB21/Mitosis-Detection-Web-App

Repository files navigation

Mitosis Detection Web App

(Open preview of this file using Ctrl+Shift+V)

Pre-requisites

  1. Install Python 3.6.x
  2. Install Nodejs

Setup

  1. Create python environment.

    python -m venv web_app_env
    cd web_app_env
  2. unzip web_app.zip in web_app_env, this will create folder web_app inside web_app_env.

  3. Install http-server node module.

    npm config set proxy http://username:[email protected]:3128 
    npm config set https-proxy http://username:[email protected]:3128 
    npm install -g http-server
  4. Create directory trained_models and place models inside it.

  5. Create directory img_dataset and place test images inside it.

Run

  1. To run front-end, open command prompt in folder web_app_env/web_app and run following command:

    http-server .
  2. To run back-end, open command prompt in folder web_app_env and activate python environment:

    Scripts\activate
  3. Now, run following commands:

    cd web_app
    set FLASK_APP=app.py
    set FLASK_ENV=development
    python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published