Removed whitespace.
This commit is contained in:
parent
e528f39def
commit
dd73016c8b
@ -79,7 +79,7 @@ PERF_TEST_P(VideoMOGFixture, Video_MOG,
|
|||||||
const string inputFile = perf::TestBase::getDataPath(get<0>(params));
|
const string inputFile = perf::TestBase::getDataPath(get<0>(params));
|
||||||
const int cn = get<1>(params);
|
const int cn = get<1>(params);
|
||||||
const float learningRate = static_cast<float>(get<2>(params));
|
const float learningRate = static_cast<float>(get<2>(params));
|
||||||
|
|
||||||
cv::VideoCapture cap(inputFile);
|
cv::VideoCapture cap(inputFile);
|
||||||
ASSERT_TRUE(cap.isOpened());
|
ASSERT_TRUE(cap.isOpened());
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ PERF_TEST_P(Video_MOG2GetBackgroundImage, Video_MOG2,
|
|||||||
mog2(frame, foreground);
|
mog2(frame, foreground);
|
||||||
}
|
}
|
||||||
cv::Mat background;
|
cv::Mat background;
|
||||||
TEST_CYCLE()
|
TEST_CYCLE()
|
||||||
mog2.getBackgroundImage(background);
|
mog2.getBackgroundImage(background);
|
||||||
|
|
||||||
SANITY_CHECK(background);
|
SANITY_CHECK(background);
|
||||||
@ -333,5 +333,4 @@ PERF_TEST_P(Video_MOG2GetBackgroundImage, Video_MOG2,
|
|||||||
}else
|
}else
|
||||||
OCL_PERF_ELSE
|
OCL_PERF_ELSE
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user