How can I read IR stream from Kinect V2 in matlab?

I want to read the IR stream from kinect V2 xbox one in matlab 2018a. I tried with the image acquisition toolbox (Version 5.4) and I downloaded the Image Acquisition Toolbox Support Package for Kinect For Windows Sensor (https://es.mathworks.com/matlabcentral/fileexchange/40445-image-acquisition-toolbox-support-package-for-kinect-for-windows-sensor) but it still doesn't work. When I write 'vid=videoinput('kinect',1,'Infrared_640x480')' in the command window I get the following error:'The FORMAT specified is not supported by this device'. I did some research about MEX files and I found this ones:' https://sourceforge.net/projects/kinect-mex/' but when I try to execute them I get another error:'Invalid MEX-file'. Does someone have the same problem or know some valid Mex files and could explain me how to use them? Thank you in advance, Luis

Réponses (2)

Madhura Suresh
Madhura Suresh le 23 Avr 2018

1 vote

Hi Luis,
The infrared stream is not supported with the Kinect V2, but we do expose the depth stream and all the body tracking information. More information here .
We haven't had many users ask for the infrared stream yet, but we would consider adding that in a future release of the Image Acquisition Toolbox.
Madhura

4 commentaires

Hi there,
i would also be interested in the infrared image.
Regards
Franz
Madhura
I also need to process the infrared stream!! U know if there are any other addons which include that functionality?
Hi, I am very interested in processing the infrared image. Any update on whether this might get done soon?
I am also interested in the infared stream for sterocalibration during simulink runs.

Connectez-vous pour commenter.

Bruno Marta
Bruno Marta le 13 Jan 2020

0 votes

Yeah i also need the IR stream. I'll keep my fingers crossed they implement it shortly.

Community Treasure Hunt

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

Start Hunting!

Translated by