1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #1650 from jet47:fix-gpu-bgsegm-sample

This commit is contained in:
Roman Donchenko
2013-10-21 16:18:02 +04:00
committed by OpenCV Buildbot
+1
View File
@@ -146,6 +146,7 @@ int main(int argc, const char** argv)
double fps = cv::getTickFrequency() / (cv::getTickCount() - start);
std::cout << "FPS : " << fps << std::endl;
d_fgimg.create(d_frame.size(), d_frame.type());
d_fgimg.setTo(Scalar::all(0));
d_frame.copyTo(d_fgimg, d_fgmask);