<?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>eclecticc &#187; OLPC</title>
	<atom:link href="http://eclecti.cc/tag/olpc/feed" rel="self" type="application/rss+xml" />
	<link>http://eclecti.cc</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 20:47:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Pointillism: The &#8220;it works this time&#8221; Edition</title>
		<link>http://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition</link>
		<comments>http://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition#comments</comments>
		<pubDate>Fri, 28 Nov 2008 19:30:27 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[activity]]></category>
		<category><![CDATA[pointillism]]></category>
		<category><![CDATA[XO]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=165</guid>
		<description><![CDATA[I loaded the activities I&#8217;ve written in the past onto my new G1G1 XO and found that Pointillism probably never worked on any XO but my old one.  This is something I probably should have tested. In addition to actually working, this release has better performance, flips the image horizontally, and lets you save images [...]]]></description>
			<content:encoded><![CDATA[<p><img title="Yes, that is an arcade machine shaped like Pac-Man" src="http://eclecti.cc/files/2008/11/pacmanpointillism.jpg" alt="Pointillism"/></p>
<p>I loaded the activities I&#8217;ve written in the past onto my new G1G1 XO and found that Pointillism probably never worked on any XO but my old one.  This is something I probably should have tested.</p>
<p>In addition to actually working, this release has better performance, flips the image horizontally, and lets you save images to the Journal.</p>
<p><strong>Download: <a href="http://eclecti.cc/files/2008/11/pointillism-2.xo">Pointillism-2.xo</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/pointillism-the-it-works-this-time-edition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give a Laptop. Get a Laptop. Change the World.</title>
		<link>http://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world</link>
		<comments>http://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world#comments</comments>
		<pubDate>Mon, 24 Nov 2008 17:44:36 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[g1g1]]></category>
		<category><![CDATA[XO]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=153</guid>
		<description><![CDATA[View Larger Map XO&#8217;s are available (and shipping fast) from Amazon (URL is via OLPC) through Give One Get One 2008. As you can see from the map above, G1G1 2007 is already having quite an impact on the world, with tens of thousands of donated XOs being deployed across Ethiopia, Rwanda, Mongolia, and other [...]]]></description>
			<content:encoded><![CDATA[<p><iframe width="700" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;oe=UTF8&amp;msa=0&amp;msid=114558805698125207804.000001132ad0d5f3d14f8&amp;ll=7.013668,43.59375&amp;spn=169.267176,360&amp;output=embed&amp;s=AARTsJp7paOLNoNS1Ik5d-4lbuZsxY0njA"></iframe><br /><small><a href="http://www.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;oe=UTF8&amp;msa=0&amp;msid=114558805698125207804.000001132ad0d5f3d14f8&amp;ll=7.013668,43.59375&amp;spn=169.267176,360&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
<p>XO&#8217;s are available (and shipping fast) from <a href="http://laptop.org/xo">Amazon</A> (URL is via OLPC) through Give One Get One 2008.  As you can see from the map above, G1G1 2007 is already having quite an impact on the world, with tens of thousands of donated XOs being deployed across Ethiopia, Rwanda, Mongolia, and other countries.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/give-a-laptop-get-a-laptop-change-the-world/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Other Laptop</title>
		<link>http://eclecti.cc/olpc/my-other-laptop</link>
		<comments>http://eclecti.cc/olpc/my-other-laptop#comments</comments>
		<pubDate>Mon, 06 Oct 2008 15:50:53 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[g1g1]]></category>
		<category><![CDATA[XO]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=135</guid>
		<description><![CDATA[Thanks to Sameer Verma for the idea.  G1G1 2008 is just around the corner! SVG Version]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/xo"><img title="My other vehicle is Powdered Toast Man." src="http://eclecti.cc/files/2008/10/amazonrwanda.png" alt="My other laptop is in Rwanda" /></a><br />
Thanks to Sameer Verma for the idea.  G1G1 2008 is just around the corner!<br />
<strong><a href="http://eclecti.cc/files/2008/10/amazonrwanda.svg">SVG  Version</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/my-other-laptop/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Things I&#8217;m Doing (or Queueing at least)</title>
		<link>http://eclecti.cc/bytes/things-im-doing-or-queueing-at-least</link>
		<comments>http://eclecti.cc/bytes/things-im-doing-or-queueing-at-least#comments</comments>
		<pubDate>Wed, 24 Sep 2008 04:37:47 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[Bytes]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[OLPC]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=84</guid>
		<description><![CDATA[I am chronically unable to finish projects because I tend to pick up a new one more often than I complete an old one.  Here is a list of things I&#8217;m currently working on, in no particular order. Turning Bridge into a real activity.  This means using the datastore, dropping Elements in favor of directly [...]]]></description>
			<content:encoded><![CDATA[<p>I am chronically unable to finish projects because I tend to pick up a new one more often than I complete an old one.  Here is a list of things I&#8217;m currently working on, in no particular order.</p>
<ul>
<li>Turning <a title="Bridge" href="http://wiki.laptop.org/go/Bridge" target="_blank">Bridge</a> into a real activity.  This means using the datastore, dropping Elements in favor of directly interfacing PyBox2D, and making multiple levels of play.</li>
<li>Writing a working Panorama activity. Ben Schwartz wrote some excellent autostitching using Numpy; it just needs some camera code to make capturing frames easier and to disable auto white balance and so on.  I stuck Ben&#8217;s activity in a <a title="Panorama" href="http://git.n0r.org/?p=panorama;a=summary" target="_blank">git repo</a>, and I plan on making my changes soon.</li>
<li>Commiting the rest of my <a title="Pygame" href="http://git.n0r.org/?p=pygame-nrp;a=summary" target="_blank">GSoC project</a> to Pygame SVN.  I committed everything but the actual camera module so far.  At the very least, I need to set up a build environment in Windows and make sure that the camera fails gracefully, since it only supports v4l2 at the moment.  Before Pygame 1.9 is released though, I plan on writing VFW and maybe Quicktime support.</li>
<li>Writing an Augmented Reality Game (ARG?).  <a title="ARG" href="http://www.gamecreation.org/forum/viewtopic.php?f=16&amp;t=58" target="_blank">Augmented Reality</a> is pretty much the holy grail of computing for me.  I played around with ARToolkit a bit, but I really want to get into it when I have more time.</li>
</ul>
<p>Of course, in addition to that, there is attempting to find a job, taking care of my <a title="Gizmo" href="http://n0r.org/kitten.gif" target="_blank">kitten</a>, finishing moving into my house, and loads of schoolwork.  The schoolwork is mostly interesting though.  It currently consists of writing object classification and image seam carving in Matlab, coming up with screenplay ideas, and playing with a Gumstix board.  I&#8217;m also going to be starting some computer vision research with Professor Martial Hebert of the Vision and Mobile Robotics Laboratory at the Robotics Institute.  More on that when it happens&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/bytes/things-im-doing-or-queueing-at-least/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OLPC Physics Game Jam is Rollcats</title>
		<link>http://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats</link>
		<comments>http://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats#comments</comments>
		<pubDate>Sun, 31 Aug 2008 01:07:36 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[game jam]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[rollcats]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=80</guid>
		<description><![CDATA[The OLPC Physics Game Jam has effectively become a Rollcats Game Jam. Regardless, there are some pretty exciting physics based games being created here, and a whole lot of accidently amazing demonstrations. Daniel Drake and I are writing a bridge building game which may be downloaded as we work on it, from: git://dev.laptop.org/projects/physics03]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://physicsjam.blogspot.com/">OLPC Physics Game Jam</a> has effectively become a <a href="http://rollcats.com">Rollcats Game Jam</a>.</p>
<p style="text-align: center;"><img class="aligncenter" title="Kittens on Wheels" src="http://eclecti.cc/files/2008/08/rollcats.png" alt="Rollcats" /></p>
<p style="text-align: left;">Regardless, there are some pretty exciting physics based games being created here, and a whole lot of accidently amazing demonstrations.</p>
<p style="text-align: left;"><a href="http://www.reactivated.net/weblog/" target="_blank">Daniel Drake</a> and I are writing a bridge building game which may be downloaded as we work on it, from:</p>
<p style="text-align: left;"><a href="git://dev.laptop.org/projects/physics03">git://dev.laptop.org/projects/physics03</a></p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/olpc-physics-game-jam-is-rollcats/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Living Pointillism packaged as an OLPC Activity</title>
		<link>http://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity</link>
		<comments>http://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity#comments</comments>
		<pubDate>Fri, 18 Jul 2008 02:23:05 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[activity]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[pointillism]]></category>
		<category><![CDATA[pygame]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=73</guid>
		<description><![CDATA[I packaged the script I wrote a few posts back as a .xo file that can be installed on an OLPC XO. This isn&#8217;t really because the script itself is that great, but because I wanted to test a way to deliver the Pygame stuff I&#8217;m working on for GSoC for the months until my [...]]]></description>
			<content:encoded><![CDATA[<p>I packaged the <a href="http://eclecti.cc/bytes/living-pointillism-a-pygame-webcam-script">script I wrote a few posts back</a> as a .xo file that can be installed on an OLPC XO.  This isn&#8217;t really because the script itself is that great, but because I wanted to test a way to deliver the Pygame stuff I&#8217;m working on for GSoC for the months until my code is merged, Pygame 1.9 is released, and the package is included on XO&#8217;s.  This also explains why a 2KB Python script is now a 750KB .xo that takes up over 2MB when installed.</p>
<p>So, while the Activity itself just runs the Living Pointillism script, the activity directory (/home/olpc/Activities/Pointillism.activity/ on my XO running release ~690) contains the whole Pygame library with my modifications to date.  So, you can just drop scripts (like <a href="http://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects">these</a> or <a href="http://git.n0r.org/?p=pygame-nrp;a=tree;f=examples/camera">these</a>) that use pygame into that directory and run them from there, and they will use the local pygame instead of the one installed on the XO.  This saves you from having to install all the stuff necessary to compile pygame on an XO.</p>
<p><strong>Download: <a href='http://eclecti.cc/files/2008/07/Pointillism-1.xo'>Living Pointillism</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/living-pointillism-packaged-as-an-olpc-activity/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pixel Perfect Collision between Real and Virtual Objects in Pygame</title>
		<link>http://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects</link>
		<comments>http://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects#comments</comments>
		<pubDate>Thu, 17 Jul 2008 02:10:13 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[collision]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[pygame]]></category>
		<category><![CDATA[vision]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=62</guid>
		<description><![CDATA[The Quick Version: I wrote a few scripts to test the possibility of using pixel perfect collision detection in pygame to allow for interactions between real life and on screen objects.  They require the installation of my branch of pygame, which includes support for v4l2 cameras.  The download links for the scripts (including OLPC versions) [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="A rare screenshot not showing any glitches. :p" src="http://eclecti.cc/files/2008/07/bouncy_ball.png" alt="bouncy ball" /></p>
<p style="text-align: left;"><strong>The Quick Version:<br />
</strong>I wrote a few scripts to test the possibility of using pixel perfect collision detection in pygame to allow for interactions between real life and on screen objects.  They require the installation of my branch of pygame, which includes support for v4l2 cameras.  The download links for the scripts (including OLPC versions) and pygame source are at the bottom of the post.</p>
<p style="text-align: left;"><strong>The Verbose and Occasionally Tangential Version:</strong></p>
<p style="text-align: left;">Joel Stanley of OLPC sent me a patch for my GSoC project a few days ago, along with a link to a <a href="http://picasaweb.google.com/joel.stan/California/photo#5109972492706149618" target="_blank">picture of an exhibit</a> at The Tech Museum of Innovation in San Jose, in which a person can manipulate virtual falling sand with his or her shadow.  That is exactly the kind of killer tech demo I&#8217;ve been looking for for my project.  The kind of thing that anyone could pick up in an instant and realize the beauty of human computer interaction.  Of course, the museum setup had a controlled environment, a projector, a screen, and probably a whole lot of processing power.  I have hundreds of thousands of kids around the world on 433mhz laptops.</p>
<p style="text-align: left;">At first, in response to Joel&#8217;s email, I had just planned to describe how to get the equivalent of the shadow.  It obviously could not require a projector, a screen, a uniformly colored background (green screen), or even a consistant source of light to project a shadow.  Instead, this requires an initial calibration step.  When the scripts start, they wait for the user to hit a button.  The user should then get out of view of the camera, so it only sees the background.  It then waits a couple seconds and takes a picture of the background.  The shadow is then created by thresholding frames currently being captured against the original background image.  This actually works pretty well as long as the background isn&#8217;t moving.  So, play it with the camera facing a wall if possible.</p>
<p style="text-align: left;">I had planned to just leave it at that, but then I figured since I already have that written, might as well just add a few lines of code to see if I could do pixel collisions between the shadow and objects on screen.  Nothing complicated like sand, just a bubble on screen that the user pops.  When this worked, I decided to extend it by having it place a new bubble on a random spot of the screen whenever one is popped.  A few minutes later, my friend stopped by and asked what the hell I was doing jumping around in the middle of the room.  I told her about the vision stuff, and then we both started jumping around in the middle of the room, popping fake bubbles.  Who would have thought something that simple could be fun?  That script is Pop Bubbles; you can download it at the bottom of the post and jump around your own room.</p>
<p style="text-align: left;">I thought I might be finished there, but it was still a far cry from the sand demo that Joel saw.  I decided making the bubble move could be fun, so I added a fixed &#8220;velocity&#8221; of pixels that the bubble would move every frame if it wasn&#8217;t popped.  It would be pretty silly if it kept going off the edge of the screen, so turned the edges into &#8220;walls&#8221; that would reverse the x or y velocity if the ball hit them.  I then tried adding &#8220;gravity&#8221; by having the y velocity increase one step downward each frame, which turned the bubble into a ball.  Then I added some inelasticity by decreasing the velocity a little upon impacting walls.  Since the bubble was now pretty much a bouncy ball, I made it no longer pop upon hitting the shadow.  Instead, it would bounce off the shadow in the opposite direction of where the shadow hit the ball, also adding some more velocity.  By this point, I had a hideous doppelganger of physics that would make Newton wish he never saw an apple tree.  This is what Bouncy Ball is, at the bottom of the post.  Try it at your own risk.  It is absurdly glitchy, and really only responds well to slow movements.</p>
<p style="text-align: left;">This still isn&#8217;t quite what the sand demo is, but I think it comes close enough to prove that it would be possible in Pygame.  The biggest thing that is necessary is a real physics engine, which Zhang Fan is currently working on for Pygame as a GSoC project.  Its likely that I will need to extend the bitmask module in pygame to make things like pinching an object possible.  If anyone wants to improve this stuff, please do, there is a lot of room for it.  I&#8217;d be happy to help out any way I can.  I do hope to have something closer to the sand demo by the end of the summer.</p>
<p style="text-align: left;">As a note to OLPC users, I know its pretty inconvenient to have to build the library on the XO.  I&#8217;m still working on packaging an .rpm and an .xo that contains all of my demo scripts.  Also, for now, to get it running at a usable speed on the XO, it has to be at 320&#215;240, which makes it pretty un-immersive, but I&#8217;m working on ways to scale it up without sacrificing much performance.</p>
<p style="text-align: left;"><strong>Download Python Scripts</strong>:<br />
<a href="http://eclecti.cc/files/2008/07/bouncy_ball.py">Bouncy Ball</a><br />
<a href="http://eclecti.cc/files/2008/07/bouncy_ball_olpc.py">Bouncy Ball (OLPC)</a><br />
<a href="http://eclecti.cc/files/2008/07/pop_bubbles.py">Pop Bubbles</a><br />
<a href="http://eclecti.cc/files/2008/07/pop_bubbles_olpc.py">Pop Bubbles (OLPC)</a><br />
<strong>Download Pygame with camera module source:</strong><br />
<a href="http://eclecti.cc/files/2008/07/pygame-181pre.tar.gz">Pygame 1.8.1 with camera module</a><br />
<strong>Checkout Pygame with camera from git:</strong><br />
git clone git://git.n0r.org/git/pygame-nrp</p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/pixel-perfect-collision-between-real-and-virtual-objects/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pygame Webcam Support</title>
		<link>http://eclecti.cc/olpc/pygame-webcam-support</link>
		<comments>http://eclecti.cc/olpc/pygame-webcam-support#comments</comments>
		<pubDate>Tue, 03 Jun 2008 07:14:35 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[pygame]]></category>
		<category><![CDATA[v4l2]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=52</guid>
		<description><![CDATA[Update:Grab the up to date code in Pygame >1.9.1 from the Pygame repository. There was a three day weekend here, so I got some real coding done on my GSoC project. You can pull the code I&#8217;m working on from my repository at http://git.n0r.org/?p=pygame-nrp;a=summary It is currently barely alpha quality, but it supports v4l2 cameras [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong>Grab the up to date code in <a href="http://www.pygame.org/download.shtml">Pygame</a> >1.9.1 from the <a href="http://www.pygame.org/wiki/cvs">Pygame repository</a>.</p>
<p>There was a three day weekend here, so I got some real coding done on my GSoC project.</p>
<p>You can pull the code I&#8217;m working on from my repository at <a href="http://git.n0r.org/?p=pygame-nrp;a=summary" target="_blank">http://git.n0r.org/?p=pygame-nrp;a=summary<br />
</a><br />
It is currently barely alpha quality, but it supports v4l2 cameras that use MMAP and YUYV or RGB24 pixelformats.  That means it&#8217;ll work on the OLPC XO, though you&#8217;ll need to install gcc, SDL-devel, and probably some other stuff to compile it.</p>
<p>You can open a camera with:<br />
<code>cam = camera.Camera(device, (width, height))</code><br />
Device in most cases is going to be <code>"/dev/video0"</code>.  <code>(width, height)</code> will probably be <code>(640, 480)</code>.<br />
You then need to start the camera with <code>cam.start()</code>.<br />
<code>cam.get_image()</code> will return an RGB Surface.<br />
<code>cam.close()</code> closes the camera if necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/pygame-webcam-support/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>PyEyes: xeyes in Python with Face Tracking</title>
		<link>http://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking</link>
		<comments>http://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking#comments</comments>
		<pubDate>Sat, 12 Apr 2008 08:07:25 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[OLPC]]></category>
		<category><![CDATA[face tracking]]></category>
		<category><![CDATA[pyeyes]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[vision]]></category>
		<category><![CDATA[xeyes]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=38</guid>
		<description><![CDATA[As a crash course in learning the basics of Pygame, I wrote a quick little Activity for the OLPC XO.  It is a clone of xeyes, except instead of following the mouse cursor, it uses the webcam to be creepy and follow your face.  It&#8217;s a bit slow, and kind of messy, but I did [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img title="It sees you..." src="http://eclecti.cc/files/2008/04/pyeyes.jpg" alt="PyEyes" /></p>
<p style="text-align: left;">As a crash course in learning the basics of <a href="http://www.pygame.org/news.html" target="_blank">Pygame</a>, I wrote a quick little Activity for the OLPC XO.  It is a clone of xeyes, except instead of following the mouse cursor, it uses the webcam to be creepy and follow your face.  It&#8217;s a bit slow, and kind of messy, but I did only make it for learning purposes.</p>
<p style="text-align: left;">It uses OpenCV, so you&#8217;re going to need a version of it that works on the XO.  The latest <a href="http://sourceforge.net/cvs/?group_id=22870" target="_blank">source from CVS</a> works, or you can install a patched rpm of it that I hacked together:</p>
<blockquote>
<p style="text-align: left;">sudo rpm -i <a href="http://eclecti.cc/files/opencv-1.0.0-3olpchack.fc7.i386.rpm">http://eclecti.cc/files/opencv-1.0.0-3olpchack.fc7.i386.rpm</a></p>
</blockquote>
<p style="text-align: left;">You&#8217;ll also need the opencv-python package, which is available in the repository.</p>
<blockquote>
<p style="text-align: left;">sudo yum install opencv-python</p>
</blockquote>
<p>You can get the .xo itself here: <a href="http://eclecti.cc/files/PyEyes-1.xo">PyEyes-1.xo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/olpc/pyeyes-xeyes-in-python-with-face-tracking/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>xeyes with Face Detection</title>
		<link>http://eclecti.cc/bits/xeyes-with-face-detection</link>
		<comments>http://eclecti.cc/bits/xeyes-with-face-detection#comments</comments>
		<pubDate>Thu, 10 Apr 2008 07:31:49 +0000</pubDate>
		<dc:creator>nrp</dc:creator>
				<category><![CDATA[Bits]]></category>
		<category><![CDATA[OLPC]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[pygame]]></category>
		<category><![CDATA[vision]]></category>
		<category><![CDATA[xeyes]]></category>

		<guid isPermaLink="false">http://eclecti.cc/?p=37</guid>
		<description><![CDATA[I&#8217;ve been writing xeyes with face detection using opencv as a crash course in pygame.  Pictures and code tomorrow. (1)]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing xeyes with face detection using opencv as a crash course in pygame.  Pictures and code tomorrow.</p>
<a href="http://eclecti.cc/bits/xeyes-with-face-detection" rel="bookmark" class="asides-permalink" title="Permanent Link to xeyes with Face Detection">(1)</a>]]></content:encoded>
			<wfw:commentRss>http://eclecti.cc/bits/xeyes-with-face-detection/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
