brownhci / WebGazer

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

Web App/Page freezes when Face goes out of Camera or has sudden movements #269

Open ghost opened 2 years ago

ghost commented 2 years ago

When the web page loads, with a face present in the camera box, it will work okay, but if I go out of the view of the camera and then come back even after a second, or If I move quick for the camera to be able to tell it's a face, it freezes, not the app, but only the projected points of the face and the red circle which tracks the gaze, the camera and the rest of the page works fine, just the processing of it stops. I read that it uses TensorFlow to detect Eyes and Face? Is there any way I can add it using my own way, just a video stream of face with Eyes and Face? Is so how?