dunbar12138 / pix2pix3D

pix2pix3D: Generating 3D Objects from 2D User Inputs
http://www.cs.cmu.edu/~pix2pix3D/
MIT License
1.64k stars 131 forks source link

Generating mesh from 2D sketch (edge2car) #5

Open Utopiah opened 1 year ago

Utopiah commented 1 year ago

I don't see how to use extract_mesh.py to provide a 2D sketch for edges as input. Could you please provide an example?

I'm thinking of integrating it to my XR scaffolding https://twitter.com/utopiah/status/1620089313592758274 based on your appendix C on broader impact.

dunbar12138 commented 1 year ago

Hi, we provide an example input examples/example_input_edge2car.png. You can extract the mesh by

python applications/extract_mesh.py --network checkpoints/pix2pix3d_edge2car.pkl --outdir examples --cfg edge2car --input examples/example_input_edge2car.png