<?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>Wed, 17 Feb 2010 20:06:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Henrik</title>
		<link>http://creatingwithcode.com/howto/face-detection-in-static-images-with-python/comment-page-1/#comment-20</link>
		<dc:creator>Henrik</dc:creator>
		<pubDate>Mon, 23 Mar 2009 17:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://creatingwithcode.com/?p=16#comment-20</guid>
		<description>Thx, was looking for this!</description>
		<content:encoded><![CDATA[<p>Thx, was looking for this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
