Skip to content

apennisi/fastestpedestriandetectorinthewest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Fastest Pedestrian Detector in the West (FPDW)

This is my version of the Fastest Pedestrian Detector in the West based on the paper:

  • P. Dollár, S. Belongie and P. Perona "The Fastest Pedestrian Detector in the West", BMVC 2010.

This version implements only the detection part. For the training part you have to use the P. Dollàr toolbox (link).

##Requirements

  • OpenCV
  • OpenMP
  • SSE
  • Boost

How to build

FPDW works under Linux and Mac Os environments. I recommend a so-called out of source build which can be achieved by the following command sequence:

  • mkdir build
  • cd build
  • cmake ../
  • make -j<number-of-cores+1>

##How to use

###MATLAB - Training Put the file savetoxml inside the folder toolbox/detector. In the file acfDemoInria, after the line:

detector = acfTrainIntegral( opts );

add this code:

filename = 'models/inria_detector.xml';
isTrained = exist(filename,'file');
if( ~isTrained )
    savetoxml(detector, 'models/inria_detector.xml');
end

###C++ - Detection Go to the bin diretory and launch the program with the following command:

./fpdw ../detector/inria_detector.xml /path/to/the/image.jpg

The detector is already trained with the complete INRIA dataset. So, you can directly use the xml file inside the detector folder.

About

This is my version of the Fastest Pedestrian Detector in the West

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published