Using both OpenNI and OpenNI2 in the same project - c++

Is possible to use both in the same project? actually they have different classes.
I want to do that because OpenNI2 has the driver for Microsoft Kinect, but the library PCL (Point Cloud Libraries) doesn't work yet with this version of OpennI, so i should use the previous version in order to do use them.
However, if there is a better way to use the kinect and, at the same time, use a library capables of meshing a cloud of point, it could be very helpful
ps: I'm using Visual Studio 2010, 32bits, c++
cheers, Maurizio.

As far as I know Nicolas Burrus nestk library supports both, OpenNI and OpenNI2 and also has a PCL integration.
You may want to check the nestk Homepage or nestk on GitHub. Some useful example can be found in the Wiki.

PCL is going to have OpenNI2 grabber. It is being developed and will be merged soon.

Related

Get non free modules OpenCV 2.4.13 Windows

I am having problems with OpenCV as I need to use SURF on my C++ Visual Studio 2015 project but apparently is not part of OpenCV 2.4.13 and needs to be downloaded separately.
What I specifically need is this package:
"opencv2/nonfree"
I've been looking over the Internet but I could not find anything, just a few tutorials for Ubuntu.
Does anyone know how to add these modules to the Windows version?
Thank you in advance for your time.

Building Assimp 3.2 from Source Without Using CMake

I am using Visual Studio 2015 Community Edition in C++. I just got done setting up the newest version of Boost v1.61.0 and boost seems to be working fine. I did this in advance since some of the functionality in Assimp depends on the Boost library. I have downloaded the newest version of Assimp 3.2 from here Assimp which is source only. I've read through the documentations, I've, searched here at stack, done google searches and even looked on youtube for how to build this from source code in Visual Studio and I am not able to find anything. Does anyone know the proper procedure to do this? Remember I am not using nor do I have CMake. It does not matter if I create a DLL or Lib. I can link either dynamically or statically; I just want to be able to use the newest version of Assimp in my OpenGL projects.

Kinect v2 sample code has undefined C++ headers

I have installed version 2 of Kinect that comes with an integrated developer's toolkit. Problem is that when I load the sample face tracking project (Face Basics D2D), a majority of C++'s own headers like windows.h, string library, strsafe etc come out to be undefined (although all of Kinect's own headers and libraries appear OK). Can you tell me exactly how I am supposed to run that code? What are the steps?
I would be really grateful for your help.
Thanks in advance.
P.S if i write a program myself, then those headers appear defined- completely normal.
Okay, so I finally found the answer:
Kinect v2 is ONLY compatible with visual studio 2013. kinect v1 is compatible with 2010.
Also if anyone wants to interface it with Matlab, you have to know that the support package available at
http://www.mathworks.com/matlabcentral/fileexchange/40445-image-acquisition-toolbox-support-package-for-kinect-for-windows-runtime
is only for v1 of kinect. If you use it with v2, it will detect Kinect as an adaptor but will not recognize its depth and color sensor device IDs. v2 of Kinect is fairly new, and does not have its Matlab interface yet.

Library for skeleton joint extraction with Kinect

I've done a few things with the Microsoft Research Kinect SDK. Getting the skeleton is super-easy and I'd like to do something similar in the context of a commercial project.
What is the best C++ library that is available today (even if that's not free / open source)?
Microsoft has published a commercial version of Kinect SDK here.
OpenNI + NITE seems to be an option but I could not find any explicit mention of commercial usage on the website.

VSTSDK and Visual Studio Express 2010

I am new to C++ and Visual Studio and have two questions:
Where do I need to put the VSTSDK so that VS recognizes it and I can use it in my projects?
Does anybody have some sample code for a VST host?
It doesn't matter where you put the VST SDK, as long as you tell Visual Studio. In Visual Studio, you can add any library and #include path, and that's what you'll need from the SDK.
I would also recommend checking out the Audacity Source Code for a VST hosting example. There used to be a great vsthost.cpp example on the web, too, but I can't seem to find it. =/
There are some few examples like, vsthost, vstboard, audacity.
vsthost is using asio only, the 2 others are using portaudio and portmidi.
vstboard is using Qt for gui, audacity uses wxwidget.
The problem is : what kind of host do you need (simple for one plug in ora complex one) Also, you should take a look at JUCE library which offers good features for all of that even if I would prefer the vstboard design (Qt + portaudio)
good luck