Commit 05d49756 authored by Maksim Shabunin's avatar Maksim Shabunin

objdetect: fix QRCode tests with disabled QUIRC

parent 8f49b820
...@@ -284,7 +284,7 @@ TEST_P(Objdetect_QRCode_Close, regression) ...@@ -284,7 +284,7 @@ TEST_P(Objdetect_QRCode_Close, regression)
ASSERT_FALSE(corners.empty()); ASSERT_FALSE(corners.empty());
ASSERT_FALSE(decoded_info.empty()); ASSERT_FALSE(decoded_info.empty());
#else #else
ASSERT_TRUE(qrcode.detect(src, corners)); ASSERT_TRUE(qrcode.detect(barcode, corners));
#endif #endif
const std::string dataset_config = findDataFile(root + "dataset_config.json"); const std::string dataset_config = findDataFile(root + "dataset_config.json");
...@@ -349,7 +349,7 @@ TEST_P(Objdetect_QRCode_Monitor, regression) ...@@ -349,7 +349,7 @@ TEST_P(Objdetect_QRCode_Monitor, regression)
ASSERT_FALSE(corners.empty()); ASSERT_FALSE(corners.empty());
ASSERT_FALSE(decoded_info.empty()); ASSERT_FALSE(decoded_info.empty());
#else #else
ASSERT_TRUE(qrcode.detect(src, corners)); ASSERT_TRUE(qrcode.detect(barcode, corners));
#endif #endif
const std::string dataset_config = findDataFile(root + "dataset_config.json"); const std::string dataset_config = findDataFile(root + "dataset_config.json");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment