<?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: Face Detection in Static Images with Python</title>
	<atom:link href="http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/</link>
	<description>A blog by Robert (Marty) McGuire</description>
	<lastBuildDate>Tue, 31 Aug 2010 07:44:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: facesaver.py locks your screen when you forget &#171; wilkox</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-145</link>
		<dc:creator>facesaver.py locks your screen when you forget &#171; wilkox</dc:creator>
		<pubDate>Tue, 31 Aug 2010 07:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-145</guid>
		<description>[...] to be added to the list. A large part of the code is stolen directly from Marty McGuire&#8217;s face_detect.py. This is the first thing I&#8217;ve ever written in python so feel free to suggest improvements.  [...]</description>
		<content:encoded><![CDATA[<p>[...] to be added to the list. A large part of the code is stolen directly from Marty McGuire&#8217;s face_detect.py. This is the first thing I&#8217;ve ever written in python so feel free to suggest improvements.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander F</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-57</link>
		<dc:creator>Alexander F</dc:creator>
		<pubDate>Wed, 02 Jun 2010 09:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-57</guid>
		<description>Hi! I have the thingy running on windows but maybe this can help you:
•	Add /bin to your PATH environment variable
•	Create an environment variable PYTHONPATH and set it to /Python2.6/Lib/site-packages

adapt it to your versions/directories/operating systems needs.</description>
		<content:encoded><![CDATA[<p>Hi! I have the thingy running on windows but maybe this can help you:<br />
•	Add /bin to your PATH environment variable<br />
•	Create an environment variable PYTHONPATH and set it to /Python2.6/Lib/site-packages</p>
<p>adapt it to your versions/directories/operating systems needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guenter Bachelier</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-54</link>
		<dc:creator>Guenter Bachelier</dc:creator>
		<pubDate>Sun, 16 May 2010 16:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-54</guid>
		<description>I have just  installed OpenCV 2.1 on Ubuntu with
http://gijs.pythonic.nl/blog/2010/apr/7/opencv-21-ubuntu-packages/
and tried this code but I get a
 ImportError: No module named opencv.cv</description>
		<content:encoded><![CDATA[<p>I have just  installed OpenCV 2.1 on Ubuntu with<br />
<a href="http://gijs.pythonic.nl/blog/2010/apr/7/opencv-21-ubuntu-packages/" rel="nofollow">http://gijs.pythonic.nl/blog/2010/apr/7/opencv-21-ubuntu-packages/</a><br />
and tried this code but I get a<br />
 ImportError: No module named opencv.cv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander F.</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-50</link>
		<dc:creator>Alexander F.</dc:creator>
		<pubDate>Tue, 27 Apr 2010 04:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-50</guid>
		<description>Hi! Anyone an idea how this works on windows? i get the &quot;ImportError: No module named opencv.cv&quot; Error using python 26 and opencv 2.1. copying the files from &quot;C:\OpenCV2.1\Python2.6\Lib\site-packages&quot; to &quot;C:\Python26\Lib\site-packages&quot; as said everywhere on the internet doesn&#039;t seem to work. best regards, alex</description>
		<content:encoded><![CDATA[<p>Hi! Anyone an idea how this works on windows? i get the &#8220;ImportError: No module named opencv.cv&#8221; Error using python 26 and opencv 2.1. copying the files from &#8220;C:\OpenCV2.1\Python2.6\Lib\site-packages&#8221; to &#8220;C:\Python26\Lib\site-packages&#8221; as said everywhere on the internet doesn&#8217;t seem to work. best regards, alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert McGuire</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-29</link>
		<dc:creator>Robert McGuire</dc:creator>
		<pubDate>Thu, 21 Jan 2010 17:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-29</guid>
		<description>Marius - have you tried ryanhaigh&#039;s suggestion of changing the &quot;if faces:&quot; line to &quot;if faces.total &gt; 0:&quot;?</description>
		<content:encoded><![CDATA[<p>Marius &#8211; have you tried ryanhaigh&#8217;s suggestion of changing the &#8220;if faces:&#8221; line to &#8220;if faces.total > 0:&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marius</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-28</link>
		<dc:creator>marius</dc:creator>
		<pubDate>Thu, 21 Jan 2010 14:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-28</guid>
		<description>Hi, I get an error when running this script: 

$ ./face_detect.py lena.jpg
terminate called after throwing an instance of &#039;int&#039;
Aborted
$ _

The same happens when running this from the python shell. When copy-pasting single lines, the error appears at &quot;faces = cvHaarDetectObjects(...)&quot;. The shell is also killed. I don&#039;t even have a guess on where to start looking here. Any ideas on what goes wrong?</description>
		<content:encoded><![CDATA[<p>Hi, I get an error when running this script: </p>
<p>$ ./face_detect.py lena.jpg<br />
terminate called after throwing an instance of &#8216;int&#8217;<br />
Aborted<br />
$ _</p>
<p>The same happens when running this from the python shell. When copy-pasting single lines, the error appears at &#8220;faces = cvHaarDetectObjects(&#8230;)&#8221;. The shell is also killed. I don&#8217;t even have a guess on where to start looking here. Any ideas on what goes wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryanhaigh</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-26</link>
		<dc:creator>ryanhaigh</dc:creator>
		<pubDate>Sat, 22 Aug 2009 09:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-26</guid>
		<description>Thanks for this information it was very useful to me. I did however have a problem when using this in a larger program and I thought others might find it useful. It seems that &quot;if faces:&quot; will still be true even if no faces are found in the image. Using &quot;if faces.total &gt; 0:&quot; worked perfectly.

Thanks Again,
ryanhaigh</description>
		<content:encoded><![CDATA[<p>Thanks for this information it was very useful to me. I did however have a problem when using this in a larger program and I thought others might find it useful. It seems that &#8220;if faces:&#8221; will still be true even if no faces are found in the image. Using &#8220;if faces.total &gt; 0:&#8221; worked perfectly.</p>
<p>Thanks Again,<br />
ryanhaigh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anony M.</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-24</link>
		<dc:creator>Anony M.</dc:creator>
		<pubDate>Mon, 18 May 2009 23:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-24</guid>
		<description>Thank you very much indeed, sir.</description>
		<content:encoded><![CDATA[<p>Thank you very much indeed, sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-23</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Tue, 05 May 2009 11:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-23</guid>
		<description>p.s. tested and working with the ISO standard CV http://en.wikipedia.org/wiki/Lenna test image :-)</description>
		<content:encoded><![CDATA[<p>p.s. tested and working with the ISO standard CV <a href="http://en.wikipedia.org/wiki/Lenna" rel="nofollow">http://en.wikipedia.org/wiki/Lenna</a> test image <img src='http://creatingwithcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-22</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Tue, 05 May 2009 11:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-22</guid>
		<description>Thanks for this example!

FYI, /usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml is contained in libcv-dev so you actually need  to install that too for the code to run

i.e.,

$ sudo apt-get install python-opencv libcv-dev</description>
		<content:encoded><![CDATA[<p>Thanks for this example!</p>
<p>FYI, /usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml is contained in libcv-dev so you actually need  to install that too for the code to run</p>
<p>i.e.,</p>
<p>$ sudo apt-get install python-opencv libcv-dev</p>
]]></content:encoded>
	</item>
</channel>
</rss>
