chungyiweng / humannerf

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

Camera_utils.py [ SNIPPET CLARIFICATION ] #60

Closed Dipankar1997161 closed 1 year ago

Dipankar1997161 commented 1 year ago

Hello @chungyiweng, Thank you for the work :) I have doubt in the following snippet!!

def _update_extrinsics(

grot_vec = np.array([0., 0., 0.]) grot_vec[rotate_coord[rotate_axis]] = angle grot_mtx = cv2.Rodrigues(grot_vec)[0].astype('float32')

)

I came across the following lines of code in the "Camera_utils.py" which I am unable to understand. Can some clarification be given on these 3 lines? what do these lines signify?

My idea is to attain top views of the Mocap dataset, which I believe is possible by manually altering the camera poses. What are your thoughts on achieving this?

Any Help is highly appreciated.