place them under ./BundleSDF/BundleTrack/XMem/saves/
place them under ./BundleSDF/BundleTrack/LoFTR/weights/
To set up the Docker environment, run the following command:
docker build --network host -t nvcr.io/nvidian/bundlesdf .
To capture data from a RealSense depth camera, run the rec_con_mask.py
script.
1)Install librealsense SDK
2)Install dependencies for Xmem and Realsense
conda environment (optional)
conda create -n obj_recon python=3.10
pip install -r requirements.txt
sudo bash capture.sh
Note : (Don't run in Docker Container)
Press Enter
to start recording RGB and depth frames. Then, create a boundary by selecting points on the window to create a mask for the first image.
-
Run the container:
bash run_container.sh
-
Build the project:
bash build.sh
-
Run the project:
bash run.sh