- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I'm just getting started with my first RealSense projects and lately I've been trying to use gesture detection.
But everytime I try to create a PXCMHandConfiguration object by calling CreateActiveConfiguration(), a System.AccessViolationException occurs.
Even when I tried to run the Hello World Project provided by Intel it didn't work.
The code usually looks like this:
private PXCMSenseManager senseManager = PXCMSenseManager.CreateInstance();
senseManager.EnableHand();
senseManager.Init();
// Configure the Hand Module
private PXCMHandModule hand = senseManager.QueryHand();
private PXCMHandConfiguration handConfig = hand.CreateActiveConfiguration();
handConfig.EnableGesture("wave");
handConfig.EnableAllAlerts();
handConfig.ApplyChanges();
Does anyone have a suggestion what I'm doing wrong?
Thanks a lot
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jo.L,
Thank you for contacting us.
The first thing we'd like to check is that you're meeting both the hardware and software requirements needed to get Gesture Recognition going.
The Hardware requirements include a 4th generation (or later) Intel® CoreTM processor, a RealSense F200 and an available USB3 port.
The Software requirements include: Microsoft Windows* 8.1 (or later), The Intel RealSense Depth Camera Manager (DCM) for the F200 and the Intel RealSense SDK Web Runtime.
Please confirm you're meeting all these requirements.
We'd also like to know which SDK release you're using. This is because the RealSense SDK Web Runtime capability, which is a software requirement, is only available in the "2016 R2 SDK".
More information about the requirements, setup, sample code and its functions can be found here: https://software.intel.com/en-us/articles/building-gesture-recognition-web-apps-with-intel-realsense-sdk
We'll be waiting for your response.
-Sergio A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sergio,
thanks a lot for answering so fast.
Both the hardware and the software requirements should be met, and other features like the face detection work just fine.
But I'm using the SR300 and the SDK 2016 R3.
I use Microsoft Visual Studio 2017 and C# , just in case it matters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jo.L,
I believe the SDK you're using is the reason why you're getting unexpected errors. If you go to the Release notes of the SDK http://registrationcenter-download.intel.com/akdlm/irc_nas/9558/release_notes_RealSense_SDK_2016_R3.pdf , you can see that the RealSense Web Runtime is only available in SDK 2016 R2. Running the SDK Web Runtime with SDK R3, instead of SDK R2 is likely to cause errors.
You could try to use the previous SDK Release and try Gesture recognition to obtain better results. The link to SDK 2016 R2 is here: https://communities.intel.com/community/tech/realsense/blog/2017/04/19/direct-link-to-intel-realsense-sdk-2016-r2 https://communities.intel.com/community/tech/realsense/blog/2017/04/19/direct-link-to-intel-realsense-sdk-2016-r2 .
Let us know if this resolves your issues.
Regards,
-Sergio A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergio,
I see, thanks for explaining that to me. I'll work my way around it
regards
Jo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome! Thanks for your involvement in the community. Don't hesitate to come back if help is needed.
-Sergio A
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page