mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
objdetect: fix QRCode tests with disabled QUIRC
This commit is contained in:
parent
8f49b820db
commit
05d4975619
@ -284,7 +284,7 @@ TEST_P(Objdetect_QRCode_Close, regression)
|
||||
ASSERT_FALSE(corners.empty());
|
||||
ASSERT_FALSE(decoded_info.empty());
|
||||
#else
|
||||
ASSERT_TRUE(qrcode.detect(src, corners));
|
||||
ASSERT_TRUE(qrcode.detect(barcode, corners));
|
||||
#endif
|
||||
|
||||
const std::string dataset_config = findDataFile(root + "dataset_config.json");
|
||||
@ -349,7 +349,7 @@ TEST_P(Objdetect_QRCode_Monitor, regression)
|
||||
ASSERT_FALSE(corners.empty());
|
||||
ASSERT_FALSE(decoded_info.empty());
|
||||
#else
|
||||
ASSERT_TRUE(qrcode.detect(src, corners));
|
||||
ASSERT_TRUE(qrcode.detect(barcode, corners));
|
||||
#endif
|
||||
|
||||
const std::string dataset_config = findDataFile(root + "dataset_config.json");
|
||||
|
Loading…
Reference in New Issue
Block a user