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

2 views (last 30 days)
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

Answers (2)

Madhura Suresh
Madhura Suresh on 23 Apr 2018
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 Comments
Peter Dusaitis
Peter Dusaitis on 23 Apr 2020
Hi, I am very interested in processing the infrared image. Any update on whether this might get done soon?
Ian Farewell
Ian Farewell on 11 Mar 2021
I am also interested in the infared stream for sterocalibration during simulink runs.

Sign in to comment.


Bruno Marta
Bruno Marta on 13 Jan 2020
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!