<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stewdio Blog &#187; FLARToolKit</title>
	<atom:link href="http://stewdio.org/blog/tag/flartoolkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://stewdio.org/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 17:04:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Augmented Reality made easy</title>
		<link>http://stewdio.org/blog/2009/06/12/augmented-reality-made-easy/</link>
		<comments>http://stewdio.org/blog/2009/06/12/augmented-reality-made-easy/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:00:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AR]]></category>
		<category><![CDATA[ARToolKit]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[FLARToolKit]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Squidder]]></category>

		<guid isPermaLink="false">http://stewdio.org/blog/?p=302</guid>
		<description><![CDATA[Augmented reality (AR) is a field of computer research which deals with the combination of real-world and computer-generated data (virtual reality), where computer graphics objects are blended into real footage in real time. Presently, most AR research is concerned with the use of live video imagery which is digitally processed and &#8220;augmented&#8221; by the addition [...]]]></description>
			<content:encoded><![CDATA[<p>Augmented reality (AR) is a field of computer research which deals with the combination of real-world and computer-generated data (virtual reality), where computer graphics objects are blended into real footage in real time. Presently, most AR research is concerned with the use of live video imagery which is digitally processed and &#8220;augmented&#8221; by the addition of computer-generated graphics. (<a class="ext" target="_blank" href="http://en.wikipedia.org/wiki/Augmented_reality">More from Wikipedia&#8230;</a>) This quick guide assumes you have a web cam, printer, and some programming experience.</p>
<h4 class="blog">What frameworks are out there?</h4>
<p><strong>C++</strong>. Most of what you’ll find online is based on the <a class="ext" target="_blank" href="http://www.hitl.washington.edu/artoolkit">ARToolKit</a> (Augmented Reality Toolkit) written in C++. It’s important to note that the ARToolKit was released under the <a class="ext" target="_blank" href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a> but <a class="ext" target="_blank" href="http://www.gnu.org/licenses/gpl.html">commercial licenses</a> are also available. There’s also the <a class="ext" target="_blank" href="http://nyatla.jp/nyartoolkit">NyARToolkit</a> in C++ which boasts ports to Java, Android, C#, and ActionScript3. I don’t speak Japanese, however, so I left this road largely untraveled. I don’t actually speak much C++ either, but if you’re an advanced programmer, <a class="ext" target="_blank" href="http://studierstube.icg.tu-graz.ac.at/handheld_ar/artoolkitplus.php">ARToolKitPlus</a> is probably for you. And they’ve done some impressive <a class="ext" target="_blank" href="http://studierstube.icg.tu-graz.ac.at/handheld_ar/stbtracker.php">marker tracking</a> too.</p>
<p><strong>Java / Processing</strong>. Java implementations typically use the <a class="ext" target="_blank" href="http://webcamxtra.sourceforge.net/">JMyron</a> library for vision processing which only seems to work for PCs. Kevin Cox of Jibberia has compiled a <a class="ext" target="_blank" href="http://www.jibberia.com/projects/">Mactel JMyron version</a> but this didn’t work for me either; particularly frustrating because this rules out developing in <a class="ext" target="_blank" href="http://processing.org">Processing</a>. (If someone on a <a class="ext" target="_blank" href="http://en.wikipedia.org/wiki/Apple-Intel_architecture">Mactel</a> has better luck, let me know.) If you’re on a Windows box then check out Bryan Chung’s <a class="ext" target="_blank" href="http://www.bryanchung.net/?page_id=415">Simple ARToolKit Library for Processing</a>. JMyron is also available for <a class="ext" target="_blank" href="http://en.wikipedia.org/wiki/Max_(software)">Max MSP</a> and <a class="ext" target="_blank" href="http://www.adobe.com/products/director/">Adobe Director</a> but I’ve yet to try them. </p>
<p><strong>Flash / ActionScript3</strong>. <a class="ext" target="_blank" href="http://saqoosha.net">Saqoosha</a> offers the definitive Flash implementation called <a class="ext" target="_blank" href="http://saqoosha.net/flartoolkit">FLARToolkit</a> which is built from the NyARToolkit’s Java implementation and uses the <a class="ext" target="_blank" href="http://code.google.com/p/papervision3d/">Papervision3D</a> library. His <a class="ext" target="_blank" href="http://saqoosha.net/en/flartoolkit/start-up-guide/">FlarToolkit Start-up Guide</a> is a handy resource. Eric Socolofsky of <a class="ext" target="_blank" href="http://transmote.com/">Transmote</a> released <a class="ext" target="_blank" href="http://transmote.com/flar">FLARManager</a> this past April which simplifies building on top of the FLARToolkit. If you’re a <a class="ext" target="_blank" href="http://www.adobe.com/products/flex/">Flex Builder</a> user the <a class="ext" target="_blank" href="http://pv3d.org/2009/03/12/augmented-reality-flartoolkit-demo-reel/">BasicFLARToolKit</a> by John Lindquist at <a class="ext" target="_blank" href="http://pv3d.org/">PV3D.org</a> has some useful examples and source code. For more specific questions or concerns check the <a class="ext" target="_blank" href="http://groups.google.com/group/flartoolkit-userz">FLARToolkit Google User Group</a>.</p>
<h4 class="blog">But I want it NOW!</h4>
<p>The quickest road to AR is through the <a class="ext" target="_blank" href="http://squidder.com/2009/03/06/flar-how-to-multiple-instances-of-multiple-markers/">SquidderKit</a>. It’s a Flash implementation that includes the FLARToolkit, Papervision3D, and FLARManager all in one package that can compile in Flash, no Flex Builder required. It handles multiple markers and includes a PDF of them for you to print and test with. A compiled SWF is included so you can give it a spin right away before even looking at the code. Generally I’m not a fan of Flash, but it enables you can crank out a demo and rapidly publish it to the masses (that also have web cams and printers) all through a web browser. After all, the strength of Augmented Reality is in experiencing it. Canned demo videos just feel like bland After Effects magic. </p>
<h4 class="blog">Custom Markers</h4>
<p>Again, Squidder brings the goods with a blog entry titled <a class="ext" target="_blank" href="http://www.squidder.com/2009/03/05/for-nerds-only-custom-flar-markers-explained/"> For Nerds Only: Custom FLAR Markers Explained</a> from March 2009. The article points to Tarotaro’s <a class="ext" target="_blank" href="http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released">ARToolKit Marker Generator</a> which you can download or use online. It requires Flash Player 10, but will partially work in Flash Player 9 while failing silently, truly frustrating! I’ve had trouble running the SWF locally (unclear why), but it runs fine online. And don’t worry, the &#8220;.pat&#8221; extension is just convention. You can name the file however you’d like. Alternatively there’s Saqoosha’s <a class="ext" target="_blank" href="http://saqoosha.net/2008/06/05/676/">MarkerGenerator</a>, an Adobe AIR application, but Tarotaro’s app gives you more control.  </p>
<h4 class="blog">Calibration, Lighting, Tracking</h4>
<p>These are the topics I’m just beginning to investigate. If you’ve been playing with AR code already you’ve probably wondered about the camera calibration files. Their sole purpose is to correct lens distortion so markers can be read correctly in physical space and positioned appropriately in virtual space. If you’re interested, you can do your own <a class="ext" target="_blank" href="http://www.hitl.washington.edu/artoolkit/documentation/usercalibration.htm">camera calibrations</a>.</p>
<p>Right now I’m wrestling with variations in lighting and how dimly lit spaces can absolutely kill a demo. (Consider yourself warned!) The two things I’m looking into are <a class="ext" target="_blank" href="http://code.google.com/p/makc">Makc</a>’s <a class="ext" target="_blank" href="http://makc3d.wordpress.com/2009/05/05/flartoolkit-adaptive-filter-experiment-sources/">AdaptiveToBinFilter</a> (AS3) for lighting issues and <a class="ext" target="_blank" href="http://www.soulwire.co.uk/">Justin Windle</a>’s article on <a class="ext" target="_blank" href="http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/">Better Motion Tracking</a> (AS2/3).</p>
]]></content:encoded>
			<wfw:commentRss>http://stewdio.org/blog/2009/06/12/augmented-reality-made-easy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
