Why is my Kinect metadata struct different?
1 回表示 (過去 30 日間)
古いコメントを表示
I have the Kinect for Xbox One with the adapter for Windows, and I am running r2017a.
When I use getdata from the depth videoinput object, I get a 10 x 1 struct that looks different from the one here. https://www.mathworks.com/help/imaq/acquiring-image-and-skeletal-data-using-the-kinect.html?requestedDomain=www.mathworks.com
depthVid = videoinput('kinect',2,'Depth_512x424');
start(depthVid);
[~, ~, metadata] = getdata(depthVid);
metadata =
10×1 struct array with fields:
AbsTime
BodyIndexFrame
BodyTrackingID
ColorJointIndices
DepthJointIndices
FrameNumber
HandLeftConfidence
HandLeftState
HandRightConfidence
HandRightState
IsBodyTracked
JointPositions
JointTrackingState
RelativeFrame
TriggerIndex
I especially need the IsSkeletonTracked field, but I am not sure why it is not listed.
0 件のコメント
回答 (2 件)
Sahir Moreno
2017 年 11 月 7 日
Hi! is because you checked the metadata from the kinect V1 and you are using the kinect v2 in this case the "IsBodyTracked" property is the same as "IsSkeletonTracked", also the parameters changed and you only have to write "on" to activate the property. This link indicates the properties of kinect v2 for skeleton data:
https://www.mathworks.com/help/supportpkg/kinectforwindowsruntime/ug/acquire-image-and-body-data-using-kinect-v2.html
0 件のコメント
Jose Marques
2017 年 9 月 8 日
Hello. Maybe "IsBodyTracked" is the same property that "IsSkeletonTracked".
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Acquisition Using Kinect for Windows Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!