daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Nov 21st, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vid = videoinput('kinect',1);
  2. set(vid, 'framesperTrigger', 30, 'TriggerRepeat', Inf);
  3. nBands = get(vid, 'NumberOfBands');
  4. res=get(vid, 'Videoresolution');
  5. start(vid);
  6. prepstream = imshow(zeros([res nBands]));
  7.  
  8. figure;
  9. res2=get(vid2, 'Videoresolution');
RAW Paste Data
Top