Follow the steps below to set up and run the Image Segmentation application.
To ensure all dependencies are isolated, create a virtual environment:
python -m venv venvOnce the virtual environment is created, activate it:
-
On Windows:
.\venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
With the virtual environment activated, install the necessary dependencies listed in the requirements.txt file:
pip install -r requirements.txtStart the application by running the following command:
python app.pyOpen your web browser and navigate to http://localhost:8000 to view the application.