brownhci / WebGazer

WebGazer.js: Scalable Webcam EyeTracking Using User Interactions
https://webgazer.cs.brown.edu
Other
3.54k stars 536 forks source link

Fix @tensorflow-models/facemesh imports #232

Closed idiotWu closed 2 years ago

idiotWu commented 3 years ago

Resolves #223, resolves #172, and maybe #183

Well, this has been annoying since I (and everyone who uses modern build systems) have to use import webgazer from 'webgazer/dist/webgazer.commonjs2' instead of import webgazer from 'webgazer'. The import statement in src/facemesh.mjs was not correct, because that module does not have a default export.

jeffhuang commented 3 years ago

@Skylion007 any chance you could take a look at this? since you're the build guru :)

luisnomad commented 2 years ago

No activity?

jeffhuang commented 2 years ago

sorry for the delay. thank you