iwant = cell([],1) ;
count = 0 ;
while ishandle(himg)
count = count+1 ;
trigger(depthVid);
[depthMap,~, depthMetaData] = getdata(depthVid);
iwant{count} = depthMetaData ;
imshow(depthMap, [0 4096]);
if sum(depthMetaData.IsSkeletonTracked) > 0
skeletonJoints = depthMetaData.JointDepthIndices(:,:,depthMetaData.IsSkeletonTracked);
hold on;
plot(skeletonJoints(:,1), skeletonJoints(:,2),'*');
hold off
end
end
Storing and update xy coordinate in realtime video
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
end
end
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?
0 commentaires
Réponse acceptée
KSSV
le 18 Avr 2018
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!