<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A Dirty Hack for OpenCV on the OLPC XO</title>
	<atom:link href="http://eclecti.cc/olpc/a-dirty-hack-for-opencv-on-the-olpc-xo/feed" rel="self" type="application/rss+xml" />
	<link>http://eclecti.cc/olpc/a-dirty-hack-for-opencv-on-the-olpc-xo</link>
	<description></description>
	<lastBuildDate>Sat, 27 Feb 2010 16:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mitchell</title>
		<link>http://eclecti.cc/olpc/a-dirty-hack-for-opencv-on-the-olpc-xo/comment-page-1#comment-1314</link>
		<dc:creator>Mitchell</dc:creator>
		<pubDate>Tue, 04 Nov 2008 07:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/code/a-dirty-hack-for-opencv-on-the-olpc-xo#comment-1314</guid>
		<description>An alternative to compiling on a real XO is to compile in emulation, and then copy across the resulting files.  For example, I&#039;ve had an emulation image, with enlarged disk, and the full gcc toolchain.  But cameras have not been supported in emulation, so that may not help here.  And emulation isn&#039;t well supported by OLPC, so for the last few months, only qemu from CVS has been able to run current builds.</description>
		<content:encoded><![CDATA[<p>An alternative to compiling on a real XO is to compile in emulation, and then copy across the resulting files.  For example, I&#8217;ve had an emulation image, with enlarged disk, and the full gcc toolchain.  But cameras have not been supported in emulation, so that may not help here.  And emulation isn&#8217;t well supported by OLPC, so for the last few months, only qemu from CVS has been able to run current builds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nrp</title>
		<link>http://eclecti.cc/olpc/a-dirty-hack-for-opencv-on-the-olpc-xo/comment-page-1#comment-50</link>
		<dc:creator>nrp</dc:creator>
		<pubDate>Fri, 11 Apr 2008 06:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://eclecti.cc/code/a-dirty-hack-for-opencv-on-the-olpc-xo#comment-50</guid>
		<description>It turns out the actual problem is not with the colorspace as I suspected, but the field value.  It is fixed in the latest CVS source.

Changing line 414 from
  capture-&gt;form.fmt.pix.field       = V4L2_FIELD_INTERLACED;
to
  capture-&gt;form.fmt.pix.field       = V4L2_FIELD_ANY;
will fix the problem.

The fix described in the post works, but this fix will more generally work for other cameras.</description>
		<content:encoded><![CDATA[<p>It turns out the actual problem is not with the colorspace as I suspected, but the field value.  It is fixed in the latest CVS source.</p>
<p>Changing line 414 from<br />
  capture->form.fmt.pix.field       = V4L2_FIELD_INTERLACED;<br />
to<br />
  capture->form.fmt.pix.field       = V4L2_FIELD_ANY;<br />
will fix the problem.</p>
<p>The fix described in the post works, but this fix will more generally work for other cameras.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
