<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?action=history&amp;feed=atom&amp;title=FelzenszwalbDetectionCode</id>
	<title>FelzenszwalbDetectionCode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?action=history&amp;feed=atom&amp;title=FelzenszwalbDetectionCode"/>
	<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=FelzenszwalbDetectionCode&amp;action=history"/>
	<updated>2026-07-04T22:35:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=FelzenszwalbDetectionCode&amp;diff=4252&amp;oldid=prev</id>
		<title>Mtaiana: Created page with &quot;===Discriminatively Trained Deformable Part Models=== Felzenszwalb, Girshick, McAllester and Ramanan released their code for part-based object detection, for which the won the VO...&quot;</title>
		<link rel="alternate" type="text/html" href="http://mediawiki.isr.tecnico.ulisboa.pt/index.php?title=FelzenszwalbDetectionCode&amp;diff=4252&amp;oldid=prev"/>
		<updated>2011-11-02T15:32:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Discriminatively Trained Deformable Part Models=== Felzenszwalb, Girshick, McAllester and Ramanan released their code for part-based object detection, for which the won the VO...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Discriminatively Trained Deformable Part Models===&lt;br /&gt;
Felzenszwalb, Girshick, McAllester and Ramanan released their code for part-based object detection, for which the won the VOC &amp;quot;Lifetime Achievement&amp;quot; Prize.&amp;lt;br&amp;gt;&lt;br /&gt;
You can download version 4 of the code [http://www.cs.brown.edu/~pff/latent/ here].&amp;lt;br&amp;gt;&lt;br /&gt;
You can download the code plus some data for learning a star cascade (faster than the normal model?) [http://people.cs.uchicago.edu/~rbg/star-cascade/ here].&lt;br /&gt;
&lt;br /&gt;
==Installing==&lt;br /&gt;
I tried to run the main software on Ubuntu 11.04/Matlab 2010a/gcc 5.4.2, but I got the following warning and error (plus others):&lt;br /&gt;
  You are using gcc version &amp;quot;4.5.2-8ubuntu4)&amp;quot;.  The version currently supported with MEX is &amp;quot;4.2.3&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
  /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/cc1plus: /opt/MatlabR2010a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14&amp;#039; not found (required by /usr/lib/libppl_c.so.2)&lt;br /&gt;
&lt;br /&gt;
For fixing this I needed to change some of the libraries Matlab links to when building mex files:&lt;br /&gt;
* make a backup copy of the directory $MATLAB/sys/os/glnxa64&lt;br /&gt;
  cd /opt/MatlabR2010a/sys/os/&lt;br /&gt;
  sudo cp -r glnxa64 ~&lt;br /&gt;
* remove two files from that directory&lt;br /&gt;
  cd glnxa64&lt;br /&gt;
  sudo rm libstdc++.so.6 &lt;br /&gt;
  sudo rm libstdc++.so.6.0.9&lt;br /&gt;
* substitute the two files with links to the version currently in use on the system&lt;br /&gt;
  sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6* .&lt;br /&gt;
&lt;br /&gt;
==Running==&lt;br /&gt;
You can test the detector by running the &amp;#039;&amp;#039;&amp;#039;demo.m&amp;#039;&amp;#039;&amp;#039; file, or you can test the pedestrian detector on any image like this:&lt;br /&gt;
&lt;br /&gt;
  close all, clear;&lt;br /&gt;
  &lt;br /&gt;
  load(&amp;#039;INRIA/inriaperson_final&amp;#039;);            %load the model&lt;br /&gt;
  im=imread(&amp;#039;000061.jpg&amp;#039;);                    %load the image&lt;br /&gt;
  &lt;br /&gt;
  [dets, boxes] = imgdetect(im, model, -0.3); %perform the detection&lt;br /&gt;
  &lt;br /&gt;
  %post process output: only show bounding boxes (no parts) and apply non-maximum suppression&lt;br /&gt;
  bbox = bboxpred_get(model.bboxpred, dets, reduceboxes(model, boxes));&lt;br /&gt;
  bbox = clipboxes(im, bbox);&lt;br /&gt;
  top = nms(bbox, 0.5);&lt;br /&gt;
  showboxes(im, bbox(top,:));&lt;/div&gt;</summary>
		<author><name>Mtaiana</name></author>
	</entry>
</feed>