Commit 45bf60d1 authored by Alexander Alekhin's avatar Alexander Alekhin

perf: remove tvl1 check for magic numbers, reduce number of samples

parent a01a4c4b
......@@ -24,7 +24,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1, testing::Values(impair("cv/optflow/
Ptr<DenseOpticalFlow> tvl1 = createOptFlow_DualTVL1();
TEST_CYCLE_N(10) tvl1->calc(frame1, frame2, flow);
TEST_CYCLE() tvl1->calc(frame1, frame2, flow);
SANITY_CHECK(flow, 0.8);
SANITY_CHECK_NOTHING();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment