Comments (2)
facing a similar issue in react app as well.
("react": "^17.0.1", "handtrackjs": "^0.1.5",)
error:
TypeError: t is not a function
at tf-core.esm.js:17:1
at tf-core.esm.js:17:1
at t.scopedRun (tf-core.esm.js:17:1)
at t.tidy (tf-core.esm.js:17:1)
at f (tf-core.esm.js:17:1)
at tf-core.esm.js:17:1
at t.scopedRun (tf-core.esm.js:17:1)
at t.runKernelFunc (tf-core.esm.js:17:1)
at t.runKernel (tf-core.esm.js:17:1)
at clone_ (clone.ts:47:1)
at clone__op (operation.ts:51:1)
at cloneTensor (utils.ts:162:1)
at Module.executeOp (control_executor.ts:131:1)
at operation_executor.ts:65:1
at executeOp (operation_executor.ts:115:1)
at GraphExecutor.processStack (graph_executor.ts:492:1)
at GraphExecutor.executeWithControlFlow (graph_executor.ts:439:1)
at GraphExecutor._executeAsync (graph_executor.ts:357:1)
at GraphExecutor.executeAsync (graph_executor.ts:321:1)
at GraphModel.executeAsync (graph_model.ts:362:1)
at ObjectDetection.load (index.js:171:1)
at async Module.load (index.js:93:1)
from handtrack.js.
I have a similar issue
also vue 3 + vite latest version
engine.ts:424
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'backend')
at _Engine.moveData (engine.ts:424:29)
at DataStorage.get (backend.ts:54:22)
at _MathBackendWebGL.incRef (backend_webgl.ts:204:34)
at Object.identity2 [as kernelFunc] (Identity.ts:27:11)
at kernelFunc (engine.ts:636:22)
at engine.ts:703:23
at _Engine.scopedRun (engine.ts:478:19)
at _Engine.runKernelFunc (engine.ts:699:10)
at _Engine.runKernel (engine.ts:543:17)
at clone_ (clone.ts:47:17)
any chance this gets fixed soon? i see this issue was opened on 2022...
from handtrack.js.
Related Issues (20)
- Cannot detect for live camera?
- Video hard coded set to 20px height? HOT 1
- Tracking hand rotation?
- handtrack.js on mobile (FPS is low)
- track finger instead of hand?
- Add issue templates or forms
- the predictions are an empty array even if my hand is visible in the camera
- model question: relationship to main repo, input sizes, unknown kernel ops
- post-processing optimization suggestion (with code)
- How would I disable Face Tracking? HOT 3
- How can I disable Face Tracking?
- My video is so small HOT 2
- customizing the demo
- Comparison with related frameworks? HOT 1
- Can we restrict only one hand tracking ie either right or left ?
- Add Typescript definitions HOT 1
- Background loading?
- ERROR Error: Uncaught (in promise): Error: Failed to compile fragment shader.
- No convex hull HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handtrack.js.