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
- Host: GitHub
- URL: https://github.com/lixu4n/instance-segmentation
- Owner: lixu4n
- Created: 2024-02-01T05:37:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T06:32:58.000Z (over 1 year ago)
- Last Synced: 2025-02-05T23:44:26.643Z (4 months ago)
- Topics: grabcut, opencv, python, roi-segmentation
- Language: Python
- Homepage:
- Size: 2.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
![]()
## 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
