Skip to content
New issue

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

webgazer runtime error #307

Closed
RuidongLiu opened this issue May 25, 2023 · 2 comments
Closed

webgazer runtime error #307

RuidongLiu opened this issue May 25, 2023 · 2 comments

Comments

@RuidongLiu
Copy link

RuidongLiu commented May 25, 2023

install webgazer 3.1.2 using npm for a typescript project.

import webgaze from 'webgazer';

but having at runtime error

Uncaught TypeError: Cannot read properties of undefined (reading 'mediapipeFacemesh')
at new TFFaceMesh (facemesh.mjs:11:1)
@jeffhuang
Copy link
Contributor

Might be a typo?: webgaze

Or this? #304

@RuidongLiu
Copy link
Author

nvm, need to configure webpack for .mjs files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants