<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Durchblick Augmented Reality iPhone App</title>
	<atom:link href="http://durchblickapp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://durchblickapp.wordpress.com</link>
	<description>Creating an Augmented Reality iPhone App in 16 weeks as a part-time studies project.</description>
	<lastBuildDate>Thu, 17 Jun 2010 21:11:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='durchblickapp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Durchblick Augmented Reality iPhone App</title>
		<link>http://durchblickapp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://durchblickapp.wordpress.com/osd.xml" title="Durchblick Augmented Reality iPhone App" />
	<atom:link rel='hub' href='http://durchblickapp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Week 16: Presentation Preparing</title>
		<link>http://durchblickapp.wordpress.com/2010/06/17/week-16-presentation-preparing/</link>
		<comments>http://durchblickapp.wordpress.com/2010/06/17/week-16-presentation-preparing/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 21:11:32 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>
		<category><![CDATA[Product]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Time]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=140</guid>
		<description><![CDATA[This is the last blog post. After a few weeks of the project, things changed and I didn’t focus that much on this blog as planned. My apologies. Tomorrow I’ll present this project and it’s over for now. Overall it’s amazing what can be done. With enough time I totally could build a killer app. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=140&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_142" class="wp-caption aligncenter" style="width: 210px"><a href="http://durchblickapp.files.wordpress.com/2010/06/iphone-opengl.jpg"><img src="http://durchblickapp.files.wordpress.com/2010/06/iphone-opengl.jpg?w=200&#038;h=300" alt="Face detection indicated by spinning 3D model rendered with OpenGL and blended into the reality." title="iPhone OpenGL" width="200" height="300" class="size-medium wp-image-142"></a><p class="wp-caption-text">Face detection indicated by spinning 3D model rendered with OpenGL and blended into the reality.</p></div>
<p>This is the last blog post. After a few weeks of the project, things changed and I didn’t focus that much on this blog as planned. My apologies.</p>
<p>Tomorrow I’ll present this project and it’s over for now. Overall it’s amazing what can be done. With enough time I totally could build a killer app. Technology is here but not many solutions already. I must admit, I found some topics quite advanced (OpenCV on this device, using private API, rendering OpenGL on top of it, …). It’s different from building yet another webshop with the latest Java web framework thingy and drawing nice UML diagrams.</p>
<p>As stated in <a href="http://gamesalfresco.com/2010/06/09/five-reasons-why-the-iphone-4-was-made-for-augmented-reality/">this blog</a> with the new soft- and hardware a lot more can be achieved. I also found a surprisingly enthusiastic post on the same blog about an app in the app store detecting some faces and drawing funny pictures over it. People aren’t expecting this technology yet. With a few weeks or months of engineering one could build a really cutting edge app.</p>
<p>I still have a lot to learn before building a product with such technologies involved. But we have time. It’s always day one.<br />
<div id="attachment_143" class="wp-caption aligncenter" style="width: 310px"><a href="http://durchblickapp.files.wordpress.com/2010/06/logo512x512.png"><img src="http://durchblickapp.files.wordpress.com/2010/06/logo512x512.png?w=300&#038;h=300" alt="A grafic for the Durchblick App." title="Logo Durchblick App" width="300" height="300" class="size-medium wp-image-143"></a><p class="wp-caption-text">A grafic for the Durchblick App.</p></div></p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a> Tagged: <a href='http://durchblickapp.wordpress.com/tag/product/'>Product</a>, <a href='http://durchblickapp.wordpress.com/tag/technology/'>Technology</a>, <a href='http://durchblickapp.wordpress.com/tag/time/'>Time</a>, <a href='http://durchblickapp.wordpress.com/tag/work/'>Work</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=140&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/06/17/week-16-presentation-preparing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>

		<media:content url="http://durchblickapp.files.wordpress.com/2010/06/iphone-opengl.jpg?w=200" medium="image">
			<media:title type="html">iPhone OpenGL</media:title>
		</media:content>

		<media:content url="http://durchblickapp.files.wordpress.com/2010/06/logo512x512.png?w=300" medium="image">
			<media:title type="html">Logo Durchblick App</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 15: Documentation Writing</title>
		<link>http://durchblickapp.wordpress.com/2010/06/13/week-15-documentation-writing/</link>
		<comments>http://durchblickapp.wordpress.com/2010/06/13/week-15-documentation-writing/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 22:59:39 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=138</guid>
		<description><![CDATA[No entry this week. Filed under: Project 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=138&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>No entry this week.</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=138&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/06/13/week-15-documentation-writing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 14: Buffer Week (Feature Freeze)</title>
		<link>http://durchblickapp.wordpress.com/2010/06/06/week-14-buffer-week-feature-freeze/</link>
		<comments>http://durchblickapp.wordpress.com/2010/06/06/week-14-buffer-week-feature-freeze/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 22:59:25 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=136</guid>
		<description><![CDATA[No entry this week. Filed under: Project 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=136&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>No entry this week.</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=136&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/06/06/week-14-buffer-week-feature-freeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 13: Displaying Data With OpenGL ES 2.0</title>
		<link>http://durchblickapp.wordpress.com/2010/05/30/week-13-displaying-data-with-opengl-es-2-0/</link>
		<comments>http://durchblickapp.wordpress.com/2010/05/30/week-13-displaying-data-with-opengl-es-2-0/#comments</comments>
		<pubDate>Sun, 30 May 2010 22:59:11 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>
		<category><![CDATA[GLUT]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[OpenGL ES]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=132</guid>
		<description><![CDATA[I used iPhone SDK’s UIKit to create face detection regions. On this week’s meeting we decided to have a look at OpenGL and how it works on the iPhone to cover this aspect and gain some knowledge in this area. Once again: OpenGL isn’t a easy task. OpenGL ES is a subset of OpenGL, so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=132&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>I used iPhone SDK’s UIKit to create face detection regions.</li>
<li>On this week’s meeting we decided to have a look at OpenGL and how it works on the iPhone to cover this aspect and gain some knowledge in this area.</li>
<li>Once again: OpenGL isn’t a easy task.</li>
<li>OpenGL ES is a subset of OpenGL, so everything (with a few exceptions) known from the desktop applies to the version for embedded devices.</li>
<li>There is no GLU or GLUT so no convenience functions like gluLookAt or glutSolidSphere. Everything has to be done by hand.</li>
<li>No immediate mode (glBegin … glEnd), no display lists, no quads, …</li>
<li><a href="http://iphonedevelopment.blogspot.com/2010/06/announcing-opengl-es-for-ios-4.html">Current paradigm change</a> from OpenGL ES 1.x to OpenGL ES 2.x</li>
<li><a href="http://heavymentalsoft.de/gras.php">Shader effects</a> now possible.</li>
<li>OpenGL ES: Defines only rendering and state management commands</li>
<li>Platform API: Creates and manages OpenGL ES rendering contexts Examples: AGL, CGL, EGL, GLX (and for us important EAGL)</li>
<li>Native window system API: Manages surfaces and displays rendered content Examples: Quartz, X-Windows</li>
<li>GLUT which was tought us in the course has done a lot of this for us on the desktop.</li>
<li>With a EAGLContext we render into a CAEAGLLayer inherited from a CALayer encapsulated in a UIView. Every UIView is backed by a CALayer (Frame Buffer&gt;CALayer&gt;UIView).</li>
<li>I wrote software to load vertices from an OFF-file and convert the vertices into a vertex-array to render a Icosahedron. Then I dove a little into animating it. It was a bit tricky to get blending working with the rest of the iPhone (OpenGL object “floating” on the camera preview). Performance is critical on the device.</li>
</ul>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a> Tagged: <a href='http://durchblickapp.wordpress.com/tag/glut/'>GLUT</a>, <a href='http://durchblickapp.wordpress.com/tag/iphone/'>iPhone</a>, <a href='http://durchblickapp.wordpress.com/tag/opengl-es/'>OpenGL ES</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=132&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/05/30/week-13-displaying-data-with-opengl-es-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 12: Displaying Data</title>
		<link>http://durchblickapp.wordpress.com/2010/05/23/week-12-displaying-data/</link>
		<comments>http://durchblickapp.wordpress.com/2010/05/23/week-12-displaying-data/#comments</comments>
		<pubDate>Sun, 23 May 2010 22:59:16 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=130</guid>
		<description><![CDATA[Everything from this week you’ll find in next week’s article: Week 13: Displaying Data With OpenGL ES 2.0. Filed under: Project 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=130&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Everything from this week you’ll find in next week’s article: Week 13: Displaying Data With OpenGL ES 2.0.</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=130&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/05/23/week-12-displaying-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 11: Face Recognition (Continued)</title>
		<link>http://durchblickapp.wordpress.com/2010/05/16/week-11-face-recognition-continued/</link>
		<comments>http://durchblickapp.wordpress.com/2010/05/16/week-11-face-recognition-continued/#comments</comments>
		<pubDate>Sun, 16 May 2010 22:59:57 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Face Detection]]></category>
		<category><![CDATA[Face Recognition]]></category>
		<category><![CDATA[Face Tracking]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[OpenCV]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=128</guid>
		<description><![CDATA[Difficult task in any case, even more on mobile. Way more complicated than face detection with OpenCV. A lot of engineering work could be put into managing ressources, get better results and yet stay responsive for the user Preprocess image further to help the detection and recognition (equalize, …). Reduce scaling dynamically in the background [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=128&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>Difficult task in any case, even more on mobile.</li>
<li>Way more complicated than face detection with OpenCV.</li>
<li>A lot of engineering work could be put into managing ressources, get better results and yet stay responsive for the user</li>
<li>Preprocess image further to help the detection and recognition (equalize, …).</li>
<li>Reduce scaling dynamically in the background and take longer processing time for the sake of detect small faces further away.</li>
<li>Once a detection is successful, lower detection frequency and track the face which is less computation intense. Then use more ressources for recognition.</li>
<li>Track several faces from frame to frame.</li>
<li><a href="http://www.cognotics.com/opencv/servo_2007_series/index.html">Seeing With OpenCV</a>, a excellent series covering OpenCV face detection and recognition.</li>
<li><a href="http://opencv.willowgarage.com/wiki/FaceRecognition">OpenCVWiki: Face Recognition using OpenCV</a></li>
</ul>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a> Tagged: <a href='http://durchblickapp.wordpress.com/tag/engineering/'>Engineering</a>, <a href='http://durchblickapp.wordpress.com/tag/face-detection/'>Face Detection</a>, <a href='http://durchblickapp.wordpress.com/tag/face-recognition/'>Face Recognition</a>, <a href='http://durchblickapp.wordpress.com/tag/face-tracking/'>Face Tracking</a>, <a href='http://durchblickapp.wordpress.com/tag/mobile/'>Mobile</a>, <a href='http://durchblickapp.wordpress.com/tag/opencv/'>OpenCV</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=128&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/05/16/week-11-face-recognition-continued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 10: Face Recognition</title>
		<link>http://durchblickapp.wordpress.com/2010/05/09/week-10-face-recognition/</link>
		<comments>http://durchblickapp.wordpress.com/2010/05/09/week-10-face-recognition/#comments</comments>
		<pubDate>Sun, 09 May 2010 22:59:12 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=126</guid>
		<description><![CDATA[Everything from this week you’ll find in next week’s article: Week 11: Face Recognition (Continued). Filed under: Project 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=126&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Everything from this week you’ll find in next week’s article: Week 11: Face Recognition (Continued).</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=126&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/05/09/week-10-face-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 9: Face Detection (Continued)</title>
		<link>http://durchblickapp.wordpress.com/2010/05/02/week-9-face-detection-continued/</link>
		<comments>http://durchblickapp.wordpress.com/2010/05/02/week-9-face-detection-continued/#comments</comments>
		<pubDate>Sun, 02 May 2010 22:59:28 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>
		<category><![CDATA[Face Detection]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=118</guid>
		<description><![CDATA[Starting face detection with OpenCV on the live camera preview I soon encountered performance issues. Analyzing with Activity Monitor 90% of the main CPU, according to AnandTech a Samsung S5PC100 ARM Cortex-A8 with 833 MHz underclocked to 600 MHz, is not enough for face detection. I also found out by CPU Sampler that only 20% [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=118&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Starting face detection with OpenCV on the live camera preview I soon encountered performance issues.</p>
<p>Analyzing with Activity Monitor 90% of the main CPU, <a href="http://www.anandtech.com/show/2782/2">according to AnandTech</a> a Samsung S5PC100 ARM Cortex-A8 with 833 MHz underclocked to 600 MHz, is not enough for face detection. I also found out by CPU Sampler that only 20% of the CPU time is spent on <code>cvRunHaarClassifierCascade</code>—the actual face detection. Everything else is consumed to run everything else.</p>
<p>Still, face detection took about 3 secs while the rest of the processing loop only took a few ms. Also, the there were a lot of false positives.</p>
<p>Optimizing the parameters gave better results: for face detection 2 secs even in complex environment with less false positives.</p>
<p><pre class="brush: objc; toolbar: false;">
		CvSeq *faces = cvHaarDetectObjects(iplImage,
										   cascade,
										   storage,
										   1.1, // double scale_factor CV_DEFAULT(1.1)
										   2, // int min_neighbors CV_DEFAULT(3)
										   CV_HAAR_DO_CANNY_PRUNING, // int flags CV_DEFAULT(0)
										   cvSize(30, 30)); // CvSize min_size CV_DEFAULT(cvSize(0,0))
</pre></p>
<p>I could get a big improvement by scaling down the image by factor 2 and smooth it with a 5&#215;5 gaussian kernel: 0.3 secs, downside: face must be approximately the size of a thumb on the screen.</p>
<p>If you are like me you like to draw moustaches on people&#8217;s faces—no need for yet another frame around a detected face.</p>
<p><div id="attachment_119" class="wp-caption aligncenter" style="width: 210px"><a href="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena-moustache.jpg"><img src="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena-moustache.jpg?w=200&#038;h=300" alt="Lena with live face detection and display of a moustache" title="iPhone Lena Moustache" width="200" height="300" class="size-medium wp-image-119"></a><p class="wp-caption-text">Lena with live face detection and display of a moustache</p></div><br />
<div id="attachment_120" class="wp-caption aligncenter" style="width: 210px"><a href="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena.jpg"><img src="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena.jpg?w=200&#038;h=300" alt="The moustache flickered away because he avoid face detection in the previous frame." title="iPhone Lena" width="200" height="300" class="size-medium wp-image-120"></a><p class="wp-caption-text">The moustache flickered away because he avoid face detection in the previous frame.</p></div></p>
<p>But here the problem with the way I access the camera image and occlusion manifested itself. The moustache got displayed, then removed because no face was recognized and then with the uncluttered face detected and displayed again.</p>
<p>The final tests I did with a dashed rounded rectagle with light and dark grey in it for good contrast against any object. I place it around the face so no occlusion of the face takes place.</p>
<div id="attachment_122" class="wp-caption aligncenter" style="width: 210px"><a href="http://durchblickapp.files.wordpress.com/2010/05/iphone-facebox.jpg"><img src="http://durchblickapp.files.wordpress.com/2010/05/iphone-facebox.jpg?w=200&#038;h=300" alt="Detected face with a bounding rectangle." title="iPhone FaceBox" width="200" height="300" class="size-medium wp-image-122"></a><p class="wp-caption-text">Detected face with a bounding rectangle.</p></div>
<p>I can detect multiple faces in one frame. But it’s difficult to smoothly match the rectangles from the previous frame to the new ones. For now I constrain the displaying to one face an do a nice fade in and move animation.</p>
<p>It’s at the very beginning but quite impressive.</p>
<p>A C example of “Face Detection using OpenCV” <a href="http://opencv.willowgarage.com/wiki/FaceDetection">in the Wiki</a> helped me using this OpenCV function.</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a> Tagged: <a href='http://durchblickapp.wordpress.com/tag/face-detection/'>Face Detection</a>, <a href='http://durchblickapp.wordpress.com/tag/iphone/'>iPhone</a>, <a href='http://durchblickapp.wordpress.com/tag/opencv/'>OpenCV</a>, <a href='http://durchblickapp.wordpress.com/tag/performance/'>Performance</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=118&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/05/02/week-9-face-detection-continued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>

		<media:content url="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena-moustache.jpg?w=200" medium="image">
			<media:title type="html">iPhone Lena Moustache</media:title>
		</media:content>

		<media:content url="http://durchblickapp.files.wordpress.com/2010/05/iphone-lena.jpg?w=200" medium="image">
			<media:title type="html">iPhone Lena</media:title>
		</media:content>

		<media:content url="http://durchblickapp.files.wordpress.com/2010/05/iphone-facebox.jpg?w=200" medium="image">
			<media:title type="html">iPhone FaceBox</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 8: Face Detection</title>
		<link>http://durchblickapp.wordpress.com/2010/04/25/week-8-face-detection/</link>
		<comments>http://durchblickapp.wordpress.com/2010/04/25/week-8-face-detection/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 22:59:21 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=116</guid>
		<description><![CDATA[Everything from this week you’ll find in next week’s article: Week 9: Face Detection (Continued). Filed under: Project 2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=116&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Everything from this week you’ll find in next week’s article: Week 9: Face Detection (Continued).</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=116&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/04/25/week-8-face-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
		<item>
		<title>Week 7: OpenCV Meets the iPhone</title>
		<link>http://durchblickapp.wordpress.com/2010/04/18/week-7-opencv-meets-the-iphone/</link>
		<comments>http://durchblickapp.wordpress.com/2010/04/18/week-7-opencv-meets-the-iphone/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 22:59:18 +0000</pubDate>
		<dc:creator>Raphael Schaad</dc:creator>
				<category><![CDATA[Project 2]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[linking]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[static library]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://durchblickapp.wordpress.com/?p=11</guid>
		<description><![CDATA[Compiler flags, cross-compiling, versions, static linking, simulator vs. device—it’s tricky. Useful links about building OpenCV for other platforms and linking to the library: OpenCVWiki explains ways how to build for Mac OS X: Mac OS X OpenCV Port Basics of cross-compiling: Cross-compiling for iPhone Building for different platforms: Creating an universal static OpenCV library in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=11&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Compiler flags, cross-compiling, versions, static linking, simulator vs. device—it’s tricky.</p>
<p>Useful links about building OpenCV for other platforms and linking to the library:</p>
<ul>
<li>OpenCVWiki explains ways how to build for Mac OS X: <a href="http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port?highlight=%28iphone%29">Mac OS X OpenCV Port</a></li>
<li>Basics of cross-compiling: <a href="http://lambdajive.wordpress.com/2008/12/20/cross-compiling-for-iphone/#comments">Cross-compiling for iPhone</a></li>
<li>Building for different platforms: <a href="http://ildan.blogspot.com/2009/11/creating-universal-static-opencv.html">Creating an universal static OpenCV library in (Snow) Leopard</a></li>
<li>Makefile, patches, good build tutorial and a example project: <a href="http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en">Using OpenCV on iPhone</a></li>
<li>Linking tips: <a href="http://www.computer-vision-software.com/blog/2009/04/opencv-vs-apple-iphone">OpenCV vs. Apple iPhone</a></li>
</ul>
<p>It seems that dynamic linking with a private <code>.framework</code> doesn’t work and OpenCV only works linked as a <a href="http://en.wikipedia.org/wiki/Static_library">static library</a>.</p>
<p>With all the given work what had to be done:</p>
<ol>
<li>Build OpenCV-2.0.0 for iPhone OS 3.1 (simulator and device) according to <a href="http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en">this good tutorial</a>.</li>
<li>Under Target &gt; Build &gt; Linking &gt; Other Linker Flags (These flags are passed with all linker invocations. [OTHER_LDFLAGS]) add Build Setting Conditions for Any iPhone Device/Any Architecture and Any iPhone OS Simulator/Any Architecture. Add the flags <code>-lstdc++</code>, <code>-lz</code>, <code>$(SRCROOT)/OpenCV/opencv_{device,simulator}/lib/libcv.a</code> and <code>libcxcore.a</code></li>
<li>Under Target &gt; Build &gt; Search Paths &gt; Header Search Paths (This is a list of paths to folders to be searched by the compiler for included or imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are delimited by whitespace, so any paths with spaces in them need to be properly quoted. [HEADER_SEARCH_PATHS, -I]) add Build Setting Conditions for Any iPhone Device/Any Architecture and Any Iphone OS Simulator/Any Architecture. Add the path <code>$(SRCROOT)/OpenCV/opencv_{device,simulator}/include</code> without recursive flag.</li>
<li><code>#import &lt;opencv/cv.h&gt;</code></li>
</ol>
<p>Other option is adding headers to project and <code>#import "cv.h"</code>.</p>
<p>The compiler threw some linking warnings like <code>ld: warning: can't add line info to anonymous symbol __ZN2cv9ExceptionD1Ev.lsda from /Users/raff/Development/Durchblick/OpenCV/opencv_simulator/lib/libcxcore.a(lib_cxcore_la-cxmathfuncs.o)</code> when building for the simulator which I couldn’t solve. I guess I simply could’ve ignore them. When using the precompiled lib there were no warnings.</p>
<br />Filed under: <a href='http://durchblickapp.wordpress.com/category/project-2/'>Project 2</a> Tagged: <a href='http://durchblickapp.wordpress.com/tag/iphone/'>iPhone</a>, <a href='http://durchblickapp.wordpress.com/tag/linking/'>linking</a>, <a href='http://durchblickapp.wordpress.com/tag/opencv/'>OpenCV</a>, <a href='http://durchblickapp.wordpress.com/tag/static-library/'>static library</a>, <a href='http://durchblickapp.wordpress.com/tag/xcode/'>Xcode</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/durchblickapp.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/durchblickapp.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/durchblickapp.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=durchblickapp.wordpress.com&amp;blog=12535903&amp;post=11&amp;subd=durchblickapp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://durchblickapp.wordpress.com/2010/04/18/week-7-opencv-meets-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/088dfa9238a148d191e8d8e991ffd16f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">schar9</media:title>
		</media:content>
	</item>
	</channel>
</rss>
