-
Notifications
You must be signed in to change notification settings - Fork 60
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
How to Obtain an Image Rendered by a Camera Frustum from Its Pose? #335
Comments
Hi there! There's a https://viser.studio/latest/client_handles/#viser.ClientHandle.get_render For showing images (including the rendered one), one option is to use Plotly: |
Thank you for your response!
Lastly, I would like to know if the URDF pose in viser can be updated relative to the world coordinate system. I couldn’t find any relevant API for this in Thank you in advance for your help! |
For (1) I just wrote a test script; rendering works fine for me with arbitrary camera poses. Can you see if you can reproduce this? Screen.Recording.2024-11-21.at.1.21.11.PM.movHere's the script: https://gist.github.com/brentyi/e5942d8a5630f20115d52084cfbd2835 For (2) speed I unfortunately don't have a good solution. Part of this could be If you want a quick fix for the blurriness issue you can install viser from source with this line deleted: viser/src/viser/client/src/App.tsx Line 471 in 9096d19
For (3) moving the root coordinate frame of the URDF, you can do: server.scene.add_frame("/robot_root_frame", show_axes=False, wxyz=..., position=...) And then pass viser/src/viser/extras/_urdf.py Line 32 in 9096d19
|
Thank you for your response.
Thank you for your help! viser_render_with_gaussian_splats.mp4 |
(1) is a bug I hadn't considered, thanks for pointing that out! I fixed this in #344. For (2), are you accessing the pose of a frame with |
Thanks for helping to solve this problem. |
Could you explain how to obtain an image rendered by a camera frustum at a specific pose based on camera's params(fov, aspect, scale) and how to visualize the image through other windows?
Just like the picture attached.
Thank you!
The text was updated successfully, but these errors were encountered: