<?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: FAQ: OpenCV Haartraining</title>
	<atom:link href="http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/</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: Guest</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1547</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Thu, 26 May 2011 08:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1547</guid>
		<description>Does anybody know why I get an error while running haartraining.exe?

Error: Invalid background description file</description>
		<content:encoded><![CDATA[<p>Does anybody know why I get an error while running haartraining.exe?</p>
<p>Error: Invalid background description file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nastia</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1541</link>
		<dc:creator>Nastia</dc:creator>
		<pubDate>Wed, 25 May 2011 14:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1541</guid>
		<description>Hello, I&#039;d like to get your advice and maybe you can help me to understand what mistake I make. I stuck with Haartraining function. I have generated delnas.vec file. My decription file looks like: 

C:\Nuotraukos\Delnas\Neigiamos\nuotr265.jpg 1 170 100 200 200
C:\Nuotraukos\Delnas\Neigiamos\nuotr266.jpg 1 150 80 250 280

The main my work directory is C:\Nuotraukos. I moved there all neccessary files: opencv_haartraining.exe, delnas.vec, duomenys.txt...
After I run the command: 
C:\Nuotraukos&gt;C:\OpenCV2.2\bin\opencv_haartraining.exe -data C:\Nuotraukos -vec
delnas.vec -bg duomenys.txt -npos 519 nneg 1081 -nstages 20 -mem 1500 -mode ALL
-w 20 -h 20

 (for haartraining.exe file I had to specify the whole dirtectory to Opencv2.2: C:\OpenCV2.2\bin\opencv_haartraining.exe, otherwise I get an error that msvcp100.dll is missing despite the fact that I moved opencv_haartraining.exe to C:\Nuotraukos). So after I get an error: 

Height: 20
Applied boosting algorithm: GAB
Error (valid only for Discrete and Real AdaBoost): misclass
Max number of splits in tree cascade: 0
Min number of positive samples per cluster: 500
Required leaf false alarm rate: 9.53674e-007

Tree Classifier
Stage
+---+
&#124;  0&#124;
+---+


Number of features used : 67074

Parent node: NULL

*** 1 cluster ***
POS: 519 519 1.000000
Invalid background description file.

Do you know what it depends on? Please reply back to me asap directly to my e-mail: anastasija.kac@gmail.com</description>
		<content:encoded><![CDATA[<p>Hello, I&#8217;d like to get your advice and maybe you can help me to understand what mistake I make. I stuck with Haartraining function. I have generated delnas.vec file. My decription file looks like: </p>
<p>C:\Nuotraukos\Delnas\Neigiamos\nuotr265.jpg 1 170 100 200 200<br />
C:\Nuotraukos\Delnas\Neigiamos\nuotr266.jpg 1 150 80 250 280</p>
<p>The main my work directory is C:\Nuotraukos. I moved there all neccessary files: opencv_haartraining.exe, delnas.vec, duomenys.txt&#8230;<br />
After I run the command:<br />
C:\Nuotraukos&gt;C:\OpenCV2.2\bin\opencv_haartraining.exe -data C:\Nuotraukos -vec<br />
delnas.vec -bg duomenys.txt -npos 519 nneg 1081 -nstages 20 -mem 1500 -mode ALL<br />
-w 20 -h 20</p>
<p> (for haartraining.exe file I had to specify the whole dirtectory to Opencv2.2: C:\OpenCV2.2\bin\opencv_haartraining.exe, otherwise I get an error that msvcp100.dll is missing despite the fact that I moved opencv_haartraining.exe to C:\Nuotraukos). So after I get an error: </p>
<p>Height: 20<br />
Applied boosting algorithm: GAB<br />
Error (valid only for Discrete and Real AdaBoost): misclass<br />
Max number of splits in tree cascade: 0<br />
Min number of positive samples per cluster: 500<br />
Required leaf false alarm rate: 9.53674e-007</p>
<p>Tree Classifier<br />
Stage<br />
+&#8212;+<br />
|  0|<br />
+&#8212;+</p>
<p>Number of features used : 67074</p>
<p>Parent node: NULL</p>
<p>*** 1 cluster ***<br />
POS: 519 519 1.000000<br />
Invalid background description file.</p>
<p>Do you know what it depends on? Please reply back to me asap directly to my e-mail: <a href="mailto:anastasija.kac@gmail.com">anastasija.kac@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bui Quang Hien</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1539</link>
		<dc:creator>Bui Quang Hien</dc:creator>
		<pubDate>Wed, 25 May 2011 12:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1539</guid>
		<description>Hi,
I want to detect character of license plate using adaboost + haarlike features. createsamples -info pos.txt -vec pos.vec -w 20 -h 20. I want to detect object with small size. I write file pos.txt: pos\1.jpg 1 0 0 20 20. Should I crop all image of object into square (410x410,900x900)?  After that, I resize all them into 20x20 and convert into gray image.
Please give me some advice!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to detect character of license plate using adaboost + haarlike features. createsamples -info pos.txt -vec pos.vec -w 20 -h 20. I want to detect object with small size. I write file pos.txt: pos\1.jpg 1 0 0 20 20. Should I crop all image of object into square (410&#215;410,900&#215;900)?  After that, I resize all them into 20&#215;20 and convert into gray image.<br />
Please give me some advice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1510</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Thu, 19 May 2011 18:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1510</guid>
		<description>OK now I set -nneg 1 and it works, but when i put -nneg 10 i still doesn&#039;t work...Now I have about 500 negative images in negs.txt...
What is the problem....Why can&#039;t I set -nneg at some normal value</description>
		<content:encoded><![CDATA[<p>OK now I set -nneg 1 and it works, but when i put -nneg 10 i still doesn&#8217;t work&#8230;Now I have about 500 negative images in negs.txt&#8230;<br />
What is the problem&#8230;.Why can&#8217;t I set -nneg at some normal value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1506</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Wed, 18 May 2011 14:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1506</guid>
		<description>Hi,
I have a problem running opencv_haatraining...I have 873 positive images and about 200 negative images....All negative images are big usually 1280*1024...(-nneg is about 1500)
When I run opencv_haartraining after a while it just stops...It works normal for few hours and then it stops at this line

Parent node: X

*** 1 cluster ***
POS: 864 875 0.994942

There is to percentage shown as it usually is, and line NEG: is not showing...
I saw at some previous posts that you suggested to try different or bigger negatives...I tried that all but it still doesn&#039;t work...
Can anyone please answer this question it is really important...
Thank you...</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have a problem running opencv_haatraining&#8230;I have 873 positive images and about 200 negative images&#8230;.All negative images are big usually 1280*1024&#8230;(-nneg is about 1500)<br />
When I run opencv_haartraining after a while it just stops&#8230;It works normal for few hours and then it stops at this line</p>
<p>Parent node: X</p>
<p>*** 1 cluster ***<br />
POS: 864 875 0.994942</p>
<p>There is to percentage shown as it usually is, and line NEG: is not showing&#8230;<br />
I saw at some previous posts that you suggested to try different or bigger negatives&#8230;I tried that all but it still doesn&#8217;t work&#8230;<br />
Can anyone please answer this question it is really important&#8230;<br />
Thank you&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michaela</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1448</link>
		<dc:creator>michaela</dc:creator>
		<pubDate>Sun, 08 May 2011 02:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1448</guid>
		<description>I am making a Hardware implementation of Viola jones and it&#039;s very important to know the exact way to use the threshold value.

I read that the variance normalization is suggested by Viola and Jones as a mean of reducing that effect of different lighting conditions.
So, for to realize an implementation of Viola and Jones, the threshold value given in the .xml is multiplied for the standard desviation, according to the code performance.cpp. 
So i perceive is — Calculate variance – calculate Standard deviation from it – and multiply it with the Threshold and then compare it with the normal feature value:

if(feature value &lt; threshold*Standard desviation) then
left value given in the .xml
else
right value given in the .xml

I&#039;m not sure….Someone can explain it better? and Why the threshold is multiplied for the standard desviation??</description>
		<content:encoded><![CDATA[<p>I am making a Hardware implementation of Viola jones and it&#8217;s very important to know the exact way to use the threshold value.</p>
<p>I read that the variance normalization is suggested by Viola and Jones as a mean of reducing that effect of different lighting conditions.<br />
So, for to realize an implementation of Viola and Jones, the threshold value given in the .xml is multiplied for the standard desviation, according to the code performance.cpp.<br />
So i perceive is — Calculate variance – calculate Standard deviation from it – and multiply it with the Threshold and then compare it with the normal feature value:</p>
<p>if(feature value &lt; threshold*Standard desviation) then<br />
left value given in the .xml<br />
else<br />
right value given in the .xml</p>
<p>I&#039;m not sure….Someone can explain it better? and Why the threshold is multiplied for the standard desviation??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thuy Dinh</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1387</link>
		<dc:creator>Thuy Dinh</dc:creator>
		<pubDate>Mon, 25 Apr 2011 18:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1387</guid>
		<description>Hello!
I don&#039;t know how normalized image and create the positive description file?
Please,  help me to solve this problem? I am really very grateful

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello!<br />
I don&#8217;t know how normalized image and create the positive description file?<br />
Please,  help me to solve this problem? I am really very grateful</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olu</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1341</link>
		<dc:creator>Olu</dc:creator>
		<pubDate>Wed, 13 Apr 2011 19:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1341</guid>
		<description>What is the format of you negative images?</description>
		<content:encoded><![CDATA[<p>What is the format of you negative images?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Gavrik</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1339</link>
		<dc:creator>Alexander Gavrik</dc:creator>
		<pubDate>Wed, 13 Apr 2011 02:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1339</guid>
		<description>Hi Jack, as mentioned in article above in section &quot;Is it possible to detect rotated faces?&quot;, you can detect face at 90 degree (as a separate cascade). However you can&#039;t detect face in all orientations with single cascade using this method.</description>
		<content:encoded><![CDATA[<p>Hi Jack, as mentioned in article above in section &#8220;Is it possible to detect rotated faces?&#8221;, you can detect face at 90 degree (as a separate cascade). However you can&#8217;t detect face in all orientations with single cascade using this method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olu</title>
		<link>http://www.computer-vision-software.com/blog/2009/11/faq-opencv-haartraining/comment-page-1/#comment-1336</link>
		<dc:creator>Olu</dc:creator>
		<pubDate>Mon, 11 Apr 2011 12:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.computer-vision-software.com/blog/?p=106#comment-1336</guid>
		<description>Hello,

I recently said this video of the work of Zdenek Kalal (http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html ).  He created TLD which is able to learn and track an object at the same time.  For object tracking in OpenCV, is there a way of putting a boundary rectangle around the object of interest and automatically track and generate the description file?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I recently said this video of the work of Zdenek Kalal (<a href="http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html" rel="nofollow">http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html</a> ).  He created TLD which is able to learn and track an object at the same time.  For object tracking in OpenCV, is there a way of putting a boundary rectangle around the object of interest and automatically track and generate the description file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

