Mercurial > hg > nsaunier > traffic-intelligence
diff include/Motion.hpp @ 481:b6ad86ee7033
implemented smoothing (requires latest trajectory management library version)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 02 Apr 2014 01:45:53 -0400 |
| parents | c389fae9689a |
| children | 045d05cef9d0 |
line wrap: on
line diff
--- a/include/Motion.hpp Tue Apr 01 17:42:40 2014 -0400 +++ b/include/Motion.hpp Wed Apr 02 01:45:53 2014 -0400 @@ -49,6 +49,8 @@ void shorten(void); + void movingAverage(const unsigned int& nFramesSmoothing); + void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const std::string& positionsTableName, const std::string& velocitiesTableName) const; #ifdef USE_OPENCV
