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.

Download

Source code on GitHub: GrabCut

Slide: grabcut


发表评论

电子邮件地址不会被公开。 必填项已用*标注