Hand/Background Isolation

VR   4.5K     
Realistic hand and background isolation!
217be7a2-f65b-49fd-b6f6-4d6f544fead5
Download Executable Available for Windows.

This virtual reality app requires the use of an Oculus Rift and a Rift-mounted Leap Motion Controller (using the VR Developer Mount or unofficial alternative).

Before using, enable "Allow Images" through the Leap Motion Control Panel to enable video passthrough. Available for Windows.

This is a proof of concept to show that realistic hand isolation is possible with proper occlusion and physics.

Method: The main feed is first segmented into hand and non-hand areas using a flood-fill. The non-hand areas are then made fully transparent and the foreground is tinted flesh-tone. The image plane is then moved forward and backward to match the depth of the hand for occlusion. After that a physical model of the hand is placed on top of the rendered one. The two modified files from the original demo are Assets\LeapMotion\Scripts\Utils\LeapImageRetriever.cs and Assets\LeapMotion\Shaders\LeapUndistorted.shader, the rest of it is just how the components are arranged in the scene.

Before using, enable "Allow Images" in the Leap Motion Control Panel.

  • Windows Only Binaries built with Leap SDK 2.1.2 and Oculus SDK 4.2 Beta