FaceBoundingBoxInInfraredSpace 得到的深度空间的数值为空

来源:互联网 发布:python脚本服务器部署 编辑:程序博客网 时间:2024/06/07 16:47

解决方法:

hrface = CreateFaceFrameSource(myKinectSecsor, 0, THIS_APP_FACE_FRAME_FEATURES, &myFaceFrameSources[i]);

创建souce第三个单数,需要先绑定FaceFrameFeature code


FaceFrameFeatures::FaceFrameFeatures_BoundingBoxInColorSpace
|FaceFrameFeatures::FaceFrameFeatures_BoundingBoxInInfraredSpace



Did you set the FaceFrameFeature code to provide the InfraredSpace when you create the FaceFrameSource?         

// specify the required face frame results

FaceFrameFeaturesfaceFrameFeatures =

FaceFrameFeatures.BoundingBoxInColorSpace | FaceFrameFeatures.BoundingBoxInInfraredSpace;


0 0
原创粉丝点击