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

pull/7806/head
Alexander Alekhin 9 years ago
parent a05444618c
commit 10d1b33a80
  1. 4
      modules/video/perf/perf_tvl1optflow.cpp

@ -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.5);
SANITY_CHECK_NOTHING();
}

Loading…
Cancel
Save