opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.21k stars 5.74k forks source link

Dynamic fusion #2961

Open YJonmo opened 3 years ago

YJonmo commented 3 years ago
System information (version)
Detailed description

running the dynafu_demo does not work with the --depth flag. We have compiled the dynafu_demo.cpp with providing the path directly inside the code:

String a = "/home/jacob/opencv_build/opencv/build/modules/rgbd/CMakeFiles/example_rgbd_dynafu_demo.dir/rgbd_dataset_freiburg1_plant/depth.txt";

//ds = makePtr(parser.get("depth")); ds = makePtr(a);

The parser, returns a boolean value.

Regards, Yaqub

savuor commented 3 years ago

DynamicFusion is being rewritten here; do not expect anything from it until it's done.

remmel commented 5 months ago

That probably because you don't use the parameter properly, you have to use an "=" eg: --depth=/home/me/workspace/dataset/fusion/VolumeDeformData/minion/depth.txt By the way I don't know what their depth.txt file contains exactly; I also had to edit readDepth in io_utils.hpp to v.push_back(dir + '/' + ss.str()); to be compatible with mine ls -A1 *.depth.png > depth.txt