Skip to content

Interactive Foreground Extraction using ROI & GrabCut Algorithm

Notifications You must be signed in to change notification settings

lixu4n/Instance-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instance Segmentation & Extraction using GrabCut Algorithm

Using GrabCut Algorithm

This simple program explores the GrabCut algorithm, an algorithm for foreground extraction with minimal user interaction. We also used ROI, Region of Interest which is a form of hardcoding, where we can apply certains filters, operations or algorithms on a selected subset of an image. See more info on this page

OpenCV Logo

How to run this simple program

Prerequisites

Make sure you have Python installed on your system.

Clone the Repository

git clone <repository-url>
cd <repository-directory>

Install Dependencies

pip install opencv-python

Run

python main.py

Here a preview of the user using ROI Selection Tool

Your Image

About

Interactive Foreground Extraction using ROI & GrabCut Algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages