-
Notifications
You must be signed in to change notification settings - Fork 28
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
Projecting points to camera #164
Comments
Check this function https://github.com/owl-project/NVISII/blob/master/examples/21.ndds_export.py#L66 I think it does what you need. |
How can I just project points onto the camera matrix? Because it seems that using those matrices I get wrong pixel position |
You need this for pixel location, is that helpful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone!
I have (I think) a very simple question, I am trying to project bounding boxes to camera and apparently I am applying the wrong transformation.
First of all I have computed the 3d bbox vertices with:
Then tried in two different ways:
.get_camera().get_intrinsic_matrix(width, height)
) and compute matrix multiplication by the 8 vertices..get_transform().get_world_to_local_matrix()
) and projection matrix (.get_camera().get_projection()
), transforming 3d vertices in homogeneous coordinates, multiuply them by world_to_local matrix and then by projection matrix.Anyway, I am getting strange results and bounding boxes are not printed correctly.
How am I suppose to project world points onto image ?
Thank you!!
The text was updated successfully, but these errors were encountered: