(exe) Motion Go - update

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

(exe) Motion Go - update

Post by tom » Thu May 06, 2010 10:14 am

This takes the camera from your laptop, turns it into a motion tracker and sends a GO command to a cuelist. The camera looks at the amount of movement in a current feed and once it hits a certain threshold it sends a go to the cuelist. Why would you use it? Thats up to you. It's another silent go button, there could be some sequrity thought behind it. Like turning on the workers in the morning by someone walking across the stages (you'd need an IR cam for that, but thats quite easily made). Personally i just used it for showing off, it's nice to have all sorts of stuff moving with a nod of your head.

Usage -
It needs to be run of a laptop with a camera at the moment. It looks for the default capture device. However to use this capture technique your computer needs a little program called winvdig. It can be downloaded here - http://www.shiffman.net/vdig/ The version needed is 101. This is because the capture relies on quicktime, and windows is windows. Anyway back to the app.
MotionGO.jpg
MotionGO.jpg (11.79 KiB) Viewed 3056 times
The number in the top left is the total movement in the current frame. Good for finding your threshold number. This can be selected by clicking on the white boxes. The values are 100, 200, 300, 400. Clicking anywhere else on the screen will set the threshold to 5000 effectively shutting the app off.

With a threshold of 100 a simple nod will trigger the GO and then with 400 it needs more of a bigger gesture. A wave of an arm will do.

Once the command is sent the programs waits for about a second or two. This is to counteract sending multiple GOs with one gesture.

This works surprisingly well in the dark, as the light comming from the laptop screen on lights a very short range so swiping your hand past it turns out to be a fairly effective trigger without too much interference with backround movement.

Unzip the rar to your laptop and either connect to the network of your board or to the OLE if it's for testing. Then look in the folder and find the defaults.txt file. Replace the first number with your own IP and the word is the cuelist to be triggered. Be careful with the structure of this file, there must be a tab between the two variables and they must both be on the first line of the file.

quickstart (on laptop and OLE):
dowload motionGO.rar
install winvdig101 from http://www.shiffman.net/vdig/
start OLE, create and populate a cuelist called trigger
run app and start flapping your arms

This was made with processing from http://www.processing.org

check below for update
Attachments
motion GO.rar
(214.84 KiB) Downloaded 178 times
Last edited by tom on Thu May 05, 2011 9:02 am, edited 1 time in total.
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: (exe) Motion Go

Post by RobertBell » Thu May 06, 2010 12:23 pm

Showoff ;)
Robert Bell - Product Manager - Horizon Control Inc.

GaryDouglas
Posts: 689
Joined: Thu Oct 11, 2007 9:33 pm
Location: Calgary, Canada

Re: (exe) Motion Go

Post by GaryDouglas » Thu May 06, 2010 12:28 pm

This is very cool.

Reminds me of a security package I've used for Linux called ZoneMinder (zoneminder.com) . Cool Video diff-ing.

I never thought it would be used to trigger cues, but it's still cool -- especially for architectural applications.

Nice work!
Gary Douglas - Lead Software Developer - Pathway Connectivity - A Division of Acuity Brands Lighting Canada.

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: (exe) Motion Go

Post by RobertBell » Fri May 07, 2010 1:03 am

Works a charm. Along with Richard Pilbrow and Neil Austin, I'm a presenter at this years ITEAC conference (http://www.iteac.org/). I'd like to show this as an example of third-party development, if I may.

Maybe we could change it to raise and lower a sub level based on movement. I'd put the camera on the audience and the more they move, the brighter a light could be.
Robert Bell - Product Manager - Horizon Control Inc.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (exe) Motion Go

Post by tom » Fri May 07, 2010 3:46 am

Ah cool,

Yep that should be fairly easy to do. I'll add a few more options if I have some time tomorrow. If not I'll do it next week.
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (exe) Motion Go

Post by tom » Thu May 05, 2011 9:02 am

Update,

Here is a more complete version of motionGo with a few different modes.

Mode 1 is the same, triggering a GO on a specified cuelist. There are various threshold options. They can be found in the defaults.txt file and on screen when you are in mode 1.

Mode 2 takes the total movement within a frame and translates it to a look value. You can specify the lookpage and number in the defaults.txt file. Also you can set a fade time for the look.

Mode 3 makes hot corners to trigger variables. Details can be found in default.txt.

You can change modes inside of the program by using the number keys 1,2,3 (not the numPad)

Check the first post for the installation.
Attachments
motionGO6.rar
(245.53 KiB) Downloaded 150 times
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

User avatar
BobbyHarrell
Posts: 2280
Joined: Fri Oct 12, 2007 10:51 am
Location: Livingston, NJ
Contact:

Re: (exe) Motion Go - update

Post by BobbyHarrell » Thu May 05, 2011 10:16 am

I love this game. Nice Tom.
Bobby Harrell - Product Specialist
Philips Entertainment - Strand Lighting

Post Reply