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

pull/1556/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 9bc347c848
  1. 1
      samples/gpu/bgfg_segm.cpp

@ -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);

Loading…
Cancel
Save