inspirit / jsfeat

JavaScript Computer Vision library.
MIT License
2.74k stars 372 forks source link

video freeze in HAAR detection #40

Closed jeswcollins closed 8 years ago

jeswcollins commented 9 years ago

Thanks for this library.

Recently I noticed that in the HAAR (face) detection demo, the video freezes while running in Chrome. The FPS and HAAR detector times keep running (~50 fps, 16 ms), but the video appears frozen, typically within seconds. The BBF demo video freezes as well for me, although I haven't had much prior experience with that. The HAAR detection used to work fine for me months ago. Other demos (sobel, Fast Corners, YAPE included) run fine.

I have a version of jsfeat on my local machine that's at least months old, and worked fine, but now it also freezes. So my guess is the issue is with my browser or computer settings. My Chrome says it's up to date at 39.0.2171.95 m, though perhaps I should try a previous version.

Another odd behavior. If I change browser tabs, then change back, the video works again briefly before freezing again.

inspirit commented 9 years ago

looks like camera stream stop updating frames for some reason. when i change options the face rectangle change its position so the HAAR detector actually runs but always with the same frame...