Adversarial Texture Optimization from RGB-D Scans (CVPR 2020).
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.
Please refer to src/preprocessing directory for details.
Consider execute run_all.sh in parallel.
cd src/textureoptim
python gen_script.py
sh run_all.sh
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.
cd src
python visualize.py