Skip to content

Commit e3ea0a3

Browse files
author
AleksandrPanov
committed
add test cycle_n
1 parent 73dd278 commit e3ea0a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/aruco/perf/perf_aruco.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ PERF_TEST_P(EstimateAruco, ArucoFirst, ESTIMATE_PARAMS)
193193
// detect markers
194194
vector<vector<Point2f> > corners;
195195
vector<int> ids;
196-
TEST_CYCLE()
196+
TEST_CYCLE_N(10)
197197
{
198198
aruco::detectMarkers(image_map.first, dictionary, corners, ids, detectorParams);
199199
}
@@ -225,7 +225,7 @@ PERF_TEST_P(EstimateAruco, ArucoSecond, ESTIMATE_PARAMS)
225225
// detect markers
226226
vector<vector<Point2f> > corners;
227227
vector<int> ids;
228-
TEST_CYCLE()
228+
TEST_CYCLE_N(10)
229229
{
230230
aruco::detectMarkers(image_map.first, dictionary, corners, ids, detectorParams);
231231
}
@@ -279,7 +279,7 @@ PERF_TEST_P(EstimateLargeAruco, ArucoFHD, ESTIMATE_FHD_PARAMS)
279279
// detect markers
280280
vector<vector<Point2f> > corners;
281281
vector<int> ids;
282-
TEST_CYCLE()
282+
TEST_CYCLE_N(10)
283283
{
284284
aruco::detectMarkers(image_map.first, dictionary, corners, ids, detectorParams);
285285
}

0 commit comments

Comments
 (0)