Giter VIP home page Giter VIP logo

slnerf's Introduction

NeSS: Neural SDF in Structured Light Systems

The PyTorch implementation of the 3DV 2024 paper: Depth Reconstruction with Neural Signed Distance Fields in Structured Light Systems.

if you find our code useful, please cite:

@inproceedings{qiao2024depth,

title={Depth Reconstruction with Neural Signed Distance Fields in Structured Light Systems},

booktitle={International Conference on 3D Vision},

year={2024}

}

Step 0: Installation

The project is implemented based on PyTorch and OpenCV.

You can install the required packages by:

pip install -r requirements.txt

TODO: We wrote a small library called 'pointerlib' for swift developing. In the final version we will remove the reliance of this small library. For now, you still need to install the wheel file from here and install that by pip.

Our code is using python==3.8 and torch==1.13.1.

P.S: Open3D and openpyxl are only used for visualization in folder ./tools. You can ignore these two if you only run the main project.

Step 1: Prepare your datasets

Download the datasets

Please download the dataset from here. The calibration parameters are stored in config.ini.

Remember to update the dataset path for scripts under ./scripts folder.

For example, if you save the dataset under the path /home/codepointer/dataset/NeSSDataset, then you should modify the DATA_DIR variables for scripts ./scripts/*.sh:

DATA_DIR="/home/codepointer/dataset/NeSSDataset"

(Optional) Prepare your own Dataset

TODO

Step 2: Train the model

You can start to run the code by:

chmod +x ./scripts/run-main.sh
./scripts/run-main.sh {YourGPUDeviceNumber}

Please replace the above {YourGPUDeviceNumber} during your training.

(Optional) Step 3: Visualize you results

We output the .ply file and .png files under the output folder. You can also check the logs by using tensorboard.

We also provide several tools for better analyzing under the folder ./tools.

slnerf's People

Contributors

codepointer avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.