kinect v2 HD Face Basics [英] kinect v2 HD Face Basics

查看:164
本文介绍了kinect v2 HD Face Basics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我正在尝试将网格从HDFaceBasics示例输出到磁盘上的文件 - 就像写作一样它是多边形文件。

有关如何使用API​​进行此操作的任何建议吗?

I'm trying to output the mesh from the HDFaceBasics sample to a file on disk - like writing it out to poly files.
Any advice on how to do this with the API?

我正在尝试将KinectionFusion示例与HDFaceBasics结合起来编写一个文件,但看起来融合助手需要一个ColorMesh,我不知道如何从FaceModel生成。

I'm trying to combine the KinectionFusion sample with the HDFaceBasics to write out a file, but it looks like the fusion helper needs a ColorMesh, which I don't know how to generate from the FaceModel.

谢谢!

-Lok

推荐答案

您可以随意更改接受数组的功能顶点和索引值。只需单步执行代码即可显示主要拉动Fusion重建的顶点和索引。由于脸部已经有脸型,你需要
来获得这些积分。

You are free to change the function to accept an array of vertex and index values. Just step through the code will show it mainly pulling the vertices and indices that come from Fusion reconstruction. Since face already has a face model, you just need to get those points.

提醒一下,你不应该在生产代码中使用这个网格。它仅用于调试目的。

Reminder, you should not be using this mesh in production code. It is provided for debugging purposes only.


这篇关于kinect v2 HD Face Basics的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆