Mercurial Hosting > traffic-intelligence
comparison c/feature-based-tracking.cpp @ 178:d7df8ecf5ccd
next steps
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 31 Oct 2011 00:35:34 -0400 |
parents | ae2286b1a3fd |
children | 4f10e97cb677 |
comparison
equal
deleted
inserted
replaced
177:ae2286b1a3fd | 178:d7df8ecf5ccd |
---|---|
279 BOOST_FOREACH(int trajectoryId, trajectoryIds) { | 279 BOOST_FOREACH(int trajectoryId, trajectoryIds) { |
280 //cout << trajectoryId << " " << endl; | 280 //cout << trajectoryId << " " << endl; |
281 // boost::shared_ptr<Trajectory<cv::Point2f> > trajectory; | 281 // boost::shared_ptr<Trajectory<cv::Point2f> > trajectory; |
282 // success = trajectoryDB->read(trajectory, trajectoryId, "positions"); // velocities | 282 // success = trajectoryDB->read(trajectory, trajectoryId, "positions"); // velocities |
283 FeatureTrajectoryPtr ft = FeatureTrajectoryPtr(new FeatureTrajectory(trajectoryId, *trajectoryDB, "positions", "velocities")); | 283 FeatureTrajectoryPtr ft = FeatureTrajectoryPtr(new FeatureTrajectory(trajectoryId, *trajectoryDB, "positions", "velocities")); |
284 stringstream ss;ss << *ft; cout << ss.str() << endl; | 284 //stringstream ss;ss << *ft; cout << ss.str() << endl; |
285 } | 285 } |
286 | 286 |
287 // should the trajectory be loaded one by one? yes | 287 // should the trajectory be loaded one by one? yes |
288 | 288 |
289 } | 289 } |