IntelRealSense / hand_tracking_samples

:wave: :ok_hand: research codebase for depth-based hand pose estimation using dynamics based tracking and CNNs
https://realsense.intel.com/
Apache License 2.0
217 stars 74 forks source link

Compiling #6

Open CsabaM opened 6 years ago

CsabaM commented 6 years ago

I just downloaded the solution and when I try to compile with VS2017 it gives an error message: Gl/gl.h no such file or directory What am I doing wrong ?

melax commented 6 years ago

gl.h is the header file for the opengl library - a very common 3d graphics library that has been a standard for many years. Its a bit surprising that it didn't get installed by default along with the rest of visual studio c++. It could be that with visual studio 17 it wasn't installed by default. according to:

it says:

"When you install Visual Studio 2017, select "Desktop development with C++" under "Workloads" in Visual Studio Installer"

So try going back to the visual studio installer and making sure it puts the desktop development sdks on your system.

CsabaM commented 6 years ago

Thanks melax! Compiling is done but now I got another issue. I'm using Intel RealSense D435 and D415 cameras. I already installed the SDK 2.0 and the cameras working with IntelRealSense Viewer but when I try to start the realtime-hand-tracker-vs2017_Win32.exe it says: No device found-FAIL.
Are these cameras supported by the App ?

melax commented 6 years ago

Not currently. the version of librealsense that supports D435 and D415 is different than the version in the third_party subfolder provided with this repo.

due to some minor api changes, the camera wrapper in dcam.h might need some updates to use the 2.0 version of the sdk.

the included CNN was trained on data collected from a sr300, so results on the D400 series cameras may differ.