Low-level routines emitting debug info

hi all,

i’ve just started using opencv. it looks really impressive so far, but i’m encountering something strange. in a simple routine that reads an image, converts it to grayscale, and finds the edges using canny edge detection, one of the routines down there is emitting what looks like debugging info:

[ INFO:0@0.059] global /builddir/build/BUILD/opencv-4.6.0/modules/core/src/parallel/registry_parallel.impl.hpp (96) ParallelBackendR
egistry core(parallel): Enabled backends(2, sorted by priority): TBB(1000); OPENMP(990)
[ INFO:0@0.059] global /builddir/build/BUILD/opencv-4.6.0/modules/core/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp (5
4) ParallelForBackend Initializing TBB parallel backend: TBB_INTERFACE_VERSION=11103
[ INFO:0@0.059] global /builddir/build/BUILD/opencv-4.6.0/modules/core/src/parallel/parallel.cpp (77) createParallelForAPI core(para
llel): using backend: TBB (priority=1000)

i need to turn this off. imperatively.
AFAIK i didn’t do anything to turn it on [nothing on purpose, anyway… :wink: ]

many thanks.

configure the log level.

OPENCV_LOG_LEVEL is the environment variable for this, or use cv::utils::logging::setLogLevel

1 Like

thanks very much! exactly what i needed. :slight_smile: