An open API service indexing awesome lists of open source software.

https://github.com/lixu4n/instance-segmentation

Interactive Foreground Extraction using ROI & GrabCut Algorithm
https://github.com/lixu4n/instance-segmentation

grabcut opencv python roi-segmentation

Last synced: 2 months ago
JSON representation

Interactive Foreground Extraction using ROI & GrabCut Algorithm

Awesome Lists containing this project

README

        

# 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](https://docs.opencv.org/3.4/d8/d83/tutorial_py_grabcut.html)

OpenCV Logo

## How to run this simple program

### Prerequisites
Make sure you have Python installed on your system.

### Clone the Repository
```bash
git clone
cd
```

## Install Dependencies
```bash
pip install opencv-python

```

## Run
```bash
python main.py

```

## Here a preview of the user using ROI Selection Tool
![Your Image](imgseg2.png)