14 #include <visp/vpImageIo.h> 15 #include <visp/vpVideoReader.h> 16 #include <visp/vpMbEdgeKltTracker.h> 17 #include <visp/vpMbKltTracker.h> 18 #include <visp/vpMbEdgeTracker.h> 19 #include <visp/vpDisplayX.h> 21 int main(
int argc,
char**argv)
35 std::cout <<
"loaded camera parameters:" << cam << std::endl;
39 std::cout <<
"Loading: " << filenames << std::endl;
40 reader.setFileName( filenames.c_str() );
42 reader.setFirstFrameIndex(2);
46 vpDisplayX*
d =
new vpDisplayX();
56 tracker =
new vpMbKltTracker();
58 tracker =
new vpMbEdgeKltTracker();
60 tracker =
new vpMbEdgeTracker();
68 for(
int iter=0;(iter<reader.getLastFrameIndex()-1); iter++){
int main(int argc, char **argv)
std::string get_input_file_pattern() const
msm::back::state_machine< Tracker_ > Tracker
vpCameraParameters get_cam_calib_params() const
std::string get_data_dir() const
TRACKER_TYPE get_tracker_type() const
DETECTOR_TYPE get_detector_type() const