<?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: Near realtime face detection on the iPhone w/ OpenCV port [w/code,video]</title>
	<atom:link href="http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/</link>
	<description>On software, code, the internet and more.</description>
	<lastBuildDate>Mon, 08 Mar 2010 13:48:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brett Walker</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-166</link>
		<dc:creator>Brett Walker</dc:creator>
		<pubDate>Fri, 05 Feb 2010 19:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-166</guid>
		<description>Hi Roy. After following your instructions, I&#039;m still unable to run your code successfully. It compiles with no errors, but when running I keep getting SIGABRTs...</description>
		<content:encoded><![CDATA[<p>Hi Roy. After following your instructions, I&#8217;m still unable to run your code successfully. It compiles with no errors, but when running I keep getting SIGABRTs&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mick</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-141</link>
		<dc:creator>Mick</dc:creator>
		<pubDate>Tue, 01 Dec 2009 20:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-141</guid>
		<description>Hi Roy,

Looks like a very useful project, however I&#039;m still unable to compile MyCvDetectHaarObjects.cpp.

1) I have successfully compiled projects including the static libraries using the methods detailed by Yoshimasa Niwa with no errors. 

2) I have included the following line for library linking (in simulator, I also have the relevant device line for that build setting):
$(SRCROOT)/opencv_simulator/lib/libml.a $(SRCROOT)/opencv_simulator/lib/libhighgui.a $(SRCROOT)/opencv_simulator/lib/libcvaux.a -lstdc++ -lz $(SRCROOT)/opencv_simulator/lib/libcv.a $(SRCROOT)/opencv_simulator/lib/libcxcore.a

3) and for headers (again for the simulator build setting):
$(SRCROOT)/opencv_simulator/include
4) And I have included all the .h files in the project. 

The errors are all based on the macros used in the file:
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:570: error: jump to label &#039;exit&#039;
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:459: error:   from here
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:464: error:   crosses initialization of &#039;int pq3&#039;

Is it possible there&#039;s a build flag (VERY_ROUGH_SEARCH) somewhere that needs to be defined?

Cheers
Mick</description>
		<content:encoded><![CDATA[<p>Hi Roy,</p>
<p>Looks like a very useful project, however I&#8217;m still unable to compile MyCvDetectHaarObjects.cpp.</p>
<p>1) I have successfully compiled projects including the static libraries using the methods detailed by Yoshimasa Niwa with no errors. </p>
<p>2) I have included the following line for library linking (in simulator, I also have the relevant device line for that build setting):<br />
$(SRCROOT)/opencv_simulator/lib/libml.a $(SRCROOT)/opencv_simulator/lib/libhighgui.a $(SRCROOT)/opencv_simulator/lib/libcvaux.a -lstdc++ -lz $(SRCROOT)/opencv_simulator/lib/libcv.a $(SRCROOT)/opencv_simulator/lib/libcxcore.a</p>
<p>3) and for headers (again for the simulator build setting):<br />
$(SRCROOT)/opencv_simulator/include<br />
4) And I have included all the .h files in the project. </p>
<p>The errors are all based on the macros used in the file:<br />
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:570: error: jump to label &#8216;exit&#8217;<br />
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:459: error:   from here<br />
/Users/mick/Desktop/otherApps/FaceDetector-fast/FaceDetector1/Classes/mycvHaarDetectObjects.cpp:464: error:   crosses initialization of &#8216;int pq3&#8242;</p>
<p>Is it possible there&#8217;s a build flag (VERY_ROUGH_SEARCH) somewhere that needs to be defined?</p>
<p>Cheers<br />
Mick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-133</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Sat, 14 Nov 2009 04:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-133</guid>
		<description>Hi Roy,

So, 480x640 in under a second... wow, that&#039;s pretty exciting!

I&#039;m expecting my 3G s to be delivered in a few days, can&#039;t wait to try it out on the real thing :)

BTW, if anyone is interested, I ran into an article by Yoshimasa Niwa, in which he provided an overview on compiling and using OpenCV with iPhone. And even better, he provided a complete XCode project, along with iPhone OS-compiled OpenCV libraries in his github repository. Check it out here: 
http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

Vincent</description>
		<content:encoded><![CDATA[<p>Hi Roy,</p>
<p>So, 480&#215;640 in under a second&#8230; wow, that&#8217;s pretty exciting!</p>
<p>I&#8217;m expecting my 3G s to be delivered in a few days, can&#8217;t wait to try it out on the real thing <img src='http://www.morethantechnical.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>BTW, if anyone is interested, I ran into an article by Yoshimasa Niwa, in which he provided an overview on compiling and using OpenCV with iPhone. And even better, he provided a complete XCode project, along with iPhone OS-compiled OpenCV libraries in his github repository. Check it out here:<br />
<a href="http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en" rel="nofollow">http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en</a></p>
<p>Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-132</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Fri, 13 Nov 2009 15:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-132</guid>
		<description>Hi Vincent

You can expect something like 200-500ms for say a 480x640 image.
The still images captured by the camera are 1200x1600, and the algorithm will run for 1-3 seconds to find a face.
Keep in mind that increasing the scale factor will give faster results, but may not find a face at all...

Roy.</description>
		<content:encoded><![CDATA[<p>Hi Vincent</p>
<p>You can expect something like 200-500ms for say a 480&#215;640 image.<br />
The still images captured by the camera are 1200&#215;1600, and the algorithm will run for 1-3 seconds to find a face.<br />
Keep in mind that increasing the scale factor will give faster results, but may not find a face at all&#8230;</p>
<p>Roy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-131</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Fri, 13 Nov 2009 12:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-131</guid>
		<description>Roy, thank you for this great post!

I haven’t gotten a chance to try this out on a device, but you did say your optimizations reduced timings to the range of hundreds of milliseconds - for video feeds at least.

So my question is, if I apply the same optimizations to a single image (so no way to use the ROI from a previous detection), what kind of timing could I expect on a real device (like 3Gs)?

Thanks again!

Vincent</description>
		<content:encoded><![CDATA[<p>Roy, thank you for this great post!</p>
<p>I haven’t gotten a chance to try this out on a device, but you did say your optimizations reduced timings to the range of hundreds of milliseconds &#8211; for video feeds at least.</p>
<p>So my question is, if I apply the same optimizations to a single image (so no way to use the ROI from a previous detection), what kind of timing could I expect on a real device (like 3Gs)?</p>
<p>Thanks again!</p>
<p>Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-129</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Mon, 02 Nov 2009 10:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-129</guid>
		<description>It seems to be an #include problem.
Make sure the compiler can find cv.h (which is #included in at the beginning), and perhaps try with #include &lt;cv.h&gt; instead of &quot;cv.h&quot; that is used for local indirection.

Roy.</description>
		<content:encoded><![CDATA[<p>It seems to be an #include problem.<br />
Make sure the compiler can find cv.h (which is #included in at the beginning), and perhaps try with #include <cv .h> instead of &#8220;cv.h&#8221; that is used for local indirection.</p>
<p>Roy.</cv></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-128</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Mon, 02 Nov 2009 10:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-128</guid>
		<description>Hi Bill

I used PAD_FACE = 40 and PAD_FACE_2 is just a multiplication by 2 (80).
I added a missing file to the SVN repo of this project: facedetect.c it constains the detect_and_draw function and all constants, etc.

Roy.</description>
		<content:encoded><![CDATA[<p>Hi Bill</p>
<p>I used PAD_FACE = 40 and PAD_FACE_2 is just a multiplication by 2 (80).<br />
I added a missing file to the SVN repo of this project: facedetect.c it constains the detect_and_draw function and all constants, etc.</p>
<p>Roy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-127</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 02 Nov 2009 04:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-127</guid>
		<description>I&#039;m curious what values you used for PAD_FACE / PAD_FACE_2?

Thanks for this post, it&#039;s really helpful,

Bill</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious what values you used for PAD_FACE / PAD_FACE_2?</p>
<p>Thanks for this post, it&#8217;s really helpful,</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-126</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Sat, 31 Oct 2009 12:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-126</guid>
		<description>Hi Roy:
I had followed step by step according to your helpful instructions. I did link all the *.a files, and put all header files in Class folder. Unfortunately, in the end I still can compile the MyCvDetectHaarObjects.cpp.

Here are the error messages from Xcoder:
----
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: In function &#039;MyCvHidHaarClassifierCascade* myicvCreateHidHaarClassifierCascade(CvHaarClassifierCascade*)&#039;:
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:158: error: &#039;sprintf&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:190: error: &#039;sprintf&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:270: error: &#039;cvAlignPtr&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: At global scope:
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:429: error: expected constructor, destructor, or type conversion before &#039;int&#039;
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:581: error: expected constructor, destructor, or type conversion before &#039;void&#039;
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:826: error: &#039;CV_IMPL&#039; does not name a type
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:5:1: warning: this is the location of the previous definition
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:158: error: &#039;sprintf&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:190: error: &#039;sprintf&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:270: error: &#039;cvAlignPtr&#039; was not declared in this scope
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: At global scope:
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:429: error: expected constructor, destructor, or type conversion before &#039;int&#039;
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:581: error: expected constructor, destructor, or type conversion before &#039;void&#039;
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:826: error: &#039;CV_IMPL&#039; does not name a type
Build failed (6 errors, 3 warnings)
---

Could you plz help me to figure it out?
Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi Roy:<br />
I had followed step by step according to your helpful instructions. I did link all the *.a files, and put all header files in Class folder. Unfortunately, in the end I still can compile the MyCvDetectHaarObjects.cpp.</p>
<p>Here are the error messages from Xcoder:<br />
&#8212;-<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: In function &#8216;MyCvHidHaarClassifierCascade* myicvCreateHidHaarClassifierCascade(CvHaarClassifierCascade*)&#8217;:<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:158: error: &#8217;sprintf&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:190: error: &#8217;sprintf&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:270: error: &#8216;cvAlignPtr&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: At global scope:<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:429: error: expected constructor, destructor, or type conversion before &#8216;int&#8217;<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:581: error: expected constructor, destructor, or type conversion before &#8216;void&#8217;<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:826: error: &#8216;CV_IMPL&#8217; does not name a type<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:5:1: warning: this is the location of the previous definition<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:158: error: &#8217;sprintf&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:190: error: &#8217;sprintf&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:270: error: &#8216;cvAlignPtr&#8217; was not declared in this scope<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp: At global scope:<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:429: error: expected constructor, destructor, or type conversion before &#8216;int&#8217;<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:581: error: expected constructor, destructor, or type conversion before &#8216;void&#8217;<br />
/Users/imac/Desktop/Untitled/Classes/mycvHaarDetectObjects.cpp:826: error: &#8216;CV_IMPL&#8217; does not name a type<br />
Build failed (6 errors, 3 warnings)<br />
&#8212;</p>
<p>Could you plz help me to figure it out?<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tech: Four short links: 6 October 2009 &#124; tech3bite</title>
		<link>http://www.morethantechnical.com/2009/08/09/near-realtime-face-detection-on-the-iphone-w-opencv-port-wcodevideo/comment-page-1/#comment-123</link>
		<dc:creator>tech: Four short links: 6 October 2009 &#124; tech3bite</dc:creator>
		<pubDate>Sun, 11 Oct 2009 18:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=400#comment-123</guid>
		<description>[...] Near Realtime Face Detection on the iPhone with OpenCV Port &#8212; we&#8217;re probably only one or two revisions of iPhone hardware away from being able to do some serious computer vision tasks on the handset. Proof of concept adds a tie to the face you&#8217;re pointing the camera at. [...]</description>
		<content:encoded><![CDATA[<p>[...] Near Realtime Face Detection on the iPhone with OpenCV Port &#8212; we&#8217;re probably only one or two revisions of iPhone hardware away from being able to do some serious computer vision tasks on the handset. Proof of concept adds a tie to the face you&#8217;re pointing the camera at. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
