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

Question about Depth range #152

Closed
MasWag opened this issue Feb 3, 2015 · 2 comments
Closed

Question about Depth range #152

MasWag opened this issue Feb 3, 2015 · 2 comments

Comments

@MasWag
Copy link

MasWag commented Feb 3, 2015

Hello all

I am using libfreenect2 with OpenCL and it seems no point further than 4.5m can be seen. But with Microsoft SDK, I cound see about 8m distant point.Is this expected behavior?

This is my environment

  • OS : Ubuntu 14.10
  • CPU : Intel(R) Core(TM) i7-3630QM
  • GPU : NVIDIA Corporation GF108GLM

Regards,
Masaki Waga

@tlind
Copy link

tlind commented Feb 3, 2015

Looks like a duplicate of this issue: #143

The corresponding pull request #145 got merged 5 days ago. However, I believe you still need to explicitly specify the desired max. range in the config that is supplied to the depth packet processor, like this:

libfreenect2::DepthPacketProcessor::Config config;
config.MaxDepth = 10000;
packetPipeline->getDepthPacketProcessor()->setConfiguration(config);
device = freenect2.openDevice(camSerial, packetPipeline);

@MasWag
Copy link
Author

MasWag commented Feb 4, 2015

Sorry,I didn't read it. I tried and it works well.
Thanks.

@MasWag MasWag closed this as completed Feb 4, 2015
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