From b9a99311d2af19a28e2f88ccc5cefbf1e1a67670 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 15 Mar 2024 10:29:23 +0300 Subject: [PATCH] remove false from findDataFile --- modules/aruco/test/test_aruco_tutorial.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/aruco/test/test_aruco_tutorial.cpp b/modules/aruco/test/test_aruco_tutorial.cpp index 831a0099698..e59dd02a1d2 100644 --- a/modules/aruco/test/test_aruco_tutorial.cpp +++ b/modules/aruco/test/test_aruco_tutorial.cpp @@ -10,7 +10,7 @@ namespace opencv_test { namespace { TEST(CV_ArucoTutorial, can_find_singlemarkersoriginal) { - string img_path = cvtest::findDataFile("aruco/singlemarkersoriginal.jpg", false); + string img_path = cvtest::findDataFile("aruco/singlemarkersoriginal.jpg"); Mat image = imread(img_path); aruco::ArucoDetector detector(aruco::getPredefinedDictionary(aruco::DICT_6X6_250)); @@ -44,9 +44,9 @@ TEST(CV_ArucoTutorial, can_find_singlemarkersoriginal) TEST(CV_ArucoTutorial, can_find_gboriginal) { - string imgPath = cvtest::findDataFile("aruco/gboriginal.jpg", false); + string imgPath = cvtest::findDataFile("aruco/gboriginal.jpg"); Mat image = imread(imgPath); - string dictPath = cvtest::findDataFile("aruco/tutorial_dict.yml", false); + string dictPath = cvtest::findDataFile("aruco/tutorial_dict.yml"); aruco::Dictionary dictionary; FileStorage fs(dictPath, FileStorage::READ); @@ -99,7 +99,7 @@ TEST(CV_ArucoTutorial, can_find_gboriginal) TEST(CV_ArucoTutorial, can_find_choriginal) { - string imgPath = cvtest::findDataFile("aruco/choriginal.jpg", false); + string imgPath = cvtest::findDataFile("aruco/choriginal.jpg"); Mat image = imread(imgPath); aruco::ArucoDetector detector(aruco::getPredefinedDictionary(aruco::DICT_6X6_250)); @@ -138,7 +138,7 @@ TEST(CV_ArucoTutorial, can_find_choriginal) TEST(CV_ArucoTutorial, can_find_chocclusion) { - string imgPath = cvtest::findDataFile("aruco/chocclusion_original.jpg", false); + string imgPath = cvtest::findDataFile("aruco/chocclusion_original.jpg"); Mat image = imread(imgPath); aruco::ArucoDetector detector(aruco::getPredefinedDictionary(aruco::DICT_6X6_250)); @@ -176,15 +176,15 @@ TEST(CV_ArucoTutorial, can_find_chocclusion) TEST(CV_ArucoTutorial, can_find_diamondmarkers) { - string imgPath = cvtest::findDataFile("aruco/diamondmarkers.jpg", false); + string imgPath = cvtest::findDataFile("aruco/diamondmarkers.jpg"); Mat image = imread(imgPath); - string dictPath = cvtest::findDataFile("aruco/tutorial_dict.yml", false); + string dictPath = cvtest::findDataFile("aruco/tutorial_dict.yml"); aruco::Dictionary dictionary; FileStorage fs(dictPath, FileStorage::READ); dictionary.aruco::Dictionary::readDictionary(fs.root()); // set marker from tutorial_dict.yml - string detectorPath = cvtest::findDataFile("aruco/detector_params.yml", false); + string detectorPath = cvtest::findDataFile("aruco/detector_params.yml"); fs = FileStorage(detectorPath, FileStorage::READ); aruco::DetectorParameters detectorParams; detectorParams.readDetectorParameters(fs.root());