项目作者: hjwdzh

项目描述 :
Adversarial Texture Optimization from RGB-D Scans (CVPR 2020).
高级语言: Python
项目地址: git://github.com/hjwdzh/AdversarialTexture.git
创建时间: 2020-03-14T23:34:16Z
项目社区:https://github.com/hjwdzh/AdversarialTexture

开源协议:MIT License

下载


AdversarialTexture

Adversarial Texture Optimization from RGB-D Scans (CVPR 2020).

AdversarialTexture Teaser

Scanning Data Download

Please refer to data directory for details.

Before run following scripts, please modify the data_path in src/config.py as the absolute path of the data folder (e.g. Adversarial/data) where you download all data.

Prepare for Training (Optimization)

Please refer to src/preprocessing directory for details.

Run Training (Optimization)

Consider execute run_all.sh in parallel.

  1. cd src/textureoptim
  2. python gen_script.py
  3. sh run_all.sh

Result Visualization

The result will be stored in data/result/chairID/chairID.png. You can use them to replace the corresponding default texture in data/shape, and use meshlab to open obj files to see the results.

Alternatively, we provide a simple script to render results. You will be able to see the rendering comparison in data/visual.

  1. cd src
  2. python visualize.py

Authors

© Jingwei Huang, Stanford University

IMPORTANT: If you use this code please cite the following in any resulting publication:

  1. @inproceedings{huang2020adversarial,
  2. title={Adversarial Texture Optimization from RGB-D Scans},
  3. author={Huang, Jingwei and Thies, Justus and Dai, Angela and Kundu, Abhijit and Jiang, Chiyu and Guibas, Leonidas J and Niessner, Matthias and Funkhouser, Thomas},
  4. booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  5. pages={1559--1568},
  6. year={2020}
  7. }

The rendering process is a modification of pyRender.