Skip to content

Commit 10d1b33

Browse files
committed
perf: remove tvl1 check for magic numbers, reduce number of samples
1 parent a054446 commit 10d1b33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/video/perf/perf_tvl1optflow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PERF_TEST_P(ImagePair, OpticalFlowDual_TVL1, testing::Values(impair("cv/optflow/
2424

2525
Ptr<DenseOpticalFlow> tvl1 = createOptFlow_DualTVL1();
2626

27-
TEST_CYCLE_N(10) tvl1->calc(frame1, frame2, flow);
27+
TEST_CYCLE() tvl1->calc(frame1, frame2, flow);
2828

29-
SANITY_CHECK(flow, 0.5);
29+
SANITY_CHECK_NOTHING();
3030
}

0 commit comments

Comments
 (0)