Realtime webcam virtual drum - draft version
Loading...
5,840
Loading...
Uploader Comments (dannyxyz22)
see all
All Comments (18)
-
cool
-
hey
i was wondering if you could share the code or help me with designing a similar program for my project...
or is there somewhere/ someone i can learn it from?
your program is exactly what i want!
thanks!
-
hey there ...
well um just wondering why u chose to work on c++ rather than c# pr java .. um kinda new to image processing :) .... actually um trying to make the same program of urs on c# any tips cuz um kinda lost here lol
Loading...
For sure. The code is on the web (I can not post links here).
Look for a file called Virtual Drum in EHCI google code project, in the downloads section.
You will need SDL and OpenCV libraries installed in order to compile it.
Best regards,
Daniel
dannyxyz22 1 year ago
im wondering if you know how to make it move instead of playing drums, and could you teach us how to make it? thank you :)
MartinAntonsenHere 1 year ago
@MartinAntonsenHere Hi Martin, how are you?
Well, actually it was made in C++, for some performance reasons, but I guess flash image processing is ok.
I'd point you to this link, for instance: actionscript-3/webcam-motion-detection-tracking
Dragging is a bit harder, since you need to know where it is moving to, but there are several alternatives. One would be blob tracking.
I'd also point you to tuio flash
Well, I'm using OpenCV library, please check for computer vision.
Regards
dannyxyz22 1 year ago
nice... can we have a go??? how about some links or more information ... no point bragging about something if your not going to share!!!
vDJThaOne 2 years ago
Hi vDJThaOne,
the code is too messy to be shared right now, but I clean it up. If you want to develop it from OpenCV, it should be straight forward. Just count the number of pixels that have moved in the area with the rectangle, put some threshold, and you´ll be done to trigger the sound.
Anyway, I intend to share the code soon.
Best regards,
Daniel
dannyxyz22 2 years ago