Blob tracking and collision detection

Yes (As far as I’m aware). It’s not accurate but the colour change wasn’t happening at all without that code… and now it is. I also put in:

 println("COLLISION!" + b);

to see if I could test it and that resulted in lines like:

COLLISION!Kinect_Blobs_collision_working_allblobschangecolour$Blob@ec5ea3d
COLLISION!Kinect_Blobs_collision_working_allblobschangecolour$Blob@5f927027
COLLISION!Kinect_Blobs_collision_working_allblobschangecolour$Blob@4b16827f
COLLISION!Kinect_Blobs_collision_working_allblobschangecolour$Blob@6a231d22

in the console… (yes I know my naming game could use some work!)

I can alter the code to work with webcam input rather than Kinect if that’s easier to troubleshoot?