RoblabWh / PatchMatch

⚠️PLEASE NOTE⚠️: This software version is no longer under development. The successor can be found at: ⬇️
https://github.com/RoblabWh/stella_vslam_dense
Other
54 stars 7 forks source link

libGL + OpenCV error #3

Closed sameeranees closed 11 months ago

sameeranees commented 11 months ago

Hi, I used the following command to run the algo: ./run_video_slam -v ../orb_vocab/orb_vocab.dbow2 -c ../example/patchmatch/config.yaml -m ../example/patchmatch/video.mp4 Running the algo on docker gives me this error: Screenshot from 2023-10-28 17-16-04

ndigakis commented 11 months ago

I'm unable to reproduce this error. What are the specs of the PC you're using?

sameeranees commented 11 months ago

@ndigakis Operating System: Ubuntu 22.04 (jammy Jellyfish) CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz Architecture: x86_64 GPU: NVIDIA GM108M [GeForce MX130]

sameeranees commented 11 months ago

Okay my bad, I forgot to provide a mask. It works now.

roblab2011 commented 11 months ago

Great!!! How are the results ? To achieve real time reduce the video to HD (1920x960) and / or increase the skip-frames. In simple environments 30 should still work.

roblab2011 commented 11 months ago

p.s. For a mask you can simply take a picture from the video and edit it with gimp for example. All black pixels are not used.

sameeranees commented 11 months ago

@roblab2011, Thanks for the information about the mask, was a bit confused how the mask was going to work before, but yeah making one with gimp helps. With regards to the algorithm, The output displayed in the Pangolin viewer shows a roadmap with green boxes, but it doesn't seem to show the keypoints or features in the viewer. And for some reason the mapping in the viewer appears to be somewhat delayed compared to the stream, and when the stream ends, the mapping stops as well.

roblab2011 commented 11 months ago

PatchMatch is a multi view stereo algo. and needs 3 to 5 key frames to calculated the point cloud. More infos can be found in the paper https://arxiv.org/abs/2211.16266