chungyiweng / humannerf

HumanNeRF turns a monocular video of moving people into a 360 free-viewpoint video.
MIT License
786 stars 86 forks source link

Manually set the new wanted target view #68

Open yejr0229 opened 1 year ago

yejr0229 commented 1 year ago

Hi, I'd like to know how to manually set the new wanted target view in code? like the default synthesis view is 90°,and how can I change it to 45°?

Dipankar1997161 commented 1 year ago

do you mean, changing the rendering viewpoint?

Hi, I'd like to know how to manually set the new wanted target view in code? like the default synthesis view is 90°,and how can I change it to 45°?

do you mean changing the rendering viewpoint?

yejr0229 commented 1 year ago

yeah,how can change it?

Dipankar1997161 commented 1 year ago

yeah,how can change it?

Check where the camera.pkl file is loaded. Over there you can write a simple logic to overwrite the initial camera view point for rendering by playing with "Extrinsic" camera params.

Your new views will be created.

Also are you working on Custom video or Zju-mocap?

yejr0229 commented 1 year ago

thank you very much. I'm working on zju-mocap.

yejr0229 commented 1 year ago

I didn't find camera.pkl in zju-mocap,is the name not correct or it's not in zju-mocap?

Dipankar1997161 commented 1 year ago

I didn't find camera.pkl in zju-mocap,is the name not correct or it's not in zju-mocap?

You won't find camera.pkl in zju-mocap. That file is found after using the process_dataset.py in humannerf.

Check the code "Train.py" in humannerf. It's loaded there

yejr0229 commented 1 year ago

Thank you.I got it.

Dipankar1997161 commented 1 year ago

Thank you.I got it.

You are welcome. If you need any assistance further, let us know here