<?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: drive a webcam with python</title>
	<atom:link href="http://technobabbler.com/?feed=rss2&#038;p=22" rel="self" type="application/rss+xml" />
	<link>http://technobabbler.com/?p=22</link>
	<description>whatever i happen to be focused on right now</description>
	<lastBuildDate>Thu, 15 Jul 2010 17:32:38 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pr</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-12672</link>
		<dc:creator>pr</dc:creator>
		<pubDate>Sat, 20 Mar 2010 07:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-12672</guid>
		<description>Rand, if setResolution doesn&#039;t support it, my guess is that your driver doesn&#039;t either.  Does your webcam actually advertise that resolution?

If it&#039;s not supported, I think upscaling using PIL would be the only option.</description>
		<content:encoded><![CDATA[<p>Rand, if setResolution doesn&#8217;t support it, my guess is that your driver doesn&#8217;t either.  Does your webcam actually advertise that resolution?</p>
<p>If it&#8217;s not supported, I think upscaling using PIL would be the only option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rand Batchelder</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-12671</link>
		<dc:creator>Rand Batchelder</dc:creator>
		<pubDate>Fri, 19 Mar 2010 18:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-12671</guid>
		<description>I have gone this far too.

But I need to set the webcam to a higer resolution like 1600x1200 or higher and the setResolution function does not work in videoCapture.

Any advice ?

Rand</description>
		<content:encoded><![CDATA[<p>I have gone this far too.</p>
<p>But I need to set the webcam to a higer resolution like 1600&#215;1200 or higher and the setResolution function does not work in videoCapture.</p>
<p>Any advice ?</p>
<p>Rand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert small</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-12171</link>
		<dc:creator>robert small</dc:creator>
		<pubDate>Fri, 20 Nov 2009 04:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-12171</guid>
		<description>thanks alot for posting this.
I am learning python at the moment and this has taught me a few new tricks
Rob</description>
		<content:encoded><![CDATA[<p>thanks alot for posting this.<br />
I am learning python at the moment and this has taught me a few new tricks<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoJaN</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-11531</link>
		<dc:creator>BoJaN</dc:creator>
		<pubDate>Sun, 12 Jul 2009 09:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-11531</guid>
		<description>Very nice, but I&#039;m getting an error from the PIL Image.py script saying there is not enough image data. I can&#039;t find my webcam right now so I&#039;m using Fake Cam to use an avi file as a camera instead and AmCap is able to view it just fine. It&#039;s 3am and people are sleeping so I don&#039;t really want to go looking for my webcam ATM.</description>
		<content:encoded><![CDATA[<p>Very nice, but I&#8217;m getting an error from the PIL Image.py script saying there is not enough image data. I can&#8217;t find my webcam right now so I&#8217;m using Fake Cam to use an avi file as a camera instead and AmCap is able to view it just fine. It&#8217;s 3am and people are sleeping so I don&#8217;t really want to go looking for my webcam ATM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beau Gunderson</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-11385</link>
		<dc:creator>Beau Gunderson</dc:creator>
		<pubDate>Fri, 29 May 2009 16:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-11385</guid>
		<description>http://www.jperla.com/blog/2007/09/26/capturing-frames-from-a-webcam-on-linux/

Here&#039;s how to capture webcam images on Linux. :)</description>
		<content:encoded><![CDATA[<p><a href="http://www.jperla.com/blog/2007/09/26/capturing-frames-from-a-webcam-on-linux/" rel="nofollow">http://www.jperla.com/blog/2007/09/26/capturing-frames-from-a-webcam-on-linux/</a></p>
<p>Here&#8217;s how to capture webcam images on Linux. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-6608</link>
		<dc:creator>R</dc:creator>
		<pubDate>Wed, 17 Sep 2008 22:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-6608</guid>
		<description>Worked for me, great, but I had to make a couple of changes

1. &quot;from PIL import ImageDraw&quot; instead of &quot;import ImageDraw&quot;, perhaps that&#039;s due to a change in PIL.

2. Added an infinite loop until the image was read, because &quot;getImage()&quot; does not guarantee to produce an image, and freezes the program.  I used the following instead of calling getImage from inside Brightness()

 camshot = cam.getImage()
 while camshot==None:
 	camshot = cam.getImage()

Thanks a lot for this.</description>
		<content:encoded><![CDATA[<p>Worked for me, great, but I had to make a couple of changes</p>
<p>1. &#8220;from PIL import ImageDraw&#8221; instead of &#8220;import ImageDraw&#8221;, perhaps that&#8217;s due to a change in PIL.</p>
<p>2. Added an infinite loop until the image was read, because &#8220;getImage()&#8221; does not guarantee to produce an image, and freezes the program.  I used the following instead of calling getImage from inside Brightness()</p>
<p> camshot = cam.getImage()<br />
 while camshot==None:<br />
 	camshot = cam.getImage()</p>
<p>Thanks a lot for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-5468</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 26 Apr 2008 20:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-5468</guid>
		<description>This is really an amazing implementation.  I&#039;m using a cheap webcam and this does a fantastic job.

I have written some improvements to this script though.  I added controls to rotate the image, and use some of PIL&#039;s imagefilters to have some fun with your mugshot.

My goal is to build a Python app that duplicates (and may even work better) than Apple&#039;s Photobooth.  If anyone wants to see my improvements, just email me at webmaster@asporina.com</description>
		<content:encoded><![CDATA[<p>This is really an amazing implementation.  I&#8217;m using a cheap webcam and this does a fantastic job.</p>
<p>I have written some improvements to this script though.  I added controls to rotate the image, and use some of PIL&#8217;s imagefilters to have some fun with your mugshot.</p>
<p>My goal is to build a Python app that duplicates (and may even work better) than Apple&#8217;s Photobooth.  If anyone wants to see my improvements, just email me at <a href="mailto:webmaster@asporina.com">webmaster@asporina.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-5209</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Thu, 06 Mar 2008 13:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-5209</guid>
		<description>Hi
It looks very nice
I am trying to do the same in Ubuntu, but videocapture is for win32, do you know any Extension for Accessing Video Devices for python in linux?

thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
It looks very nice<br />
I am trying to do the same in Ubuntu, but videocapture is for win32, do you know any Extension for Accessing Video Devices for python in linux?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-5092</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 23 Feb 2008 21:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-5092</guid>
		<description>&lt;a&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jo Vermeulen</title>
		<link>http://technobabbler.com/?p=22&#038;cpage=1#comment-5065</link>
		<dc:creator>Jo Vermeulen</dc:creator>
		<pubDate>Tue, 19 Feb 2008 16:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://technobabbler.com/?p=22#comment-5065</guid>
		<description>A Linux version would be great! Any news on that? 

I think you need some way to interact with Video4Linux2 then ...</description>
		<content:encoded><![CDATA[<p>A Linux version would be great! Any news on that? </p>
<p>I think you need some way to interact with Video4Linux2 then &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
