Nick's Machine Perception Toolbox

0.4

Introduction

NMPT_Logo_smallest.png

The NMPT package consists of an API and a set of libraries for Machine Perception that were developed by Nicholas Butko. It can be obtained via the Download NMPT section. Directions for compiling the software (including platform-specific directions for installing OpenCV 2.1+) are in the Installation section. The central philosophy of this package is three-fold:

The code is meant to stand alone under any standard C++ compiler, with the exception that it requires the OpenCV 2.1+ libraries. The only platform-specific (or user specific) portion of the compilation should be correctly locating the OpenCV libraries on your system. A few standard configurations are supported, but porting the code to a new system is as simple as modifying the Makefile to reflect the location of the OpenCV header files (includes) and libraries.

The core of the library is an API for Machine Perception Primitives. There is also a separate API for the Auxilliary Tools used internally, which may also be useful to others.

The following Machine Perception Primitives are currently implemented in this library / API:

The Example Programs are meant to be both illustrative of code usage, and valuable stand-alone tools for research for those who don't wish to code their own programs using the API. The following examples are included:

Examples of FastSalience:

         >>bin/SimpleSalienceExample

         >>bin/FastSUN [optional-path-to-movie-file]

         >>bin/FastSUN [optional-path-to-movie-file]

         >>bin/FastSUNImage [optional-path-to-image-file]

Examples of MIPOMDP:

         >> bin/SimpleFaceTracker

         >> bin/FoveatedFaceTracker [optional-path-to-movie-file]

         >> bin/FoveatedFaceTrackerImage [required-path-to-image-file]

        (1) Uncompress and Expand the included GENKI R2009a dataset. Make sure the GENKI-R2009a folder is in the data directory:
         >> tar -xzvf data/GENKI-R2009a.tgz -C data/

        (2) Run the program.
         >> bin/CVPRTestSpeed

        (1) Uncompress and Expand the included GENKI R2009a dataset. Make sure the GENKI-R2009a folder is in the data directory:
         >> tar -xzvf data/GENKI-R2009a.tgz -C data/

        (2) Run the program.
         >> bin/CVPRTrainModels

        (1) Uncompress and Expand the included GENKI R2009a dataset. Make sure the GENKI-R2009a folder is in the data directory:
         >> tar -xzvf data/GENKI-R2009a.tgz -C data/

        (2) Run the program.
         >> bin/TrainNarrowFOVModel

Acknowledgements

This work was supported by the National Science Foundation (NSF) Grant # NSF ECS-0622229