KinectFusion icon indicating copy to clipboard operation
KinectFusion copied to clipboard

Devices available in KinectFusion

Open Kyosuke45628 opened this issue 4 years ago • 5 comments

Hello. I am a Japanese student. I was interested in this program(KinectFusion). So the question is, does this program work on different devices (d435i) etc.?

thank you.

Kyosuke45628 avatar Jan 14 '21 06:01 Kyosuke45628

Hey there,

It actually doesn't matter what device you use to capture the information, the main things that you need are rgbd images, intrinsic and extrinsic camera parameters. In this particular implementation, the rgbd stream is simulated in "VirtualSensor.h".

VladimirYugay avatar Jan 14 '21 08:01 VladimirYugay

Thank you for your prompt response.I have many questions. I want to execute /KinectFusion/build/main.cpp, but when I do make, I get an error like this. Do you know what to do?

issue

[environment] Ubuntu18.04 cmake ver 3.19.1

[cmake: Execution result ] image

I'm using google translate, so if it's hard to read in a strange context, I'm sorry. Thank you for your quick response.

Kyosuke45628 avatar Jan 14 '21 09:01 Kyosuke45628

I think it was difficult to see the characters, so I will send you the text instead of the image. Thanking you in advance. Thank you

[cmake]

CMake Warning (dev) at CMakeLists.txt:3 (set): implicitly converting 'TYPE' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done /home/nviida/KinectFusion/libs/eigen -- Configuring done -- Generating done -- Build files have been written to: /home/nviida/KinectFusion/build

===================================================================================

[make] Scanning dependencies of target kinect_fusion [ 12%] Building CXX object CMakeFiles/kinect_fusion.dir/src/models/Frame.cpp.o [ 25%] Building CXX object CMakeFiles/kinect_fusion.dir/src/helpers/FreeImageHelper.cpp.o [ 37%] Building CXX object CMakeFiles/kinect_fusion.dir/src/models/Volume.cpp.o [ 50%] Building CXX object CMakeFiles/kinect_fusion.dir/src/icp/ICP.cpp.o In file included from /home/nviida/KinectFusion/src/helpers/FreeImageHelper.cpp:1:0: /home/nviida/KinectFusion/src/helpers/FreeImageHelper.h:9:10: fatal error: FreeImage.h: No such file or directory #include <FreeImage.h> ^~~~~~~~~~~~~ compilation terminated. CMakeFiles/kinect_fusion.dir/build.make:81: recipe for target 'CMakeFiles/kinect_fusion.dir/src/helpers/FreeImageHelper.cpp.o' failed make[2]: *** [CMakeFiles/kinect_fusion.dir/src/helpers/FreeImageHelper.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/nviida/KinectFusion/src/helpers/VirtualSensor.h:9:0, from /home/nviida/KinectFusion/src/models/Frame.h:11, from /home/nviida/KinectFusion/src/models/Frame.cpp:3: /home/nviida/KinectFusion/src/helpers/FreeImageHelper.h:9:10: fatal error: FreeImage.h: No such file or directory #include <FreeImage.h> ^~~~~~~~~~~~~ compilation terminated. In file included from /home/nviida/KinectFusion/src/helpers/VirtualSensor.h:9:0, from /home/nviida/KinectFusion/src/models/Frame.h:11, from /home/nviida/KinectFusion/src/models/Volume.h:8, from /home/nviida/KinectFusion/src/models/Volume.cpp:1: /home/nviida/KinectFusion/src/helpers/FreeImageHelper.h:9:10: fatal error: FreeImage.h: No such file or directory #include <FreeImage.h> ^~~~~~~~~~~~~ compilation terminated. CMakeFiles/kinect_fusion.dir/build.make:94: recipe for target 'CMakeFiles/kinect_fusion.dir/src/models/Frame.cpp.o' failed make[2]: *** [CMakeFiles/kinect_fusion.dir/src/models/Frame.cpp.o] Error 1 CMakeFiles/kinect_fusion.dir/build.make:107: recipe for target 'CMakeFiles/kinect_fusion.dir/src/models/Volume.cpp.o' failed make[2]: *** [CMakeFiles/kinect_fusion.dir/src/models/Volume.cpp.o] Error 1 In file included from /home/nviida/KinectFusion/src/helpers/VirtualSensor.h:9:0, from /home/nviida/KinectFusion/src/models/Frame.h:11, from /home/nviida/KinectFusion/src/icp/ICP.h:13, from /home/nviida/KinectFusion/src/icp/ICP.cpp:3: /home/nviida/KinectFusion/src/helpers/FreeImageHelper.h:9:10: fatal error: FreeImage.h: No such file or directory #include <FreeImage.h> ^~~~~~~~~~~~~ compilation terminated. CMakeFiles/kinect_fusion.dir/build.make:120: recipe for target 'CMakeFiles/kinect_fusion.dir/src/icp/ICP.cpp.o' failed make[2]: *** [CMakeFiles/kinect_fusion.dir/src/icp/ICP.cpp.o] Error 1 CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/kinect_fusion.dir/all' failed make[1]: *** [CMakeFiles/kinect_fusion.dir/all] Error 2 Makefile:102: recipe for target 'all' failed make: *** [all] Error 2

Kyosuke45628 avatar Jan 14 '21 09:01 Kyosuke45628

Hey there,

Looks like it's missing FreeImage library. Did you install it (it's described in the "Setup (Linux)" section in the readme)?

VladimirYugay avatar Jan 14 '21 10:01 VladimirYugay

Hello

Screenshot from 2021-01-15 02-29-58

sudo apt-get install libfreeimage3 libfreeimage-dev has been executed. However, the content of the error did not change. Do you know what it is?

I would be happy if you could answer.

Kyosuke45628 avatar Jan 14 '21 17:01 Kyosuke45628