Video color values to midi or osc


#1

Hello! Is it possible to get the color values of a video file to animate midi or osc sequences?
For example if a frame has more red than blue I will get /r 0.8 and /b 0.3


#2

HI !

Not completely sure I completely get your request fully, but if you want to do some video playback and analysis, you’ll have to do this outside of score (I assume you’re asking for score).

Hope this helps,

Pascal


#3

Thanks! You are right…I’m now thinking of getting data from processing opencv.


#4

Hello bitflow,

@jcelerier has provided a couple examples interfacing score with processing if you are interested: https://github.com/OSSIA/score/tree/master/Documentation/Examples/Processing

Chears