mirror of
https://github.com/opencv/opencv.git
synced 2026-11-17 14:58:10 -06:00
features: use logger in DISK LightGlue test
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#ifdef HAVE_OPENCV_DNN
|
||||
|
||||
#include "opencv2/dnn.hpp"
|
||||
#include "opencv2/core/utils/logger.hpp"
|
||||
|
||||
namespace opencv_test { namespace {
|
||||
|
||||
@@ -122,8 +123,8 @@ TEST(Features2d_LightGlue_DISK, Regression)
|
||||
<< " actual matches not found in reference";
|
||||
|
||||
if (refNotFound > 0 || actNotFound > 0)
|
||||
std::cout << "[INFO] DISK LightGlue: " << refNotFound << " ref missing, "
|
||||
<< actNotFound << " actual extra (within tolerance)" << std::endl;
|
||||
CV_LOG_INFO(NULL, "DISK LightGlue: " << refNotFound << " ref missing, "
|
||||
<< actNotFound << " actual extra (within tolerance)");
|
||||
}
|
||||
|
||||
#else // !HAVE_OPENCV_DNN
|
||||
|
||||
Reference in New Issue
Block a user