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

3D关节转换为2D图像关节 #31

Open
yawei798 opened this issue Nov 19, 2019 · 4 comments
Open

3D关节转换为2D图像关节 #31

yawei798 opened this issue Nov 19, 2019 · 4 comments

Comments

@yawei798
Copy link

想请问一下,使用自己像机拍摄的视频,如何把3D关节坐标转换为2D关节坐标进行对齐?谢谢

@wuneng
Copy link

wuneng commented Nov 23, 2019

我也有相同的问题。videopose3d的3D关键点非常稳定,如何再把他们投到2D平面呢?

@WinstonDeng
Copy link

2d matrix= 3d matrix * camera matrix
理论上获取相机内参或视角参数,与3d坐标矩阵相乘得到2d矩阵

@wuneng
Copy link

wuneng commented Nov 26, 2019

@WinstonDeng 提供的几个相机内参我都试过了,输出的结果都不对。

@WinstonDeng
Copy link

@wuneng 作者的代码中,对得到的2d点进行3d预测画图之前有两次处理,一次是对2d点normalize_screen_coordinates,另外一次是对得到的3d预测camera_to_world,如果你要3d反向映射回来,要走这个逆过程,不知道之前是否有注意这里

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

3 participants