<?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: Example 16-13: Simple Motion Detection</title>
	<atom:link href="http://www.learningprocessing.com/examples/chapter-16/example-16-13/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningprocessing.com</link>
	<description>A Beginner's Guide to Programming Images, Animation, and Interaction by Daniel Shiffman</description>
	<lastBuildDate>Fri, 10 Feb 2012 19:58:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel Shiffman</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-20495</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Mon, 18 Apr 2011 14:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-20495</guid>
		<description>I would take a look at the overall motion example, you could use an if statment to play the video only when the overall average motion is above a certain threshold.  good luck!

http://www.learningprocessing.com/examples/chapter-16/example-16-14/</description>
		<content:encoded><![CDATA[<p>I would take a look at the overall motion example, you could use an if statment to play the video only when the overall average motion is above a certain threshold.  good luck!</p>
<p><a href="http://www.learningprocessing.com/examples/chapter-16/example-16-14/" rel="nofollow">http://www.learningprocessing.com/examples/chapter-16/example-16-14/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pepe100</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-20438</link>
		<dc:creator>Pepe100</dc:creator>
		<pubDate>Wed, 23 Mar 2011 20:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-20438</guid>
		<description>This is great, i am currently using processing to control video. Iv only been at it a day but would like to use motion capture to trigger a video to play and then pause when no motion is detected, and so on. I have never used processing before today so getting my head round the coding is proving tough. I have another piece of code that can pause the video using a mouse, is there a way to combine parts of both codes to trigger the video?</description>
		<content:encoded><![CDATA[<p>This is great, i am currently using processing to control video. Iv only been at it a day but would like to use motion capture to trigger a video to play and then pause when no motion is detected, and so on. I have never used processing before today so getting my head round the coding is proving tough. I have another piece of code that can pause the video using a mouse, is there a way to combine parts of both codes to trigger the video?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marta Blicharz</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-19764</link>
		<dc:creator>Marta Blicharz</dc:creator>
		<pubDate>Sat, 26 Feb 2011 04:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-19764</guid>
		<description>Hi,

I am trying to do a project that uses webcam motion detection to produce a &quot;flashlight&quot; or some concentrated distortion effect in a separate jpeg image (for example a picture of a car). The place of the motion in the webcam would correspond to the position of the distortion of pixels in the other image. Can you please point me to examples that would enable me to do this effectively?

Thanks for your time!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to do a project that uses webcam motion detection to produce a &#8220;flashlight&#8221; or some concentrated distortion effect in a separate jpeg image (for example a picture of a car). The place of the motion in the webcam would correspond to the position of the distortion of pixels in the other image. Can you please point me to examples that would enable me to do this effectively?</p>
<p>Thanks for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knez</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-17031</link>
		<dc:creator>Knez</dc:creator>
		<pubDate>Tue, 28 Dec 2010 14:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-17031</guid>
		<description>Finished! 

Works like charm. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Finished! </p>
<p>Works like charm. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Shiffman</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-16722</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Mon, 20 Dec 2010 22:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-16722</guid>
		<description>Use the save() method!

video.save(&quot;motion.jpg&quot;);

along with a conditional to determine the overall motion (see: http://www.learningprocessing.com/examples/chapter-16/example-16-14/) that should do the trick!

http://processing.org/reference/save_.html</description>
		<content:encoded><![CDATA[<p>Use the save() method!</p>
<p>video.save(&#8220;motion.jpg&#8221;);</p>
<p>along with a conditional to determine the overall motion (see: <a href="http://www.learningprocessing.com/examples/chapter-16/example-16-14/" rel="nofollow">http://www.learningprocessing.com/examples/chapter-16/example-16-14/</a>) that should do the trick!</p>
<p><a href="http://processing.org/reference/save_.html" rel="nofollow">http://processing.org/reference/save_.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knez</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-16360</link>
		<dc:creator>Knez</dc:creator>
		<pubDate>Tue, 14 Dec 2010 21:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-16360</guid>
		<description>I wonder if You can help me, and describe a little more (or give a hint) how to take an image (which will be stored somewhere on hdd) when web cam detects motion? Thank you anyway!</description>
		<content:encoded><![CDATA[<p>I wonder if You can help me, and describe a little more (or give a hint) how to take an image (which will be stored somewhere on hdd) when web cam detects motion? Thank you anyway!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ephrat</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-10170</link>
		<dc:creator>Ephrat</dc:creator>
		<pubDate>Mon, 22 Mar 2010 14:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-10170</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Shiffman</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-10162</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Sun, 21 Mar 2010 23:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-10162</guid>
		<description>You need to keep track of which x,y locations contain motion.  For example, you could use an ArrayList and each time you find a motion pixel, add the (x,y) data (perhaps as a PVector) to that ArrayList. Once you have that you could analyze the points an number of ways -- look for overall average location of motion, do blob detection, etc.</description>
		<content:encoded><![CDATA[<p>You need to keep track of which x,y locations contain motion.  For example, you could use an ArrayList and each time you find a motion pixel, add the (x,y) data (perhaps as a PVector) to that ArrayList. Once you have that you could analyze the points an number of ways &#8212; look for overall average location of motion, do blob detection, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ephrat</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-10105</link>
		<dc:creator>Ephrat</dc:creator>
		<pubDate>Fri, 19 Mar 2010 16:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-10105</guid>
		<description>How can I tell if there is motion taking place in specific parts of the captured video. For example if my size is (320,240) and I want to know if there is motion when 0 &lt; x &lt; 100 ; 120 &lt; x &lt; 220 ; 240 &lt; x &lt; 320?</description>
		<content:encoded><![CDATA[<p>How can I tell if there is motion taking place in specific parts of the captured video. For example if my size is (320,240) and I want to know if there is motion when 0 &lt; x &lt; 100 ; 120 &lt; x &lt; 220 ; 240 &lt; x &lt; 320?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ad</title>
		<link>http://www.learningprocessing.com/examples/chapter-16/example-16-13/comment-page-1/#comment-5149</link>
		<dc:creator>Ad</dc:creator>
		<pubDate>Sat, 26 Sep 2009 10:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=637#comment-5149</guid>
		<description>Thanks alot, this works great :-)</description>
		<content:encoded><![CDATA[<p>Thanks alot, this works great <img src='http://www.learningprocessing.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

