The true position of an object in the camera in bathing task #166
Answered
by
TomatoPicker278
TomatoPicker278
asked this question in
Other Q&A
-
Sorry, I have solved the problem, but I don't know how to delete this post. |
Beta Was this translation helpful? Give feedback.
Answered by
TomatoPicker278
Nov 11, 2024
Replies: 1 comment 1 reply
-
Hi @TomatoPicker278 would you mind posting your original question and the solution here in case other people have similar questions? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, no problem. I'll briefly restate the question.
Question: For the camera in the
CameraAttr
attribute, is there an existing API to obtain the real position of an object in the camera coordinate system? (Note: While the camera in theActiveLightSensorAttr
attribute has theGetActiveDepth()
function for retrieving the real depth, it still cannot provide the real 3D coordinates in the camera coordinate system, and it requires creating a new camera. This question is specifically about how to obtain the real position of an object in the camera coordinate system using only the camera inCameraAttr
.)My solution: There is no ready-made API available, so the only option is to use the most basic…