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

How to output each coordinate information as .pkl #86

Open
yuriokamoto opened this issue Nov 18, 2024 · 3 comments
Open

How to output each coordinate information as .pkl #86

yuriokamoto opened this issue Nov 18, 2024 · 3 comments

Comments

@yuriokamoto
Copy link

How do I change the code to output each coordinate information in .pkl?
I looked at past issues but could not figure it out due to my lack of understanding.

@geopavlakos
Copy link
Owner

What information do you want to write in the .pkl file?
Is the question about how to write a pkl file? Or about the format of the model output? If it's the second, then you can take a look at the contents of the out variable.

@yuriokamoto
Copy link
Author

It is difficult to understand because it is through translation. Sorry.
Is it possible to get the coordinates of the keypoints of the hand output in the image in .pkl?

@geopavlakos
Copy link
Owner

You can get the 3D coordinates of the hand keypoints in the camera frame by adding pred_cam_t_full (which is calculated here) to out['pred_keypoints_3d'] (which is calculated here). Then you can export the sum in a pkl file.

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

No branches or pull requests

2 participants