Turning video histogram into data\numbers

Omer Haber's icon

Hello,

In my project I'm using cv.jit.LKflow to interpret the movement in a video and I'd like to turn it into data or numbers I can use, to later on control midi messages...

I've basically copied it from the help section of cv.jitLKflow into my project...

I'm able to get that running... but how do I then turn say, the red and green, and yellow and blue, into data\numbers I can use and not just display the colours as seen in the help section...
What are some objects or methods should I look at?

Link to the project:

TFL's icon

If I understand correctly, you basically want single values from 2D matrices.
Maybe use [jit.3m] to get single values out of the output matrices?

Here is a simple example:

Max Patch
Copy patch and select New From Clipboard in Max.

Omer Haber's icon


I found out aboutjit.iter, which is quite useful.
You suggestion adds another option I shall explore , thanks!