victordibia / handtrack.js

A library for prototyping realtime hand detection (bounding box), directly in the browser.
https://victordibia.com/handtrack.js/
MIT License
2.83k stars 250 forks source link

WebGL warning : Browser freeze when using Handtrack.js #32

Closed segobrsm closed 3 years ago

segobrsm commented 4 years ago

Hi!

I am using Handtrack.js which works well, however after a few minutes of use my browser freezes. I can't do anything with my computer, except hardly turning it off with the start button.

In my browser I have the following warning: WebGL warning: getBufferSubData: Reading from a buffer with usage other than *_READ causes pipeline stalls. Copy through a STREAM_READ buffer. refering to the file handtrack.min.js which I think is the origin of my problem.

Do you know if there's a solution for the multiple freezes ? I saw there's already a fixed issue in the Tensorflow.js project. Does Handtrack.js have a recent version of Tensorflow.js ?

I'm blocked in my work.. Thank :)