Kodi Community Forum
KinEmote - Kinect Driven Media Control (OpenNI based open source project for Windows) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: KinEmote - Kinect Driven Media Control (OpenNI based open source project for Windows) (/showthread.php?tid=87663)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


- spivack1212 - 2010-12-19

I am having trouble getting it to recognize my hand (running Windows 7 64bit). It connects just fine to XBMC, but no matter what I do, it will not ever respond to anything I do. Sounds to me like I'm having the same problem as Mastermayhem (the previous post), so maybe it's an issue with Windows 7?

Not sure if this is related, but I'm also unable to run any of the NITE samples included with the PrimeSense SDK. The error is a SideBySide Configuration error: "Activation context generation failed for "C:\Program Files (x86)\Prime Sense\NITE\Samples\Bin\Debug\Sample-Players.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis."

Edit: I installed this on a Virtual Machine running XP Pro SP3, but I still can't seem to get it to work. However, I was able to successfully run the NITE samples.

I've downloaded all the source code and can debug the app, so let me know if there is anything I can do to help sort through this...

This sounds really cool, and I'm really looking forward to testing this out!!


- Johnsel - 2010-12-20

If the NITE Samples run successful I really don't know why my program doesn't. Do you receive a notification in XBMC when it connects?


- spivack1212 - 2010-12-20

I was receiving the notification that the Kinect remote was connected, but I never got any hand recognized notifications. However, I was finally able to get it working...

I was looking at the code for the NITE PointViewer sample and noticed they initialize the NITE session manager using a different value for the strUseAsFocus parameter than you do.
Code:
g_pSessionManager->Initialize(&g_Context, "Click,Wave", "RaiseHand");
Code:
sessionManager = new XnMSessionManager(context, "Click", "RaiseHand");
I modified your code and switched the strUseAsFocus to "Click,Wave" as they do in the sample, and I am now successfully getting hand recognized notifications when I wave my hand. Maybe I just wasn't using the correct gesture before?

A huge thanks for posting this code, btw! I'm really excited to see how this evolves over time...


- spivack1212 - 2010-12-20

Hahaha. Well, this was definitely a case of user error. Apparently I missed the part on the first post that says 'It uses a push movement as "focus" gesture.' I switched the code back, did the push movement instead of flailing my arms around, and voila - works perfectly. It was a good exercise at least, as I was planning on delving into the code anyway, so what better way is there to get started... Cheers


- pdeg69 - 2010-12-20

Is it correct that PrimeSense driver is for Kinect camera and Kinect motor but no driver for audio? Tia.


- hotlobster - 2010-12-20

Quote:Is it correct that PrimeSense driver is for Kinect camera and Kinect motor but no driver for audio? Tia.

Yes it's not implemented yet.


- Mastermayhem - 2010-12-20

My hand is now reconized but XBMC is very hard to control, the cursor move very very fast but it's so fun.


- Johnsel - 2010-12-21

OpenKinect Motor driver + a small app to control the angle of the head uploaded on google code.

http://code.google.com/p/xbmc-kinect-remote/downloads/list


- pdeg69 - 2010-12-21

Thanks Johnsel. Besides Engadget I found you also @ KinectHacks.net :-)
http://kinecthacks.net/control-xbmc-using-a-virtual-horizontal-axis-kinect-openni/

Keep up the good work and thanks for sharing. Kind regards, Peter


- slopecarver - 2010-12-21

For controls I was thinking a menu/browser system like the one in the primesense video with a ton of controls simply as stated below(would require a custom skin/app overlay likely):

Right arm or left arm on the armrest of the couch, open palm left/right movement selects function/scroll. Forward back selects different menus, just like aeon had 3 levels for it's menus using the up/down keys. Fist selects whatever the slider is at.

Data required would be depth (3 levels), X-position, and palm size.


- Johnsel - 2010-12-21

I like the navigation style used in that video too, and I wanted to try that kind of navigation too. Sadly, I don't feel too much for creating my own skin just for Kinect Navigation. If another designer wants to help me out by creating a basic skin to use with this kind of navigation, feel free to contact me.


- griffindodd - 2010-12-21

We decided to name the project 'Kinemote' and we've posted a few more videos for you guys.

Looks like they are getting picked up by the Kinect community which is fun...

test Video Number 4


- pdeg69 - 2010-12-22

So, Johnsel and griffindodd you are working together and the 'Kinemote' (Kimo :-) ) for Boxee should also work on XBMC. Is this correct?

http://www.modmykinect.com/2010/12/21/gesture-control-medicine-control-boxee-cooliris/


- griffindodd - 2010-12-22

pdeg69 Wrote:So, Johnsel and griffindodd you are working together and the 'Kinemote' (Kimo :-) ) for Boxee should also work on XBMC. Is this correct?

http://www.modmykinect.com/2010/12/21/gesture-control-medicine-control-boxee-cooliris/

Yes we're working together on the Kinemote project.

Kinemote is actually written specifically for XBMC at this point, it just happens to work for Boxee if you tweak Boxee's EventServer listening port back to 9777 as they share the same foundation code.


- forbes256 - 2010-12-22

Tested and works well! I'm very excited to see how this progresses! Kinect may never see my 360 again!

Great work guys, keep it up!