<?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>Yann's Blog &#187; Hardware</title>
	<atom:link href="http://yannramin.com/tag/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://yannramin.com</link>
	<description>Software and life</description>
	<lastBuildDate>Wed, 07 Jul 2010 20:04:59 +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>AutoBand: Play Rock Band 2 using OpenCV</title>
		<link>http://yannramin.com/2009/10/09/autoband_play_rock_band_using_opencv/</link>
		<comments>http://yannramin.com/2009/10/09/autoband_play_rock_band_using_opencv/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 18:59:59 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[EVE-Central]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[autoband]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=286</guid>
		<description><![CDATA[I took some time to learn a bit about computer vision, using OpenCV. The end goal here is to produce a Rock Band playing &#8220;robot&#8221;, using nothing but a specially modified controller (a AT90USB + bunch of FETs) and a computer with a video capture input. Below is a video of my first attempt at [...]]]></description>
			<content:encoded><![CDATA[<p>I took some time to learn a bit about computer vision, using <a href="http://opencv.willowgarage.com/wiki/">OpenCV</a>. The end goal here is to produce a Rock Band playing &#8220;robot&#8221;, using nothing but a specially modified controller (a AT90USB + bunch of FETs) and a computer with a video capture input. </p>
<p>Below is a video of my first attempt at using OpenCV. It applies several filters to isolate the keys on the racetrack approximately 2 frames ahead of the goal position. The primary heuristic right now is a threshold detect filter after all of the isolation steps. If you watch closely, you can see missed or over-pressed keys, especially when the whole racetrack lights up. </p>
<p>Note that the video output has an overlay color square which announces the software has detected a keypress. The actual gameplay is from another YouTube video &#8211; there is no closed loop control yet. </p>
<p>This will take some more tuning to iron out differences, possibly preserving some state from frame to frame. Right now color information is not used, but a separate classifier pipeline and some scoring mechanic might produce better results. </p>
<p><object width="500" height="405"><param name="movie" value="http://www.youtube-nocookie.com/v/y4gYa0o3h44&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/y4gYa0o3h44&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object></p>
<p>I will publish the git repository with the very-alpha implementation soon. </p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/10/09/autoband_play_rock_band_using_opencv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.211 seconds -->
