We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
iGlasses (RT video FX) with Processing (Read 1409 times)
iGlasses (RT video FX) with Processing
Jun 8th, 2007, 6:03pm
 
From the previous Topic : http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Video;action=display;num=1181168343;start=3#3

After doing some tweaking, i've finally managed to make iGlasses working with the JavaApplicactionStub in Processing.

All FXs are working directly with the sketch's exported app.
You can modify the FX settings "on the fly".

iGlasses is modifying the camera video stream before it is sent to Quicktime for java.

Now it's up to Ecamm to add official support on it. (i did it in 10 min) Wink

http://img514.imageshack.us/img514/4029/picture3bs4.png

http://img267.imageshack.us/img267/7633/picture5ug6.png

http://img211.imageshack.us/img211/1258/picture4hy6.png
Re: iGlasses (RT video FX) with Processing
Reply #1 - Jun 11th, 2007, 3:13am
 
Good News,

Ken from ECAMM has replied my request about integrating Processing support in iGlasses.

It is the same procedure that i did (see my previous post).

i'm pasting the procedure here to let you give a try to iGlasses (nightVision for motion/blob/detection is pretty good).

iGlasses is running on Mac OS X only.

Quote:
Hi Jaylfk:

I've worked before with some Processing users to provide iGlasses support for their projects, but it's tricky.  iGlasses keys off of the name of the running application, and when processing starts running a project that imports the video library, it starts a new process with a temporary name.
Also, when a user saves their project as a standalone java app, that app will have whatever name they give it.

It is possible to manually add the name of your exported Processing application to the list iGlasses uses when deciding what apps to load into.
To do this, it helps to have the OS X dev tools installed because it makes it easier to edit plist files, but it's not essential.

Here's how:
1) Go to your Applications folder and find iGlasses Manager.
2) Copy and paste a new copy of the iGlasses Manager to your Desktop.
3) Using the new copy of iGlasses Manager, open its bundle by Control-clicking and saying "Show Package Contents".
3) Open Contents/Resources, and find the apps.plist file.
4) If you don't have the dev tools, you open the plist file by dragging it onto TextEdit.
5) Add a new key/string pair for your app: for the key, use the name of your export processing app, and for the name, whatever you want.
For example:

<key>sketch_070609a</key>
<string>Sketch</string>

6) Then, save the file and open the iGlasses Manager (the copy).
7) Find the new app you added and check it off. (i think he meant to say ON)
8) Apply the changes.

That should be all you need to do.

Thanks,
Ken
Re: iGlasses (RT video FX) with Processing
Reply #2 - Jun 15th, 2007, 11:00pm
 
I just found out about these.  So cool!  And they are pretty cheap.  I want to get some of these, and walk around with a backpack computer, and a webcam on my head, and create terminator vision for myself.
Re: iGlasses (RT video FX) with Processing
Reply #3 - Jul 31st, 2009, 9:19am
 
Hi, that's a great tip on iGlasses. Has anyone also found a way to make iGlasses work in the sketches that you run from processing? Its slightly tedious to make an app of every sketch. I've tried adding 'java' the app that the sketch from processing refers to, but that doesn't bring up iGlasses.
Many thanks!
Page Index Toggle Pages: 1