Skip to content

A streamlit based webapp to perform SOTA instance segmentation on images, videos and live webcam feed

Notifications You must be signed in to change notification settings

prateekralhan/Instance-Segmentation-using-PixelLib

Repository files navigation

✨ Instance Segmentation using PixelLib 🙆‍♂️ Project Status: Active

A streamlit based webapp to perform "State of the Art" instance segmentation on images, videos and live webcam feed using Pixellib.

image

Installation:

  • Simply run the command pip install -r requirements.txt to install the necessary dependencies.
  • In case you need to use your GPU for computation, ensure that you have the right CUDA drivers and CUDNN installed.

Usage:

  1. Simply run the command:
streamlit run app.py
  1. Navigate to http://localhost:8501 in your web-browser.
  2. By default, streamlit allows us to upload files of max. 200MB. If you want to have more size for uploading audio files, execute the command :
streamlit run app.py --server.maxUploadSize=1028

Results


Images

Original Image Segmented Image
pic1 pic1
pic2 pic2
pic3 pic3
pic4 pic4

Videos

Original Video Segmented Video
pic1 pic1
pic2 pic2
pic3 pic3

Live Webcam Feed

live_feed1

livefeed2

Running the Dockerized App

  1. Ensure you have Docker Installed and Setup in your OS (Windows/Mac/Linux). For detailed Instructions, please refer this.
  2. Navigate to the folder where you have cloned this repository ( where the Dockerfile is present ).
  3. Build the Docker Image (don't forget the dot!! 😄 ):
docker build -f Dockerfile -t app:latest .
  1. Run the docker:
docker run -p 8501:8501 app:latest

This will launch the dockerized app. Navigate to http://localhost:8501/ in your browser to have a look at your application. You can check the status of your all available running dockers by:

docker ps

About

A streamlit based webapp to perform SOTA instance segmentation on images, videos and live webcam feed

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published