Fix some typos in modules/.

This commit is contained in:
Yulv-git
2022-04-30 13:40:07 +08:00
parent 039f3d01a0
commit 15ac54d5d6
14 changed files with 17 additions and 17 deletions

View File

@@ -261,7 +261,7 @@ public:
if (cvtest::debugLevel > 0)
std::cout << "i = " << i << ": timestamp = " << timestamp << std::endl;
const double frame_period = 1000.f/bunny_param.getFps();
// NOTE: eps == frame_period, because videoCapture returns frame begining timestamp or frame end
// NOTE: eps == frame_period, because videoCapture returns frame beginning timestamp or frame end
// timestamp depending on codec and back-end. So the first frame has timestamp 0 or frame_period.
EXPECT_NEAR(timestamp, i*frame_period, frame_period) << "i=" << i;
}