Kinect streaming Color/Depth sync with IMAQ
이전 댓글 표시
Hi,
I'm trying to capture color and depth image at the 30FPS (Kinect default) and to save it on the disk.
The problem is to capture have the synchronization between both device and the same number of frames. Right now, I'm not able to achieve that really good.
Always have less frame or time sync problem or can only do it on a really short acquisition like 2 second. But I would like to do it like for a minute and maybe more.
Anyone have something to point ?
% code
colorVid = videoinput('kinect',1);
depthVid = videoinput('kinect',2);
colorVid.FramesPerTrigger = inf;
depthVid.FramesPerTrigger = inf;
Code for the disk logger and after I just to something like that :
% code
start([colorVid depthVid]);
wait([colorVid depthVid], 10);
stop([colorVid depthVid]);
and this is simple but still doesn't work well. I want to change the wait(...,10) with a GUI button start/stop later on, but first I would like to make it work well like that.
On disk, I took .avi for color and .mj2 for depth as specify by the doc.
thanks in advance,
Alex
댓글 수: 1
Alexandre Bizeau
2013년 9월 26일
편집: Alexandre Bizeau
2013년 9월 26일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Kinect For Windows Sensor에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!