<?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>Jop Wielens &#187; color</title>
	<atom:link href="http://www.interactionfigure.nl/tag/color/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.interactionfigure.nl</link>
	<description>Actionscript experiments and general weirdness</description>
	<lastBuildDate>Wed, 14 Jul 2010 14:31:31 +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>Colour tracking with the webcam in Flash</title>
		<link>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/</link>
		<comments>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 09:34:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[webcam]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://www.interactionfigure.nl/?p=29</guid>
		<description><![CDATA[Something I wanted to do for a while. Track a colour using your webcam in Flash. I draw the webcam into Bitmapadata so I can play around with it. If you take the getColorBoundsRect straight from the raw bitmapdata it will be very hard to get something useful as you just have to many single [...]]]></description>
			<content:encoded><![CDATA[<p>Something I wanted to do for a while. Track a colour using your webcam in Flash. I draw the webcam into Bitmapadata so I can play around with it. If you take the getColorBoundsRect straight from the raw bitmapdata it will be very hard to get something useful as you just have to many single pixels and colours to analise. So I implement a little trick that makes it better to analise. First I blur the video so it smooths the colours. Then I turn it into a 8 channel image.</p>
<p>After that I just layer a fresh video feed that isnt distorted on top and start drawing based on the colour and position.</p>
<p>Enjoy! You can grab the source <a title="Colour tracking source" onclick="javascript:pageTracker._trackPageview('/downloads/source/WebcamColourTracking.zip');" href="http://www.interactionfigure.nl/source/WebcamColourTracking.zip">here </a>if you want.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_WebcamColourTracking_529673158"
			class="flashmovie"
			width="600"
			height="450">
	<param name="movie" value="http://www.interactionfigure.nl/swfs/WebcamColourTracking.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.interactionfigure.nl/swfs/WebcamColourTracking.swf"
			name="fm_WebcamColourTracking_529673158"
			width="600"
			height="450">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.interactionfigure.nl/2009/colour-tracking-with-the-webcam-in-flash/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
