A temporally-smoothed contour class for OpenCV