We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gum av not being recognized. Any idea how to fix this? this is how I've implemented:
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - GLTF / FACE TEST </title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> <script src="https://unpkg.com/@tensorflow/tfjs-core@2.7.0/dist/tf-core.js"></script> <script src="https://unpkg.com/@tensorflow/tfjs-converter@2.7.0/dist/tf-converter.js"></script> <script src="https://unpkg.com/@tensorflow/tfjs-backend-cpu@2.7.0/dist/tf-backend-cpu.js"></script> <script src="https://unpkg.com/@tensorflow/tfjs-backend-wasm@2.7.0/dist/tf-backend-wasm.js"></script> <script src="https://unpkg.com/@tensorflow/tfjs-backend-webgl@2.7.0/dist/tf-backend-webgl.js"></script> <script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/facemesh"></script> <style> gum-av, canvas { position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; } canvas { margin: auto; } #container { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: black; } #status { position: absolute; left: 0; top: 0; pointer-events: none; color: white; padding: 1em; font-family: roboto, sans-serif; z-index: 1; } gum-av { font-family: roboto, sans-serif; color: white; opacity: 0; transition: opacity 1s ease-out; } a { color: blue; } .control-inactive button { color: #888; } </style> </head> <body> <div id="container"></div> <div id="info"> <a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> GLTF / FACE TEST (model from <a href="https://www.mixamo.com/" target="_blank" rel="noopener">mixamo.com</a>)<br/> </div> <p id="status">Loading...</p> <div id="container"> <gum-av></gum-av> <canvas id="canvas"></canvas> </div> <script type="importmap"> { "imports": { "three": "../build/three.module.js", "three/addons/": "./jsm/", "gum": "/third_party/gum-av.js" } } </script> </body> </html>
The text was updated successfully, but these errors were encountered:
Solution:
added gum-av.js like this:
<script type="module"> import './third_party/gum-av.js' </script>
Sorry, something went wrong.
No branches or pull requests
gum av not being recognized. Any idea how to fix this? this is how I've implemented:
The text was updated successfully, but these errors were encountered: