NVlabs / intrinsic3d

Intrinsic3D - High-Quality 3D Reconstruction by Joint Appearance and Geometry Optimization with Spatially-Varying Lighting (ICCV 2017)
https://vision.in.tum.de/_media/spezial/bib/maier2017intrinsic3d.pdf
BSD 3-Clause "New" or "Revised" License
451 stars 80 forks source link

Error with opencv #2

Closed hdeleau closed 5 years ago

hdeleau commented 5 years ago

Hi,

I have a compilation error related to libopencv_imgcodecs. By modifying line 74 (CMakeLists.txt) as follows, the compilation is error-free : FIND_PACKAGE(OpenCV COMPONENTS core highgui imgproc imgcodecs REQUIRED)

But now, by executing the "../../build/bin/AppKeyframes -s sensor.yml -k keyframes.yml" command, I get the following error: Failed to load settings from file 'true'!

What step could I have forgotten?

Regards

robmaier commented 5 years ago

I guess you are using OpenCV3? The command line parser has changed there, something like the following should work: ../../build/bin/AppKeyframes -s=sensor.yml -k=keyframes.yml

hdeleau commented 5 years ago

Yes, I use OpenCV 3.2 (with Debian Buster). The new command works perfectly. Thank you.

Regards.

robmaier commented 5 years ago

To avoid such confusions in the future, I am going to allow OpenCV3 only. Thanks for your quick feedback and the fix above.

chethanab16 commented 4 years ago

Hi I am trying to compile intrinsic 3D using Windows OS and Visual studio 2013 and I compiled the AppKeyframes successfully in debug mode X64 but when I run the program it will create fusion folder but now extracted keyframes and the values of sensor_config and sensor_config_fille show Error reading characters of string as show in the attachment could some one could give some suggestion it would be helpful intrensic-3D_git9 intrensic-3D_git1