We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I've been experimenting with Processing 3 for the past weeks (Checking video from Daniel Shiffman) And now, I'm trying to do something I'm not even sure it can be done easily.
I want to know if I can mix some color tracking and a distance threshold. My plan is to have 3 objects of differents color, and people can use them to "paint" on a glass with the result showing on a wall (Must absolutly use the physical object because it's an art project).
But the problem is, people could have clothes with the same color as the object, so we want to implement some kind of minimal distance for the color detection. I already try minimal threshold distance with Kinect, but I wonder if I can mix them both? It's quite specific I'll admit, but maybe someone as an idea? Or other solution?
Thanks!
(For clarification, the painting part is not done by me, I'll just sent the position of the object to a server)
Answers
A method to calculate color distance:
but he's talking physical distance not just colour simularity.
moving to kinect category, you might get better answers there.
Thanks, hoping others Kinect user can help!
Actually, I've come close to something working (more like a early prototype), but I'm stuck, trying to mix to things.
I've been adapting this example:
To display an crosshair for red color object (Eventually, there would be a crosshair for blue and green). But the example seem to only work with a webcam... I'm trying to use the color image from Kinect to do the same things, without any result.
Here the code so far: