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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 20 Ott 2018
Modificato: Walter Roberson il 23 Ott 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 Commenti
Mo'ath Al-Hayek
Mo'ath Al-Hayek il 23 Ott 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 il 23 Ott 2018
Change
vidObj = webcam;
to
vidObj = videoinput('kinect');
change
RGBFrame = snapshot(vidObj);
to
RGBFrame = getsnapshot(vidObj);

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by