Hi there,

I would like to create a new project using the Microsoft Kinect Sensor.
As
 you may know there are some classes like mitkKinectDevice and 
mitkKinectController so there should also be a plugin to use the Kinect.
Apparently the Kinect Sensor is part of the Tof module.

Unfortunately I could not find a proper documentation on setting up a new 
project with Kinect support.

I generate a new solution using CMake with the following parameters:
-D
 MITK_BUILD_org.mitk.gui.qt.igtexamples:BOOL=ON -D 
MITK_BUILD_org.mitk.gui.qt.igttracking:BOOL=ON -D 
MITK_BUILD_org.mitk.gui.qt.toftutorial:BOOL=ON -D 
MITK_ENABLE_TOF_HARDWARE:BOOL=ON -D 
MITK_BUILD_org.mitk.gui.qt.tofutil:BOOL=ON -D 
MITK_USE_TOF_KINECT:BOOL=ON -D MITK_USE_OpenCV:Bool=ON -D 
OpenCV_DIR:PATH=D:/libs/opencv/build -D 
MITK_KINECT_INCLUDE_DIR:PATH=D:/libs/OpenNI/Include -D 
MITK_KINECT_LIB:FILEPATH=D:/libs/OpenNI/Lib64/openNI64.lib

I hope I fould all required properties to create the proper solution.

In the mitkTofHardware.cmake the INSTALL line is commented out:
#Begin Kinect hardware
[...]
  IF(WIN32)
   #INSTALL(FILES ${MITK_MESA_SDK_DIR}/bin/libMesaSR.dll DESTINATION bin 
CONFIGURATIONS Release)
  ENDIf(WIN32)
ENDIF(MITK_USE_TOF_KINECT)
#End Kinect Hardware

I removed the comment. Was it ok?


After building the solution and starting the mitkWorkbench, the app crashes in 
ctkPluginStorageSQL.cpp in Line 334:
ctkPluginStorageSQL::updateDB()
{
[...]
try
    {
      foreach (QSharedPointer<ctkPluginArchiveSQL> updatedPA, 
updatedPluginArchives)
      {
        insertArchive(updatedPA, &query);
      }
    }
[...]
}
Unhandled Exception at 0x00000000;

It also takes over 2 minutes to start/crash the app. 

I think there might be some other CMake properties which I have to set before 
building the solution.

Is the Kinect "plugin" ready to use or should I just include the source files 
in another way?
All suggestions are welcome! 


Greets,
Piotr








                                          
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to