-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render the result using results.json
#6
Comments
Hello, sorry for the late reply. You need to convert rotation matrix to exponential coordinates to render the 3D model with SMPL. |
Thanks for answering. Recently, I've tried various methods to render it. I've successfully used the
I attempted to render using fx = 1145.51133842318
fy = 1144.77392807652
cx = 514.968197319863
cy = 501.882018537695
intrinsics = pyrender.IntrinsicsCamera(fx, fy, cx, cy)
# The last column is the `trans` array
camera_pose = np.array([
[1.0, 0.0, 0.0, -0.8137451718577722],
[0.0, 1.0, 0, -0.38184425690653306],
[0.0, 0, 1.0, 4.098549799582818],
[0.0, 0.0, 0.0, 1.0],
])
scene.add(intrinsics, pose=camera_pose) I also attempted to convert I'm relatively new to this. If you could provide me with more guidance, I would greatly appreciate it. |
Hello, if I remember correctly, |
Hi, here are some more details. I used the resulted The full script to render is render.py. The result is: I tried rotating the SMPL model following the code I found in the smplify-x repo for rendering. Uncomment the part:
The model is kinda flipped correctly, but not quite match with view in the original image: And if I convert |
Could you suggest some alternatives for correct rendering? Thanks in advance. |
Hi, I just came across the paper and attempted to reproduce the results.
I successfully followed your guide in README.md but am unsure about what to do with
result.json
to render the 3D model. Could you provide me with some guidance? Thanks in advance.The text was updated successfully, but these errors were encountered: