AaronJackson / vrn

:man: Code for "Large Pose 3D Face Reconstruction from a Single Image via Direct Volumetric CNN Regression"
http://aaronsplace.co.uk/papers/jackson2017recon/
MIT License
4.52k stars 742 forks source link

How to use raw2obj.py? #19

Closed happyfrank closed 6 years ago

happyfrank commented 6 years ago

Hello @AaronJackson , Thanks for you Share this amazing code. I already get through this code, getting the 3D model. those .raw file. But I wanna get obj file. Could you tell me how to use raw2obj.py?

AaronJackson commented 6 years ago
python raw2obj --volume output/asj.raw --image examples/scaled/asj.jpg --obj asj.obj
resputant commented 5 years ago

python raw2obj.py --volume output/ggg.raw --image examples/scaled/ggg.jpg --obj ggg.obj Traceback (most recent call last): File "raw2obj.py", line 18, in im = scipy.misc.imread(args.image, False, 'RGB') TypeError: imread() takes at most 2 arguments (3 given)

SandUhrGucker commented 4 years ago

python raw2obj.py --volume output/ggg.raw --image examples/scaled/ggg.jpg --obj ggg.obj Traceback (most recent call last): File "raw2obj.py", line 18, in im = scipy.misc.imread(args.image, False, 'RGB') TypeError: imread() takes at most 2 arguments (3 given)

I got the same error when python is symlinked to python3. Try Python2 instead.