1 | initial version |
I'm doing this, too. It's mainly because probBlob.matRefConst() didn't work. There's one inefficient way to solve the problem is by using the function probBlob.getplane(), you will get a Mat.
I suggest you to use imagewatch and debug to see what happened in each step.