Mercurial Hosting > traffic-intelligence
diff c/feature-based-tracking.cpp @ 533:e37f38274d4f
fixed compiling issue with size()
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Sun, 29 Jun 2014 14:27:18 -0400 |
parents | 018653d1db3c |
children | d0419b1267dd |
line wrap: on
line diff
--- a/c/feature-based-tracking.cpp Sun Jun 29 14:18:17 2014 -0400 +++ b/c/feature-based-tracking.cpp Sun Jun 29 14:27:18 2014 -0400 @@ -160,7 +160,7 @@ for (unsigned int frameNum = params.frame1; (frameNum < lastFrameNum) && !::interruptionKey(key); frameNum++) { bool success = capture->getNextFrame(frame); if (!success || frame.empty() || frame.size() != videoSize) { - cout << "Empty frame " << frameNum << ", breaking (" << success << " " << frame.empty() << " " << frame.size() << ")" << endl; + cout << "Empty frame " << frameNum << ", breaking (" << success << " " << frame.empty() << " [" << frame.size().width << "x" << frame.size().height << "])" << endl; break; } else if (frameNum%50 ==0) cout << "frame " << frameNum << endl;