Skip to content
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

Questions about TF #34

Closed
nickle-fang opened this issue Jul 27, 2022 · 3 comments
Closed

Questions about TF #34

nickle-fang opened this issue Jul 27, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@nickle-fang
Copy link

nickle-fang commented Jul 27, 2022

  1. There are three coordinate systems you mention: camera_coord, vehicle_coord and ground_coord. In JSON file the "xyz" are on vehicle_coord, and the output of the model is on ground_coord, so you need to transform using "R_vg" and "R_vc". Am I right? If I am right, how do you define the vehicle_coord?
  2. What is # transformation from apollo camera to openlane camera code used for?
  3. What is the code cam_extrinsics[0:2, 3] = 0.0 used for?
  4. Could you please draw a picture to explain all the coordinate you used in the code?
    Thanks very much!
@nickle-fang
Copy link
Author

nickle-fang commented Jul 28, 2022

I visualize the data in JSON file and found it contradict to the explanation in issue #4. In the first picture below, the blue points are the raw points in JSON file, the red points are points transformed from the blue one with the extrinsics matrix in JSON file. So according to issue #4 the blue points are under the vehicle coordinate and the red points are under the camera coordinate. But that isn't a standard camera coordinate system, whose z-axis points up. The second picture below is the RGB image where the red points are drawed according to 'uv' information in JSON file.
image
image

@RicardLee
Copy link
Contributor

Please refer to https://github.com/OpenPerceptionX/OpenLane/issues/24. It should answer your question.

@ChonghaoSima ChonghaoSima added the documentation Improvements or additions to documentation label Sep 13, 2022
@ChonghaoSima ChonghaoSima reopened this Sep 13, 2022
@ChonghaoSima ChonghaoSima added the good first issue Good for newcomers label Sep 13, 2022
@RicardLee
Copy link
Contributor

We will close this issue, if you still have the same questions, please reopen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants