Clear Filters
Clear Filters

Is there anyway that I can use the kinect as a webcam in Matlab?

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
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
Mo'ath Al-Hayek
Mo'ath Al-Hayek on 23 Oct 2018
Thanks a lot, I want to use the kinect as input camera ( Like the webcam ) so I can benefit from it and from its quality,
Walter Roberson
Walter Roberson on 23 Oct 2018
Change
vidObj = webcam;
to
vidObj = videoinput('kinect');
change
RGBFrame = snapshot(vidObj);
to
RGBFrame = getsnapshot(vidObj);

Sign in to comment.

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!