This is a Flask-based web application for performing image segmentation using a pre-trained model. The application allows users to upload images, performs segmentation, and displays the results interactively.
- Clone the repository:
git clone https://github.com/bthndmn12/zerovision
cd flask_app
-
Install dependencies:
pip install -r requirements.txt
-
Run the Flask application:
cd flask_app python app.py
-
Open a web browser and go to http://localhost:5000 to access the application.
- Upon accessing the application, users will see an interface to upload images.
- Users can upload one or more images through the interface.
- After uploading, the application performs semantic segmentation on the images using a pre-trained model.
- The segmentation results are displayed to the users, showing the original image along with its segmented version.
- Segmented regions are highlighted with different colors based on the segmentation results.
- Flask: 3.0.3
- transformers: 4.36.2
- torch: 2.1.2+cu121
- numpy: 1.24.3
- Pillow: 9.3.0
- matplotlib: 3.8.2