abidrahmank/OpenCV2-Python-Tutorials

GrabCut Mask Algorithm Not Working

ashishgupta1350 opened this issue · 1 comments

I am implementing an interactive GrabCut algorithm. When I apply the masks, the area corresponding to the mask is only highlighted.

The rectangle grabcut works well.
screenshot 98

Then I load the mask using the interactive paint. It works well too.
screenshot 99

Here is where the problem is. Part of the image is only selected. Can you upload code of implemented grabcut through masks please.(Not in your documentation)
screenshot 100

Needless to say, other parts of the documentation is very awesome and I highly appreciate your efforts.

have you solved the problem? I meet it now and get confused