Open Warren93 opened 2 years ago
Ah OK looks like it's failing to fetch a dependency, as the error implies. Which would make sense, being offline and all. And here I though the single giant webgazer.js file would somehow magically do everything on it's own...
So I guess now it's just a matter of somehow gathering all the things webgazer tries to fetch and then sneakerneting them onto the offline machine
Yes, it looks like the latest facemesh, which was updated to fix a crash, retrieves models from online. The older facemesh does not, and there's probably some way to get the models offline too. Would be nice if someone looked into it!
Same issue as https://github.com/brownhci/WebGazer/issues/248
I am trying to run webgazer from an old portable Chromium version (61) on an offline computer (yes, I know it's an odd use case).
When I run the sample webgazer.setGazeListener code from https://webgazer.cs.brown.edu/ I get the error in the title. I am running this on a page served from a local Node.js server. The server doesn't use HTTPS by default, but I thought that might not matter since this is such an old version of Chromium (i.e. before various APIs started only working on secure origins).
I get a prompt to allow access to the webcam (an attached Logitech C920 since it's a desktop), which I allow, but the error still appears. Based on the code at the line number mentioned in the error stack trace (line 148496) it seems like there's an issue getting the stream from the webcam. But the webgazer face overlay canvas is created and I can see myself. However the setGazeListener does not run (doesn't print elapsed time as in example).