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

Clipping via world coordinates #1

Open
ScottSWu opened this issue Feb 9, 2020 · 2 comments
Open

Clipping via world coordinates #1

ScottSWu opened this issue Feb 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@ScottSWu
Copy link

ScottSWu commented Feb 9, 2020

Hi, thanks for writing this plugin!
Just wanted to drop an idea based on how I was using the kinect.

A neat feature would be to use the Kinect's accelerometer or do some floor plane detection to determine real world XYZ coordinates, then clip the image using those coordinates.

For example, you could remove the floor from the scene, or a wall.

@SirLynix
Copy link
Owner

SirLynix commented Feb 9, 2020

Hey, thank you for your suggestion!

I can see how to get the floor clip plane (using IBodyFrame::get_FloorClipPlane), which may require a calibration step (since the floor is only detected when the body feet are), and deriving the wall from there (just asking the user to set their distance), and sure, that could be useful. I'll keep it in mind. Thanks for the idea!

About the accelerometer, I just got no idea how to even access it from the Kinect SDK API :-/

@SirLynix SirLynix added the enhancement New feature or request label Feb 9, 2020
@SirLynix
Copy link
Owner

SirLynix commented Dec 5, 2020

I started to use NuiSensorLib.lib (for KinectV2) which gives a lot more control and info about the sensor, including its accelerometer.

Which means I now have access to the accelerometer value for every Kinect model!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants