[ANSWERED] Motion Trigger
I am working on a project and I would like that have a motion sensor located at a point that way people walk by it, it triggers actors within Isadora. Do they make USB motion sensors, or something like a USB motion sensor for cheep?
I have done this with a USB camera as the sensor and using Eyes++ in Isadora to detect the movement in the video image. You can also do it with a Kinect camera and 3rd party software like NiMate sending the trigger to Isadora via OSC stream. Another way is with a motion sensor for arduino that connects to Isadora through a USB serial port. You will need to make some decisions about what is appropriate for the setup and site that you are working with. The USB camera into Isadora is possibly the most direct approach to start prototyping.
mark last edited by mark
I would like that have a motion sensor located at a point that way people walk by it, it triggers actors within Isadora.
The simplest way to do this: Video In Watcher -> Difference -> Calc Brightness
The Difference actor compares the current frame and the previous frame. Where ever they are different, you'll see grey/white areas.
By measuring the brightness of the frame using the Calc Brightness, you can discern if there is movement in the frame. The more movement there is, the higher the output of Calc Brightness.
The values coming out of Calc Brightness usually need to be scaled up because they can be quite small if you're looking at a large area and the amount of movement is not very great (e.g., a camera looking at people walking.) You can do this using a Limit Scale Value actor.
Finally you'll use a Comparator or Compare Guarded actor to trigger based on the output of Calc Brightness or the Limit Scale Value actor crossing some threshold.
See if that gets you going. ;-)