Last active
March 15, 2022 20:38
-
-
Save JacobMuchow/50d064f00a89fb17adbc00ebb680fde7 to your computer and use it in GitHub Desktop.
AvatarWebKit Example - start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let stream = await navigator.mediaDevices.getUserMedia({ | |
audio: false, | |
video: { | |
width: { ideal: 640 }, | |
height: { ideal: 360 }, | |
facingMode: 'user' | |
} | |
}) | |
predictor.start({ stream }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment