One of this week's task is to fix my patch's [jit.lcd] data visualization. Right now, my paintoval messages into the [jit.lcd] object aren't right as the blobs are not only not being represented correctly, but there's also always a blob in the top left (or 0, 0) location.
My patch also gives an error that [jit.iter] can't understand a "frgb" message which was inside the [cv.jit.blobs.centroids.draw] abstraction. Edit: Turns out I forgot to detach the patch cord sending frgb data from my previous Tracker because we're using an frgb coll list now. #oops #easyfix
I changed a few things in the paintoval subpatch. I learned from opening up the [cv.jit.blobs.centroids.draw] abstraction that you can just send a message followed by its coordinates and immediate followed with its frgb data all at once to have [jit.lcd] draw what you want! However, I'm still only getting data from one of each colour's blob.
(side currently unrelated note: Inside Tracker6, I've split data to reject indices higher than the 10th blob of each colour.)
But still only one blob is being drawn!
and guess what.. I've meddled too much now and I'm only actually getting 1 blob's location data despite detecting more than 1 blob.
I do not know where I went wrong...
Comments