none
PHIZ hands data without KinectCoreWindow RRS feed

  • Question

  • Hi everyone,

    i have a question. I'm using Kinect SDK 2.0 and i need PHIZ hands data. The only way i've found is to use a KinectCoreWindow object and its KinectCoreWindow.PointerMoved Event to provide hands data like 'IsEngaged','HandReachExtent','UnclampedPosition', and others.(Controls Basics sample in SDK)

    My application starts iconized in system tray and i wanna use hands phiz data to move mouse over other applications windows (like browsers, texteditor, ms paint, ecc..) , but PHIZ data won't be generate until i maximize my app window which represent the KinectCoreWindow.

    My question is: It is possible to make Kinect generate PHIZ hands data without using a KinectCoreWindow? and

    if not, Is it possible to assing the desktop handle (or the video device context handle) to KinectCoreWindow?

    Thank you and sorry for my not perfect english..

    Bye.

    Roberto Aldà

    Wednesday, September 10, 2014 9:12 AM

Answers

  • Kinect for Windows v2 requires a KinectCoreWindow to get hand pointer data.

    You asked a follow up "is it possible to assigning the desktop handle (or the video device context handle) to KinectCoreWindow:

    • We identify the “active” connection to/from a client process by whether it owns the HWND that the system currently considers foreground (GetForgroundWindow).
    • We don’t provide a mechanism through which an app can supply an arbitrary HWND to be considered owned and I don’t believe it is possible to re-parent the root desktop HWND.

    Thanks, Rob Relyea
    http://twitter.com/rrelyea


    Rob Relyea [MSFT] http://twitter.com/rrelyea

    Friday, September 12, 2014 9:20 PM

All replies

  • Kinect for Windows v2 requires a KinectCoreWindow to get hand pointer data.

    You asked a follow up "is it possible to assigning the desktop handle (or the video device context handle) to KinectCoreWindow:

    • We identify the “active” connection to/from a client process by whether it owns the HWND that the system currently considers foreground (GetForgroundWindow).
    • We don’t provide a mechanism through which an app can supply an arbitrary HWND to be considered owned and I don’t believe it is possible to re-parent the root desktop HWND.

    Thanks, Rob Relyea
    http://twitter.com/rrelyea


    Rob Relyea [MSFT] http://twitter.com/rrelyea

    Friday, September 12, 2014 9:20 PM
  • Ok,

    i hope this follow up can be done soon.

    Thank you for the reply,

    bye.

    Tuesday, September 16, 2014 2:30 PM