Sorry for my stupid question but,
I’m getting user’s masks pixels like this recordUser.getUserPixels(1) (for user #1),
but I need to check if the mask is entirely black, what is the fastest way to do it?
Sorry for my stupid question but,
I’m getting user’s masks pixels like this recordUser.getUserPixels(1) (for user #1),
but I need to check if the mask is entirely black, what is the fastest way to do it?
cast it in to an opencv mat and use theOverAllColor = mean(myMat);
Thanks it works
If anyone like to use this - there is a good example I’ve used, but have forget,
http://pkmital.com/home/teaching/computer-vision-workshop/ section "Motion Tracking + Interactive Video Player "