Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef HEADLESS_TRACKER_H
00017 #define HEADLESS_TRACKER_H
00018
00019 #include "pf_skeleton_tracker.h"
00020 #include "auxil.h"
00021 #include "options.h"
00022 #include <boost/progress.hpp>
00023
00027 template <class tracker_type>
00028 class HeadlessTracker
00029 {
00030 public:
00031 HeadlessTracker (const options &opts)
00032 {
00033 calibration calib (opts);
00034 tracker_type track (opts, calib);
00035
00036 boost::progress_timer benchmark;
00037
00038
00039 while (track.refresh ())
00040 track.save_states ();
00041 }
00042 };
00043
00044 #endif // HEADLESS_TRACKER_H