No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
GMM.py
README.md
grabcut.py
grabcut_opencv.py
messi5.jpg

README.md

GrabCut

My implementation of Grabcut: Interactive foreground extraction using iterated graph cuts, ACM SIGGRAPH 2004, without border matting.

Dependencies

  • Python 3.6
  • OpenCV
  • NumPy
  • scikit-learn
  • python-igraph

File desctiptions

Usage

python grabcut.py <filename>

If filename is not specified, the program will pick messi5.jpg to segment. For more details, please refer to instructions printed to the console after run the program.