Skip to content Skip to sidebar Skip to footer

Assertion Error In Grabcut

I am trying to implement Grabcut in Android from reference code. But when I run the code the following error is generated. Error: OpenCV Error: Assertion failed (0 <= roi.x &

Solution 1:

In my point of view, assertion happens when grabcut rect isn't inside mat.
What is the image dimensions ?


Post a Comment for "Assertion Error In Grabcut"