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

左博您好,请问怎么使用106识别人脸做一点特效,将图片对应上五官贴上去? #173

Open
dkmora opened this issue Jul 5, 2023 · 4 comments

Comments

@dkmora
Copy link

dkmora commented Jul 5, 2023

有没有相关的代码示例,或者详细一点的教程,感谢!小白感激不尽

@zuoqing1988
Copy link
Owner

找个人头模型,取其中的一些3D坐标和2D的关键点坐标,用PnP公式算一下头模相对于摄像头的姿态(平移+旋转,或者称之为外参矩阵),然后把贴纸置于头模的物体坐标系上,调用渲染管线显示到屏幕即可

@dkmora
Copy link
Author

dkmora commented Jul 5, 2023

关于106模型用法,哪个项目比较类似,可供参考?

@zuoqing1988
Copy link
Owner

@dkmora
Copy link
Author

dkmora commented Jul 7, 2023

SDK可以拿到3D左坐标吗?我这边实现如果不用渲染管线,用纯C++ 好做吗?

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