I have an idea to make another module based on OpenCV, basically you will be able to control multiple voltages by waving multiple color blobs in front of a camera, lol
Just tried it on my iMac and it does work. First time I’ve played notes on a synth by waiving my hands in front of the camera I do need to dial the Scale knob to the extremes though. It gave me an idea: There must be a ton of sensors on any modern PC, that you can tap into to generate values (and so, voltages). Thermal output came to mind, hint hint, nudge nudge…
Implemented prototype in python, current idea ‘Flow’ is deriving four magnitude movement directions from camera, python prototype sends it over CoreMidi to Rack.
On my machine I get really low FPS with python.
C++ with OpenCL should improve performance, but I have been struggling to port python prototype over.
I have been working on new module.
It is called Flow. Like https://en.wikipedia.org/wiki/Optical_flow
Using OpenCV and web camera it is able to extract vectors describing motion.
Link is dead and i can’t build module right now.
I have opencv4 installed via brew. Maybe i need another version?
This is the end of ‘make’ command:
...
clang: **error:** no such file or directory: 'dep/lib/opencv4/3rdparty/libittnotify.a'
clang: **error:** no such file or directory: 'dep/lib/opencv4/3rdparty/libippiw.a'
clang: **error:** no such file or directory: 'dep/lib/opencv4/3rdparty/libade.a'
make: *** [plugin.dylib] Error 1
I didn’t want to ask users to install something separate.
So I decided to roll my own built script and I decided on static linking.
But homebrew prebuilt opencv has too many extra dependencies and too much to link.
Thank you so much for this fantastic module, one of the top three Vcv modules. Works like a charm here… It replaces my D-Beam modulations from the last ten years. Thank you again!!!
Are you still working on this by any chance? I am working on a little project that might require me to integrate OpenCV to VCV, and I was hoping somebody had figured it all out before me (making it build properly for every OS seems like a daunting task, haha). I took a look at your repo - just knowing that it’s feasible is going to save me a lot of work!