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

3 vues (au cours des 30 derniers jours)
Mo'ath Al-Hayek
Mo'ath Al-Hayek le 20 Oct 2018
Commenté : Walter Roberson le 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.

Réponse acceptée

Walter Roberson
Walter Roberson le 20 Oct 2018
Modifié(e) : Walter Roberson le 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 commentaires
Mo'ath Al-Hayek
Mo'ath Al-Hayek le 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 le 23 Oct 2018
Change
vidObj = webcam;
to
vidObj = videoinput('kinect');
change
RGBFrame = snapshot(vidObj);
to
RGBFrame = getsnapshot(vidObj);

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by