Filling blobs in OpenCV (OpenFrameworks) with images or video

So in openFrameworks (and I am new to it), using ofxOpenCV, I am trying to track blobs (done) and use the information as a mask, to fill each blob with a different image/video (not done). Looking through the documentation for ofxCVContourFinder, I don't seem to see any methods related to making a mask or filling that blob space. I was wondering, does anyone have any advice on continuing? Does anyone have any advice on how I might be looking at this wrong?(

for (int i = 0; i < contourFinder.nBlobs; i++){
    //some sort of blobs[i].fill();?



Getting this together was definitely at the limits of what I am capable of, but I did get it working. First thing is that I used Kyle McDonald's ofxCv addon

With this, I used the (much simpler) contour tracking to get the shapes, created shader fbos for each shape, and assigned videos to those as an alpha mask. I apologize if this isn't in detail, it has been a while and I haven't touched ofxCv since. If you need help with it though, get ahold of me and I'll share what I have.

Need Your Help

Convert non unicode string to base64 in JavaScript?

ajax google-chrome-extension base64

I'm writing a downloader chrome extension. I'm trying to fetch the file with ajax and encode it with atob(str) but it only allows plain strings so can't get data:blah,base64 working.

Linking google merchant account doesn't work even in supported country

google-chrome-extension android-pay country merchant-account

I am trying to link my Google Merchant account with my Chrome extension on the dashboard following this guide and even though it suppose to be supported I am getting this message: