GithubHelp home page GithubHelp logo

pinballswizard / vrcfacetracking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benaclejames/vrcfacetracking

0.0 0.0 0.0 144.74 MB

VRChat OSC App to allow AV3 Avatars to interact with Vive SRanipal Eye and Lip Tracking SDK

License: Apache License 2.0

Smalltalk 0.01% C# 100.00%

vrcfacetracking's Introduction

๐Ÿ‘€ VRCFaceTracking

Provides real eye tracking and lip tracking in VRChat via the HTC Vive Pro Eye's SRanipal SDK.

Discord

๐ŸŽฅ Demo

https://youtu.be/5h4_mYDcgzM

๐Ÿ›  Avatar Setup

For this app to work, you'll need to be using an avatar with the correct parameters or an avatar config file with the correct mappings. The system is designed to control your avatar's eyes and lips via simple blend states but what the parameters control is completely up to you.

Here is a template that you can use to add face/eye tracking to your avatar. You can replace the animations in the template with your own, or simply use this template as a reference. This template includes Oscmooth which is required to have your animations look smooth to other people! To have smooth animations in less parameters space, you can use Binary Parameters.

๐Ÿ‘€ Eye Parameters

It's not required to use all of these parameters. Similar to the setup of parameters with Unity Animation Controllers, these are all case-sensitive and must be copied EXACTLY as shown into your Avatar's base parameters. A typical setup might look something like this:

If your avatar uses bones for eye control, you can toss this controller on your additive layer for 1-1 gaze tracking, though you will still need to add blink/squeeze/widen blendshapes on your fx layer.

Please make sure you disable the built in simulated eye tracking in your avatar descriptor. This will almost certainly mess with things if left on. Personally, I've also had some issues with blink blendshapes being overrided by my gesture layer so if you can see your eyes fine but others see them half closed, I would reccomend removing your Additive layer so the default is not applied. It should say "None (Runtime Animator Controller)" if it's removed correctly.

Feel free to consult the wiki for a setup guide and more info as to what each parameter does

๐Ÿ‘„ Lip Parameters

There are a large number of parameters you can use for lip tracking.

Lip Tracking Setup Guide - Basic setup guide

Combined Lip Parameters - Combined parameters to group mutually exclusive face shapes.

Blend Shape Setup - Reference of standard blend shapes for to be used with facetracking

You can also refer to this visual guide from NeosVR on what the following API parameters do: https://casuallydotcat.wordpress.com/2020/02/10/the-ultimate-neos-blend-shape-guide-february-2020/

โ›“ External Modules

Use the following modules to add support for other hardware:

  • VRCFTVarjoModule - Adds support for Varjo eye tracking (Varjo Aero)
  • LiveLink - Adds support for LiveLink face tracking (iPhone)
  • PimaxEyeTracking - Adds support for Pimax eye tracking
  • VRCFTOmniceptModule - Adds support for HP Omnicept eye tracking
  • NoVRCFT - Adds support for webcam based eye and face tracking using NeosWCFaceTrack and OpenSeeFace

๐Ÿ‘‹ Credits

  • VIVE for the SRanipal SDK and their awesome hardware! โค

vrcfacetracking's People

Contributors

0x8080 avatar 200tigersbloxed avatar adjerry91 avatar aeroscripts avatar benaclejames avatar dfghiatus avatar gorialis avatar hai-vr avatar holadivinus avatar inconsolablecellist avatar m3gagluk avatar nkotech avatar pinballswizard avatar rantimess avatar regzo2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.