Turning video histogram into data\numbers
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:
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:
I found out aboutjit.iter, which is quite useful.
You suggestion adds another option I shall explore , thanks!