Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 882 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 882 Bytes

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.