Colour tracking to image output

Regina Filangy's icon

Hi everyone!
I am not very experienced with Max but need to do some uni work on it. I am trying to build a patch that tracks colour from the webcam's image and outputs a certain video based on the colours obtained. I have a working patch that tracks colour with a suckah object and a swatch one but I have no idea how to do the rest. If anyone could help me get started with this that would be great!

Pedro Santos's icon

tracks colour from the webcam's image and outputs a certain video based on the colours obtained

You need to describe for yourself and fine-tune what you mean.
What is "colour from the webcam's image"? - Each pixel probably has a different colour...
What color parameter are you interested in using? hue, saturation, brightness?
How many videos? Are they specifically related semantically to certain colours or is the assignment of each video to a colour indifrent?

These are the types of questions that you should think about and answer for yourself. These will help you know what to look for when trying to implement it in any programming language. "Think slowly", meaning "step-by-step", assuming that the computer/programming environment doesn't know what you want to ultimately achieve when even you didn't thought it thoroughly. So, don't skip this step.

Then, get familiar with Max reading and doing the first tutorials and then jumping to the ones that are relevant to your particular situation, already knowing what you're after in terms of strategy.

Regina Filangy's icon

Hi,

Thanks for replying. I am interested in obtaining the RGBA values of the hue to then link it to a limited amount of videos that share the specific pixel colour of the hue, videos will be pre-loaded on the project. The project is a small showcase. I am looking at the tutorials but I just can't seem to make sense of them or find what I am looking for, is there any recommendations to specific ones that might be of use?