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

Debugger Access violation reading location 0x0000000000000000. #2

Closed
bzllzw opened this issue Nov 5, 2018 · 1 comment
Closed

Debugger Access violation reading location 0x0000000000000000. #2

bzllzw opened this issue Nov 5, 2018 · 1 comment

Comments

@bzllzw
Copy link

bzllzw commented Nov 5, 2018

problem is in kface.cpp:

FaceDriver::FaceDriver() {
  Kinect& device = Kinect::Device();
  HRESULT hr;
  for (int i = 0; i < kBodyCount; i++) {
    hr = CreateFaceFrameSource(device.Sensor(), 0, kFaceFrameFeatures, &face_sources[i]);
    hr = face_sources[i]->OpenReader(&face_readers[i]); //here occured the problem. 在这里发生的。
  }

//this is face_sources[] data:

this)->face_sources 0x00007ff6be54e1b0 {0x0000000000000000 , 0x0000000000000000 , 0x0000000000000000 , ...} IFaceFrameSource *[6]
[0] 0x0000000000000000 IFaceFrameSource *
[1] 0x0000000000000000 IFaceFrameSource *
[2] 0x0000000000000000 IFaceFrameSource *
[3] 0x0000000000000000 IFaceFrameSource *
[4] 0x0000000000000000 IFaceFrameSource *
[5] 0x0000000000000000 IFaceFrameSource *

//this is face_readers[] data:

(this)->face_readers 0x00007ff6be54e1e0 {0x0000000000000000 , 0x0000000000000000 , 0x0000000000000000 , ...} IFaceFrameReader *[6]
[0] 0x0000000000000000 IFaceFrameReader *
[1] 0x0000000000000000 IFaceFrameReader *
[2] 0x0000000000000000 IFaceFrameReader *
[3] 0x0000000000000000 IFaceFrameReader *
[4] 0x0000000000000000 IFaceFrameReader *
[5] 0x0000000000000000 IFaceFrameReader *

@bzllzw
Copy link
Author

bzllzw commented Nov 6, 2018

原来脸部追踪是需要Kinect的另一个文件夹,NuiDatabase。详情如下文。

https://social.msdn.microsoft.com/Forums/en-US/b0d4fb49-5608-49d5-974b-f0044ceac5ca/createfaceframesource-always-returning-error?forum=kinectv2sdk

@bzllzw bzllzw closed this as completed Nov 6, 2018
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

1 participant