brownhci / WebGazer

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

(Fix #155) Remove redundant webgazer.params.showVideoPreview #157

Closed xanderkoo closed 4 years ago

xanderkoo commented 4 years ago

Removed webgazer.params.showVideoPreview, which blocks init() (which starts camera, gaze dot, etc.) in index.mjs when set to false.

Use webgazer.params.showVideo and webgazer.showVideo() instead to show/hide the camera feed preview.

Skylion007 commented 4 years ago

Are .gitignore files not working? It's committing the .map files

Skylion007 commented 4 years ago

Also why is there such a big change in the webgazer.js for a such a small delta. Hmm...

Skylion007 commented 4 years ago

Ah, you did npm run dev, that's why.

xanderkoo commented 4 years ago

Removed dist/webgazer.commonjs2.js.map, and redid it with npm run build.