while ishandle(himg) trigger(depthVid); [depthMap,~, depthMetaData] = getdata(depthVid);imshow(depthMap, [0 4096]); if sum(depthMetaData.IsSkeletonTracked) > 0 skeletonJoints = depthMetaData.JointDepthIndices(:,:,depthMetaData.IsSkeletonTracked); hold on; plot(skeletonJoints(:,1), skeletonJoints(:,2),'*'); hold off endend
Is there any way i can update the data that i store in depthMetaData as shown in the coding? if yes what should i add in ? if no , is there other way around?
Best Answer