Archived - Intel® RealSense™ Navigation Library Sample Code

By Joseph K Olivas, Bryan Andrew Mackenzie, Published: 08/03/2015, Last Updated: 08/03/2015

The Intel® RealSense™ SDK has been discontinued. No ongoing support or updates will be available.

If you've used the Food Network* hands free navigation provided by the Intel® RealSense™ Experience for Web Browsers you've seen how easy no-touch navigation can be added. 

Intel has published the Intel® RealSense™ Navigation Library to make it easy to control web applications via gestures and voice commands.

The sample code provides an interface to the Intel® RealSense™ SDK for Web and includes code to:

  • Query if the system is Intel RealSense technology-capable and up to date (has runtime and DCM) & query for supported web browser.
  • Play/pause a video or select hyperlinks and other page elements using gestures (pinch, hover, tap) or voice commands.
  • Add custom Commands ("Hello"  and "monkey") to the default dictionary list of “page up”, “page down”, “scroll up” and “scroll down”. 
  • Add custom Alerts ("woohoo"  and "you said something").

    Browsers listed for support are Chrome*, Firefox* and Internet Explorer* (11 and up);  but like everything else in the code, can be easily expanded.

The sample code performs these basic steps:

  • Run dependency checks
  • Create an instance of the navigation library and a reference to the content object.
  • Add a user defined element and its callback for the given event (tap gesture).
  • Define the list of commands (in addition to the defaults) and a callback.
  • Initialize the navigation library (create the navigation elements for scrolling and initialize the gesture and speech modules of the Intel RealSense SDK.

Dependencies:

Download the libraries and sample code from GitHub*.

For information on available gestures and languages, see:

Note: This is based on early versions of the Intel RealSense for Web, and may be subject to change before final release.

About the Authors: Joe Olivas and Bryan Mackenzie are Application Engineers in Intel's Developer Relations Division who worked with Food Network and created and maintain the github project. They welcome your feedback and input to the OpenSource project on github

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804