MATLAB Answers


Is it possible to use the Kinect in Near Mode with the library included in the Image Acquisition toolbox?

Asked by Eduardo Velloso on 17 Jul 2013
Latest activity Commented on by Alexandre Bizeau on 26 Sep 2013

The native support for Kinect offered by the Image Acquisition TB is great, but I would like to use it in near mode. Is there any way of doing this?

If so, how?


1 Answer

Answer by Anchit Dhar
on 17 Jul 2013
Edited by Anchit Dhar
on 17 Jul 2013
 Accepted answer

It is possible to use the Kinect in Near mode with IMAQ toolbox. The Near mode can be set using the DepthMode property, which resides on the Source object. The following code snippet demonstrates this:

    % Create the object for the depth sensor
    vid = videoinput('kinect',2);
    src = vid.Source;


It's an auto calibration ? If we set Near on DepthMode with :,

Can we achieve nearest view like under 30 cm ?



The Kinect adaptor supports only Kinect for Windows devices. We do not support the Nyko Zoom device yet.


The Nyko zoom isn't a device, it more a lens you just add on your device to get distortions of the scene to get nearest and larger view space. I'll have a try on it and see if my result are better.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!