GetFacePointsInColorSpace每秒多次返回所有0 [英] GetFacePointsInColorSpace returning all 0s multiple times a second

查看:91
本文介绍了GetFacePointsInColorSpace每秒多次返回所有0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在FaceBasics-D2D示例中,有时GetFacePointsInColorSpace()将返回全0,但get_FaceBoundingBoxInColorSpace()仍然在同一帧上返回有效结果。这是预期的行为吗?检查这个
案例的所有0是否公平错误检查?

In the FaceBasics-D2D example sometimes GetFacePointsInColorSpace() will return all 0s but get_FaceBoundingBoxInColorSpace() is still returning valid results on the same frame. Is this expected behavior? Is checking for all 0s a fair error check for this case?

GetFaceProperties()怎么样?在同一帧中,它为所有东西返回DetectionResult_No。

What about GetFaceProperties()? In the same frame it's returning DetectionResult_No for everything.

我面临的问题是这个数据一直闪烁到0s / No(每秒多次),我需要一种方法来知道我是否应该忽略结果并保留以前的帧结果,而不是将其用作Kinect检测到的新有效数据。

The issue I'm facing is this data is flashing to 0s/No constantly (multiple times a second) and I need a way to know if I should just ignore the result and keep the previous frames result, vs. using it as new valid data the Kinect has detected.

推荐答案

是的,它是正确的,它会根据许多因素闪烁。确保设置在最佳配置(离地面6英尺处朝下),因为这将稳定身体跟踪,这是面部api拉动关节值时的关键因素。
此外,你需要确保色彩运行30fps(不是在低光照条件下)并且红外线干扰最小(不要在窗户附近设置)。

Yes it is correct, it will flicker based on many factors. Just ensure is setup in the optimal configuration(6 feet from the floor pointing down) as this will stabilize the body tracking which is a key factor when the face api's are pulling joint values. Additionally, you will want to ensure color is running 30fps(not in low light) and there is minimal IR interference(don't setup near a window).

你只是需要设置一个过滤器,它将占用每一帧并平均好数据,为您的应用程序提供一组干净的值。

You just need to setup a filter that will take every frame and average the good data to provide your application a clean set of values.


这篇关于GetFacePointsInColorSpace每秒多次返回所有0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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