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

Add support for orthographic cameras #13

Open
Happyrobot33 opened this issue Jun 13, 2023 · 3 comments
Open

Add support for orthographic cameras #13

Happyrobot33 opened this issue Jun 13, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@Happyrobot33
Copy link

Pretty simple, allow for orthographic cameras to give back the correct value. This should fix 2D representations of tags

@keijiro keijiro self-assigned this Jun 14, 2023
@keijiro keijiro added the question Further information is requested label Jun 14, 2023
@keijiro
Copy link
Owner

keijiro commented Jun 14, 2023

Sorry but I can't understand what you're trying to do. Do you have an orthographic camera in the real world? Or are you trying to feed orthographically rendered frames to Apriltag?

@Happyrobot33
Copy link
Author

im trying to feed a image that has a 2D apriltag on it, and getting screenspace coordinates from it. I actually eventually figured it out, but I need a dummy camera to do it and its quite jank. there is also currently no way to get the actual width of the tag itself, making getting anything but the center of the tag difficult

@Happyrobot33
Copy link
Author

For more context, something like this is difficult to get information from
im trying to get the "box" that these two apriltags create, but at most im currently only able to get the horizontal line between their centers, and have to hardcode a height

to add on to that, the only way im able to get screenspace coordinates of this is by having a non rendering camera so I can convert the worldspace coordinates to screenspace ones
sacaw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants