mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
perf: remove tvl1 check for magic numbers, reduce number of samples
This commit is contained in:
parent
a01a4c4b3b
commit
45bf60d18c
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user