A new python sample on grabcut

This commit is contained in:
abidrahmank
2013-05-25 00:55:31 +05:30
parent 324cafdda6
commit 98960bf201
2 changed files with 175 additions and 1 deletions

View File

@@ -765,7 +765,7 @@ Runs the GrabCut algorithm.
* **GC_PR_BGD** defines a possible background pixel.
* **GC_PR_BGD** defines a possible foreground pixel.
* **GC_PR_FGD** defines a possible foreground pixel.
:param rect: ROI containing a segmented object. The pixels outside of the ROI are marked as "obvious background". The parameter is only used when ``mode==GC_INIT_WITH_RECT`` .