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

조회 수: 3 (최근 30일)
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.

채택된 답변

Walter Roberson
Walter Roberson 2018년 10월 20일
편집: Walter Roberson 2018년 10월 23일
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
Mo'ath Al-Hayek
Mo'ath Al-Hayek 2018년 10월 23일
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 2018년 10월 23일
Change
vidObj = webcam;
to
vidObj = videoinput('kinect');
change
RGBFrame = snapshot(vidObj);
to
RGBFrame = getsnapshot(vidObj);

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by