Is there anyway that I can use the kinect as a webcam in Matlab?
1 view (last 30 days)
Show older comments
Mo'ath Al-Hayek
on 20 Oct 2018
Commented: Walter Roberson
on 23 Oct 2018
I want to use it in StreamingFaceRecognition.m
I don't know how to use the kinect camera as a webcam so I can capture image and process it.
0 Comments
Accepted Answer
Walter Roberson
on 20 Oct 2018
Edited: Walter Roberson
on 23 Oct 2018
Kinect v2 or Kinect For Windows v1 can be used with videoinput()
Kinect For Xbox v1 cannot be used for depth sensor in any release. For color it might be possible to get it to work with some older matlab.
4 Comments
Walter Roberson
on 23 Oct 2018
Change
vidObj = webcam;
to
vidObj = videoinput('kinect');
change
RGBFrame = snapshot(vidObj);
to
RGBFrame = getsnapshot(vidObj);
More Answers (0)
See Also
Categories
Find more on Kinect For Windows Sensor in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!