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
AR markers + OS X? (Read 2656 times)
AR markers + OS X?
Mar 16th, 2010, 9:22am
 
so i'm playing around with anaglyphs and thought hey, wouldn't it be nice if i could track the glasses like Johnny Lee did with a Wiimote?

now a cheap, non Wiimote solution would be to slap an AR marker on the shades/forehead and use a web cam for the tracking right, i can't seem to find an AR marker library that works on OS X though.

am i looking in the wrong places?
Re: AR markers + OS X?
Reply #1 - Mar 19th, 2010, 3:01am
 
nyARToolkit will work with processing under MacosX
Re: AR markers + OS X?
Reply #2 - Jun 17th, 2010, 7:47am
 
Hi,

I'm currently working on the same thing, anaglyph/polarized glasses plus head tracking. Have you get any interesting results? Im about to start porting Johnny Lee's algorithm to processing using openCV.

Cheers!
Re: AR markers + OS X?
Reply #3 - Jun 17th, 2010, 12:10pm
 
Two things:

1. For whatever it's worth, I just downloaded the library and got the examples running and it seems like small changes in marker angle and distance interfere with tracking. For example, rotating the marker 5-10 degrees seems to make the difference between detected and not, even when the marker is, for the most part, facing the camera and within a reasonable distance.

Does anyone else have that problem?

2. I had to follow these directions in order to get the toolkit to work:
(http://www.engadgeted.net/2009/09/28/nyartoolkit-for-processing-on-mac-os-x-troubleshooting/):

Code:
If you’ve been trying to use the NyARToolkit for Processing library on Mac OS X, you might’ve noticed that running the example sketch results in an unresponsive, empty gray window. So here’s what you need to do to fix this – add the following lines in the setup() function before any other code:
try {
   quicktime.QTSession.open();
} catch (quicktime.QTException qte) {
   qte.printStackTrace();
}
I spent something like 8 hours trying to find a solution for this problem, until i found this workaround in this bugtracker thread. Hopefully this can save you some time. Tested and worked on Mac OS X 10.5.8, Processing 1.0.7 and nyar4psg-0.2.2.


Page Index Toggle Pages: 1