Recording Kinect video in GUI

2 ビュー (過去 30 日間)
MeEngr
MeEngr 2015 年 2 月 27 日
編集済み: MeEngr 2015 年 2 月 28 日
Hi all,
I'm using a MATLAB GUI to display a Kinect video that is being captured in real time. Does anybody know if and how it is possible to record this video while it is being captured, save it and have it available for viewing later in Windows Explorer? I should mention, it is the video appearing inside the axes that I want to record, i.e. the video with the person's skeleton overlaid on them.
Thanks!
  2 件のコメント
Joseph Cheng
Joseph Cheng 2015 年 2 月 27 日
how are you displaying the live video (ie updating the axes)
MeEngr
MeEngr 2015 年 2 月 28 日
編集済み: MeEngr 2015 年 2 月 28 日
for i = 1:max_frames
trigger([colorVid depthVid])
[imgColor, ts_color, metaData_Color] = getdata(colorVid);
[imgDepth, ts_depth, metaData_Depth] = getdata(depthVid);
imgColor = imgColor(:, :, :, 1);
if any(metaData_Depth.IsSkeletonTracked) == 0
imshow(imgColor);
else
trackedSkeletons = find(metaData_Depth.IsSkeletonTracked);
nSkeleton = length(1);
util_skeletonViewer(jointIndices, imgColor, nSkeleton);
end
end

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by