rameau-fr/MC-Calib

How to avoid time-spending WARN meesages with OpenCV 'findDecoder imread_('')'

nukbridge opened this issue · 6 comments

System information (version)

  • Operating System / Platform => ❔
  • OpenCV => 4.5.5
  • Ceres => ❔
  • Boost => ❔
  • C++ => ❔
  • Compiler => ❔

Vision system

  • Number of cameras => ❔
  • Types of cameras => ❔ (perspective, fisheye, hybrid)
  • Multicamera configurations => ❔ (overlapping, non-overlapping, converging)
  • Configuration file => ❔ (i.e. *.yml)
  • Image sequences => ❔
    • number of images per camera
    • if relevant and possible, please share image sequences

Describe the issue / bug

Please provide a clear and concise description of what the issue / bug is.

Whenever got below warnings befor 'Save parameters':

0039378 | 2023-12-18, 12:14:06.292610 [info] - Final refinement done
[ WARN:0@81.089] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@92.516] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@103.713] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@111.326] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@114.795] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@114.795] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@126.780] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@138.222] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@144.816] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@149.050] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@217.480] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@228.602] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@239.253] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@246.489] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@249.943] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@249.943] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@261.092] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@271.832] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@278.522] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
[ WARN:0@282.606] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_(''): can't open/read file: check file path/integrity
0039379 | 2023-12-18, 12:18:37.613606 [info] - Save parameters

Can I avoid these warnings to decrease whole processing time ?

Thanks

Hi @nukbridge. Thank you for your contribution to MC-Calib.

I have not seen this warning before. Could you please share your configuration file?

Here's generated configurations under 'build' directory,
build.zip

Thanks

Hey @nukbridge, could you please share the configuration file (i.e. *.yml) that's used to calibrate the cameras and resulted in the WARN:0@81.089] global /home/dev1/src/OpenCV/opencv-4.5.5/modules/imgcodecs/src/loadsave.cpp (239) messages?

Sorry, I just misunderstood your mention (I thought it's about build problem because above messages are always appeared when using MC-Calib).

Here's my configuration file used in calibration step :
calib_12_take20.yml.zip

FYI: resolution of each image used in calibration is 4096 x 3000 pixels

Thanks.

@nukbridge is it still the case with the latest version of McCalib? If so, please provide the sequence to see if I can replicate the warning message.