Skip to content

sid410/Gaze-Sharing-Demo-Hololens2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gaze-Sharing-Demo-Hololens2

Demo for sharing gaze between two Hololens2

Piano Demo:

PianoDemo

Full demo video here.

Vuforia Installation

Because vuforia package is too large for git, get Vuforia-10.7.2 and place in both Gaze-Sender/Packages and Gaze-Receiver/Packages directory before opening in Unity to install the package smoothly.

Heatmap

This project uses the Unity3D heatmap implementation of kDanik

heatmap

Calibration

This project uses Vuforia and Anchors to calibrate Sender and Receiver.

  1. Download and print the Vuforia stones image. (A3 size, use either the docx or jpg)
  2. When in Unity playmode and just want to debug, in AnchorScript.cs attached to Stage, set CalibOnStart value to false. Otherwise, don't forget to set to true before building and deploying in Hololens, else vuforia image tracking will be turned off initially.
  3. Trigger an OnManipulationEnded event on the blue cube (like grabbing then releasing) to place an anchor to where the stones image is located.
  4. Do this for both the Sender and Receiver project.
---

Reminders:

- In Unity Build Settings, switch platform to UWP.
- Open the GazeReceiver and GazeSender scenes respectively (the scene with Mqtt are for smartphone implementation).
- If there is problem with communication between Sender and Receiver, check firewall settings. Also check if in GazeSender, the ip address of the remote host located in OSCTransmitter is set correctly (default to 127.0.0.1 if both Unity projects run on the same PC).

About

Demo for sharing gaze between two Hololens2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 84.7%
  • ShaderLab 14.2%
  • HLSL 1.1%