<?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: Running OpenCV facedetect sample on Windows CE (Windows Mobile)</title>
	<atom:link href="http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/</link>
	<description>Rhonda Ltd., computer vision software blog</description>
	<lastBuildDate>Sun, 17 Jul 2011 16:11:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: John</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-1677</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 25 Jun 2011 10:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-1677</guid>
		<description>Dear Alex , 

Can you tell me please where i can find &quot;cv200d.lib&quot; , &quot;cxcore200d.lib&quot; , &quot;highgui200d.lib&quot; , &quot;ml200d.lib&quot; modified to be used on mobile with their dlls ?? (I want these files instead of &quot;cv200.lib&quot; , &quot;cxcore200.lib&quot; , &quot;highgui200.lib&quot; , &quot;ml200.lib&quot; that i work with now because I think that the first files will help me in detecting faces on windows mobile )

Waiting for your answer 

Yours ,
John</description>
		<content:encoded><![CDATA[<p>Dear Alex , </p>
<p>Can you tell me please where i can find &#8220;cv200d.lib&#8221; , &#8220;cxcore200d.lib&#8221; , &#8220;highgui200d.lib&#8221; , &#8220;ml200d.lib&#8221; modified to be used on mobile with their dlls ?? (I want these files instead of &#8220;cv200.lib&#8221; , &#8220;cxcore200.lib&#8221; , &#8220;highgui200.lib&#8221; , &#8220;ml200.lib&#8221; that i work with now because I think that the first files will help me in detecting faces on windows mobile )</p>
<p>Waiting for your answer </p>
<p>Yours ,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-1485</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 14 May 2011 22:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-1485</guid>
		<description>The program begins working and at some point it crashes by showing me the message if i want to send the error to microsoft or not .
By putting breakpoints , i discovered that it crashes when loading the haarclassifier and i don&#039;t know or how to solve the problem . 

I suspect in two things :
1- May be the mobile application can&#039;t support all the data and the floating points in the haarcascade so it crashes but when i tried to search a haarcascade for mobiles i didn&#039;t find anything
2- I tried putting data manually in the haarcascade variable by writing 
cascade-&gt; count = 3 without loading any haarcascade and it crashes but when making cascade no pointer but a normal object and writing : cascade.count = 3
it accepted and completed debugging but i faced problems after that in the line of CVSeq* faces because it&#039;s a pointer too and i don&#039;t know how to fix it 

I am not sure if it&#039;s a pointer problem or haarcascade problem . 

Waiting for your reply and sry for my weak english .

Yours, John</description>
		<content:encoded><![CDATA[<p>The program begins working and at some point it crashes by showing me the message if i want to send the error to microsoft or not .<br />
By putting breakpoints , i discovered that it crashes when loading the haarclassifier and i don&#8217;t know or how to solve the problem . </p>
<p>I suspect in two things :<br />
1- May be the mobile application can&#8217;t support all the data and the floating points in the haarcascade so it crashes but when i tried to search a haarcascade for mobiles i didn&#8217;t find anything<br />
2- I tried putting data manually in the haarcascade variable by writing<br />
cascade-&gt; count = 3 without loading any haarcascade and it crashes but when making cascade no pointer but a normal object and writing : cascade.count = 3<br />
it accepted and completed debugging but i faced problems after that in the line of CVSeq* faces because it&#8217;s a pointer too and i don&#8217;t know how to fix it </p>
<p>I am not sure if it&#8217;s a pointer problem or haarcascade problem . </p>
<p>Waiting for your reply and sry for my weak english .</p>
<p>Yours, John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Gavrik</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-1473</link>
		<dc:creator>Alexander Gavrik</dc:creator>
		<pubDate>Thu, 12 May 2011 06:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-1473</guid>
		<description>Hi John,

Is there any extended error description available? What exactly &quot;stops&quot; means? Is there any exception?</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Is there any extended error description available? What exactly &#8220;stops&#8221; means? Is there any exception?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-1411</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 02 May 2011 00:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-1411</guid>
		<description>Hello ,

thx for that nice blog 

My problem is : my software stops at “cascade = (CvHaarClassifierCascade*)cvLoad( “haarcascade_frontalface_alt2.xml”, 0, 0, 0 );&quot; although i wrote the right path to the xml existing on the mobile emulator . What can be the problem ? waiting for your answers .

Thx again 

John</description>
		<content:encoded><![CDATA[<p>Hello ,</p>
<p>thx for that nice blog </p>
<p>My problem is : my software stops at “cascade = (CvHaarClassifierCascade*)cvLoad( “haarcascade_frontalface_alt2.xml”, 0, 0, 0 );&#8221; although i wrote the right path to the xml existing on the mobile emulator . What can be the problem ? waiting for your answers .</p>
<p>Thx again </p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LXC</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-902</link>
		<dc:creator>LXC</dc:creator>
		<pubDate>Fri, 03 Sep 2010 15:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-902</guid>
		<description>Thanks for the author&#039;s great work. 
And i wonder if opencv2.0 can be transplanted to VM.
If somebody has done this job, please give me some suggestion, thanks a lot!</description>
		<content:encoded><![CDATA[<p>Thanks for the author&#8217;s great work.<br />
And i wonder if opencv2.0 can be transplanted to VM.<br />
If somebody has done this job, please give me some suggestion, thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zlp</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-684</link>
		<dc:creator>zlp</dc:creator>
		<pubDate>Thu, 29 Apr 2010 08:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-684</guid>
		<description>Hi Sergey Ignatov
Thanks for your blog!
I may compile and run in my wince system.Now I can detect face in my Actual equipment.
I found OPENCV detection is very fast,detection picture(200x200) abort 35ms.</description>
		<content:encoded><![CDATA[<p>Hi Sergey Ignatov<br />
Thanks for your blog!<br />
I may compile and run in my wince system.Now I can detect face in my Actual equipment.<br />
I found OPENCV detection is very fast,detection picture(200&#215;200) abort 35ms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Ignatov</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-678</link>
		<dc:creator>Sergey Ignatov</dc:creator>
		<pubDate>Wed, 28 Apr 2010 04:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-678</guid>
		<description>Hi Zlp, 
Probably it&#039;s incorrect filepath “haarcascade_frontalface_alt2.xml”, because all paths in winmobile are absolute. Probably you shall set path to somethong like &quot;\\My documents\\haarcascade_frontalface_alt2.xml&quot;

Read more about that here. http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/6e535905-6544-4c89-9b18-94d4b440d6c1</description>
		<content:encoded><![CDATA[<p>Hi Zlp,<br />
Probably it&#8217;s incorrect filepath “haarcascade_frontalface_alt2.xml”, because all paths in winmobile are absolute. Probably you shall set path to somethong like &#8220;\\My documents\\haarcascade_frontalface_alt2.xml&#8221;</p>
<p>Read more about that here. <a href="http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/6e535905-6544-4c89-9b18-94d4b440d6c1" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/6e535905-6544-4c89-9b18-94d4b440d6c1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zlp</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-675</link>
		<dc:creator>zlp</dc:creator>
		<pubDate>Tue, 27 Apr 2010 00:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-675</guid>
		<description>Hi Dmitry:
I’ve one questions about openCV and Windows CE.

I can run opencv in my wince system.but I do not run “cascade = (CvHaarClassifierCascade*)cvLoad( “haarcascade_frontalface_alt2.xml”, 0, 0, 0 );”.Can you tell me How do you run “cvLoad” to get “cascade”?</description>
		<content:encoded><![CDATA[<p>Hi Dmitry:<br />
I’ve one questions about openCV and Windows CE.</p>
<p>I can run opencv in my wince system.but I do not run “cascade = (CvHaarClassifierCascade*)cvLoad( “haarcascade_frontalface_alt2.xml”, 0, 0, 0 );”.Can you tell me How do you run “cvLoad” to get “cascade”?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Ignatov</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-517</link>
		<dc:creator>Sergey Ignatov</dc:creator>
		<pubDate>Mon, 11 Jan 2010 02:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-517</guid>
		<description>Hi Park,

All information starting from preprocessor definitions is about project settings in visual studio. This is required because by default all settings are for win32 configuration.

libjpeg was not compiled for wince platform, so only bmp can be loaded via cvLoadImage. Instead standard wince com objects can be used to read jpeg data and pass it into cvCreateImage.

Here is code sample that reads jpeg from file, creates IplImage in rgb565 format and converts it to grayscale.

....

    IImagingFactory *pImgFactory = NULL;
    CHK( CoCreateInstance (CLSID_ImagingFactory, NULL,
                      CLSCTX_INPROC_SERVER,
                      IID_IImagingFactory,
                      (void **)&amp;pImgFactory));

    
    IplImage* rgb565_image = NULL; 
    IplImage* grayImage = NULL; 
    IImage *pImageJpeg = NULL;
    IBitmapImage *pImageBitmap = NULL;

    BitmapData newData;
    ZeroMemory(&amp;newData, sizeof(newData));

    CHK(pImgFactory-&gt;CreateImageFromFile( L&quot;\\My Documents\\barcode.jpg&quot;, &amp;pImageJpeg) );

    ImageInfo* imageInfo = new ImageInfo();
    CHK( pImageJpeg-&gt;GetImageInfo(imageInfo) );

    CHK ( pImgFactory-&gt;CreateBitmapFromImage( pImageJpeg,
                                              0,
                                              0,
                                              PixelFormat16bppRGB565,
                                              InterpolationHintDefault,
                                              &amp;pImageBitmap) );

    // Lock the bitmap&#039;s bits.  
    RECT rect;
    rect.top = 0;
    rect.bottom = imageInfo-&gt;Width;
    rect.left = 0;
    rect.right = imageInfo-&gt;Height;

    CHK (pImageBitmap-&gt;LockBits( &amp;rect, ImageLockModeRead, PixelFormat16bppRGB565, &amp;newData ));

    // Create color image
    rgb565_image = cvCreateImage( cvSize(newData.Width, newData.Height), IPL_DEPTH_8U, 2);
    cvInitImageHeader( rgb565_image, cvSize(newData.Width, newData.Height), IPL_DEPTH_8U, 2, IPL_ORIGIN_BL, 4 );    
    cvSetData( rgb565_image, newData.Scan0, newData.Stride );

	// Create gray image
    grayImage = cvCreateImage(cvGetSize(rgb565_image),IPL_DEPTH_8U, 1 );
    cvCvtColor(rgb565_image, grayImage, CV_BGR5652GRAY);

    pImageBitmap-&gt;UnlockBits( &amp;newData );

....

For a complete description of image manipulation under wince, I suggest the msdn articles about &quot;IImagingFactory&quot;, &quot;IImage&quot; and &quot;IBitmapImage&quot; classes.</description>
		<content:encoded><![CDATA[<p>Hi Park,</p>
<p>All information starting from preprocessor definitions is about project settings in visual studio. This is required because by default all settings are for win32 configuration.</p>
<p>libjpeg was not compiled for wince platform, so only bmp can be loaded via cvLoadImage. Instead standard wince com objects can be used to read jpeg data and pass it into cvCreateImage.</p>
<p>Here is code sample that reads jpeg from file, creates IplImage in rgb565 format and converts it to grayscale.</p>
<p>&#8230;.</p>
<p>    IImagingFactory *pImgFactory = NULL;<br />
    CHK( CoCreateInstance (CLSID_ImagingFactory, NULL,<br />
                      CLSCTX_INPROC_SERVER,<br />
                      IID_IImagingFactory,<br />
                      (void **)&amp;pImgFactory));</p>
<p>    IplImage* rgb565_image = NULL;<br />
    IplImage* grayImage = NULL;<br />
    IImage *pImageJpeg = NULL;<br />
    IBitmapImage *pImageBitmap = NULL;</p>
<p>    BitmapData newData;<br />
    ZeroMemory(&amp;newData, sizeof(newData));</p>
<p>    CHK(pImgFactory-&gt;CreateImageFromFile( L&#8221;\\My Documents\\barcode.jpg&#8221;, &amp;pImageJpeg) );</p>
<p>    ImageInfo* imageInfo = new ImageInfo();<br />
    CHK( pImageJpeg-&gt;GetImageInfo(imageInfo) );</p>
<p>    CHK ( pImgFactory-&gt;CreateBitmapFromImage( pImageJpeg,<br />
                                              0,<br />
                                              0,<br />
                                              PixelFormat16bppRGB565,<br />
                                              InterpolationHintDefault,<br />
                                              &amp;pImageBitmap) );</p>
<p>    // Lock the bitmap&#8217;s bits.<br />
    RECT rect;<br />
    rect.top = 0;<br />
    rect.bottom = imageInfo-&gt;Width;<br />
    rect.left = 0;<br />
    rect.right = imageInfo-&gt;Height;</p>
<p>    CHK (pImageBitmap-&gt;LockBits( &amp;rect, ImageLockModeRead, PixelFormat16bppRGB565, &amp;newData ));</p>
<p>    // Create color image<br />
    rgb565_image = cvCreateImage( cvSize(newData.Width, newData.Height), IPL_DEPTH_8U, 2);<br />
    cvInitImageHeader( rgb565_image, cvSize(newData.Width, newData.Height), IPL_DEPTH_8U, 2, IPL_ORIGIN_BL, 4 );<br />
    cvSetData( rgb565_image, newData.Scan0, newData.Stride );</p>
<p>	// Create gray image<br />
    grayImage = cvCreateImage(cvGetSize(rgb565_image),IPL_DEPTH_8U, 1 );<br />
    cvCvtColor(rgb565_image, grayImage, CV_BGR5652GRAY);</p>
<p>    pImageBitmap-&gt;UnlockBits( &amp;newData );</p>
<p>&#8230;.</p>
<p>For a complete description of image manipulation under wince, I suggest the msdn articles about &#8220;IImagingFactory&#8221;, &#8220;IImage&#8221; and &#8220;IBitmapImage&#8221; classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Park</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/running-opencv-facedetect-sample-on-pocket-pc/comment-page-1/#comment-514</link>
		<dc:creator>Park</dc:creator>
		<pubDate>Wed, 30 Dec 2009 15:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=35#comment-514</guid>
		<description>Hello~
Thanks for your blog!
 Can you tell me more detail about compile ? (i using VS2008, SDK6.0 )
 I&#039;m compliering  your messge, but too much error!
 I only need to load JPEG image into IplImage.
 I don&#039;t understand your post, from this part 

 Changed preprocessor definitions to NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;_WINDOWS;_USRDLL;CV_CE_EXPORTS;$(ARCHFAM);$(_ARCHFAM_);_
  ......

would mind explain that means.  Thank you.</description>
		<content:encoded><![CDATA[<p>Hello~<br />
Thanks for your blog!<br />
 Can you tell me more detail about compile ? (i using VS2008, SDK6.0 )<br />
 I&#8217;m compliering  your messge, but too much error!<br />
 I only need to load JPEG image into IplImage.<br />
 I don&#8217;t understand your post, from this part </p>
<p> Changed preprocessor definitions to NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;_WINDOWS;_USRDLL;CV_CE_EXPORTS;$(ARCHFAM);$(_ARCHFAM_);_<br />
  &#8230;&#8230;</p>
<p>would mind explain that means.  Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

