You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I input an image as the left eye image and generate the right eye image through your code, if the distance between the human eyes is 6.5 cm, how should I modify these parameters? def gen_translate_path(num_frames=2, r_x=0.065, r_y=0., r_z=0): poses = torch.eye(4).repeat(num_frames, 1, 1) poses[1, 0, 3] = r_x poses[1, 1, 3] = r_y poses[1, 2, 3] = r_z return poses
Here I set the pose of the camera:
`camera path pose: tensor([[[ 1.0000, 0.0000, 0.0000, 0.0000],
[ 0.0000, 1.0000, 0.0000, 0.0000],
[ 0.0000, 0.0000, 1.0000, 0.0000],
[ 0.0000, 0.0000, 0.0000, 1.0000]],
The difference between the two images I got is very small, and the left and right views cannot be combined.
I want to ask if I do this, is there a problem? @yxuhan
The text was updated successfully, but these errors were encountered:
Hi, the unit of our camera system is not cm, so the x-translation 0.065 does not correspond to 6.5cm. You can first align the scale of our camera system to 'cm', then set 6.5cm as the translation.
------------------ Original ------------------
From: Yuxuan Han ***@***.***>
Date: Wed,Jul 5,2023 10:54 PM
To: yxuhan/AdaMPI ***@***.***>
Cc: WithAIGC ***@***.***>, Author ***@***.***>
Subject: Re: [yxuhan/AdaMPI] How to produce a right eye photo? (Issue #14)
Closed #14 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
If I input an image as the left eye image and generate the right eye image through your code, if the distance between the human eyes is 6.5 cm, how should I modify these parameters?
def gen_translate_path(num_frames=2, r_x=0.065, r_y=0., r_z=0): poses = torch.eye(4).repeat(num_frames, 1, 1) poses[1, 0, 3] = r_x poses[1, 1, 3] = r_y poses[1, 2, 3] = r_z return poses
Here I set the pose of the camera:
`camera path pose: tensor([[[ 1.0000, 0.0000, 0.0000, 0.0000],
[ 0.0000, 1.0000, 0.0000, 0.0000],
[ 0.0000, 0.0000, 1.0000, 0.0000],
[ 0.0000, 0.0000, 0.0000, 1.0000]],
The difference between the two images I got is very small, and the left and right views cannot be combined.
I want to ask if I do this, is there a problem? @yxuhan
The text was updated successfully, but these errors were encountered: