How do I set specific properties for my source in Kinect v2?

1 view (last 30 days)
Hello,
I have been working for a week in an university thesis in wich the use of Kinect v2 camera is necessary, nowadays I've got a code that makes a good body tracking lecture and stream plots correctly at the same time.
Even so, I haven't been able to set the properties of my video input source.
In this link this is explained in a very clearfull way, nevertheless when I try to run something similar like:
src.BodyPosture='Seated';
or
set (getselectedsource(depthVid), 'BodyPosture', 'Seated');
an error pops up saying: Unrecognized property 'BodyPosture' for class 'videosource'.
This has sense once you check the properties of 'src':
set(src)
>> script
General Settings:
Tag
Device Specific Properties:
EnableBodyTracking:[ {off} | on ]
Then, if only EnableBodyTracking can be modified, how can I set properties like 'BodyPosture' or 'DepthMode'?
Thanks

Answers (1)

Shashank
Shashank on 14 Feb 2018
You are referring to the documentation corresponding to Kinect V1. For Kinect V2, please refer to this documentation link:
For more information, you can refer to this:
Hope this helps
- Shashank
  1 Comment
Borja Roca Romero
Borja Roca Romero on 27 Feb 2018
Hello Shashank,
Looking the documentation you refer to, I cannot find something like BodyPosture, just to Track 10 pts instead of 24.
Is BodyPosture no longer available in v2?
Thanks

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!