How to remove or replace default Kinect v2 Gestures - wpf

I am currently working on a WPF project and is required to do clench to select instead of the default press and release gesture.
I have search high and low for a guide or tutorial on it but was unable to find any up to date resources sadly.
These are the current default gestures.
Where can I find the default gesture files so i can remove the logic or if i am able to replace and overwrite the current code to have a kinect cursor selection.
Thanks in advance!

Where can I find the default gesture files so i can remove the logic
You can't find them since Kinect SDK is not open source. Source is not available.
if i am able to replace and overwrite the current code to have a
kinect cursor selection.
Yes you can, you need to implement your self using skeleton joint data of the Bodyframe.
For example I have implemented following gestures in my project VRInteraction
Engage and disengage gestures
Click gesture
Rotation gesture
Swipe gesture
Video demo
If you need more info, you can read the IEEE paper
Model-Free 3D Interaction with Rotation and Swipe Gestures Using Kinect
If you need code reference,
VRInteraction in github
https://github.com/shanilfernando/VRInteraction/blob/master/Gesture.cpp
If you have more questions, please comment here, I'm more than happy to help you.

Related

How to use right hand gesture in kinect v2?

I am using kinect (V2) for developing a gesture based application in WPF. I am able to scroll the image, zoom it, get the click event. Now what i need to do is use the right click gesture using kinect. What is the gesture to use right click using kinect or do i need to write any custom code to achieve it. I need to use the right click using gesture in kinect ? Could you please help me with it?
Implementing a gestural system is not the same of implementing a WIMP (Windows-Icons-Menu-Pointer) interface. So you should probably completely overcome the idea of interacting with a desktop and "use a mouse via gestures". If you will decide to follow this latter (wrong) idea, you will risk to produce a not-so-usable interface.
Anyway, there is no standard "right-click gesture", and this is due to the fact that a gestural interface is different from a classical desktop GUI.
You should write some custom gesture to do this indeed.
For more information, take a look to the Human Interface Guidelines 2.0 by Microsoft.

how to use external camera with kinect sdk? i'm having complexity

I'm using Background Removal wpf sample with kinect.
i want to get input from webcam instead of kinect camera.
what is the best method to implement this?
The background removal with kinect is based on depth information provided by the kinect sensor. If you want to remove the background from the images provided by a webcam, the depth information is not availble and a fundamentally different approach is required.
See here to get an idea how this can be achieved.

Android - Mapsforge drag and drop marker

Im am using mapsforge in my Android app. I am looking for a way to make the marker dragable. The user should be able to mark a specific point on the map by moving the marker. I tried the mapsforge group as well but didnĀ“t find an answer. Has anyone succeeded in implenting drag and drop? Thank you for your help.

WPF - InkCanvas touchscreen problem

I'm developing a touchscreen application, touchscreen overlay comes with its own SDK which disables all of the WPF default features. For example if I don't use this SDK i can easily draw on InkCanvas, program sees the overlay as a mouse input, but when I use this SDK it just doesn't recognize gestures, there are great features in SDK so I really want to use that, I can get the position of the touch point so how can I configure the InkCanvas to recognize this point and make me able draw based on this point.
BTW, I can draw with mouse when I use the SDK.
Any idea?
Thanks in advance,
The best way is to not use the SDK if you can help it, and just use a multitouch driver. This simplifies things greatly. Once you have this driver you need to:
enable pen and touch in windows
respond to the TouchDown, TouchMove, and TouchUp events. the touches don't get translated into events the same way mouse clicks / drags do. Look at the "Raw Touch" section of this article.
if you dont have a driver, or you insist on using their SDK, you should still look into the Touch events I listed above, as these are most likely what you need.

Silverlight 4.0 - image cropping with mouse events

I have a task to build image cropping functionality in Silverlight 4.0 application. What I need to do is to have user on the left button mouse click select area to remain after cropping is applied and then call some other event (button click maybe) to apply that cropping itself.
I did develop similar functionality for rotation. I am pretty sure it is possible to do for cropping as well but that task is probably rare at this point for I can't find tutorials on the topic in the net.
If you guys can get me a snippet to begin with or point to some good tutorial about Silverlight 4.0 image cropping, I would appreciate it.
Thanks!
As far as cropping images are concerned you can use the WriteableBitmapEx library on codeplex.
Now you just need to draw a rectangle on a canvas containing the image to describe the crop region.

Resources