none
How can i get kinect serial number with KinectSDK1.8 RRS feed

  • Question

  • Now I'm getting depth datas and color datas from 4 Kinect with Kinect SDK 1.8.

    I use Windows 8, Visual Studio 2013, Kinect SDK 1.8 and Kinect v1 × 4



    /***** getINuiSensor Instance *****/	
    
    INuiSensor* sensor;	
    HRESULT result = S_OK;		//	device_id : 0~3	
    
    result = NuiCreateSensorByIndex((int)std::stoi(device_id),&sensor);




    But this way, the couple of the Kinect and "device_id" 
    such as the order of the device connection is changed.

    Therefore, in order to specify the device to start more explicitly,
    I would like to know how to get the serial number of kinect on Windows.

    I know the way that There is a way to get INuiSensor Instance 
    by a serial number getting from the device manager with OpenNI.

    With Kinect SDK, how to get the INuiSensor Instance using the serial number ?
    If Kinect SDK have no way it, please tell me some good ideas about that.
    Monday, February 23, 2015 5:04 PM

All replies

  • The serial number is printed on the sensor. We do not provide an api that gives you the serial number of the device.

    As for the api you are using, that will only provide a unique identifier for the port the device is connected to. Plugging in another Kinect device to the same USB2 port will get you the same value. See other threads that discuss this.

    There is nothing at a Kinect SDK level that will allow you to identify the exact device. You may need to look at Win32/OS level api's to see what is exposed through the raw driver. A tool to query the device that will let you see what these api's can provide is USBView.


    Carmine Sirignano - MSFT

    Tuesday, February 24, 2015 7:11 PM