Software Archive
Read-only legacy content
17061 Discussions

Unity Tip: Avoiding Conflicts Between Face and Hands in RealSense

MartyG
Honored Contributor III
159 Views

Hi everyone,

I thought I'd share a useful new Unity tip.  Sometimes when you are using both hand-tracked and face-tracked objects in Unity, the face-tracked objects will sometimes be accidentally triggered by a movement of the hand if you have set the object's Start rule that activates tracking on that object to 'Always True' instead of the default 'Face Detected'.  

In these circumstances, using Face Detected as your Start rule can help avoid that face-driven object being influenced by the hand.  This is because when you are moving the hands, they tend to block the camera's tracking of the face if you are holding them midway up your chest or higher.  

This prevents the Face Detected rule from being activated, and so prevents the hands from mis-moving the face-driven object so long as the hands are front and center, since the face-powered object will be dormant until the hands move away and the camera can re-detect the facial features. 

0 Kudos
0 Replies
Reply