Jeffrey Gilbert
Jeffrey Gilbert
Yes. They really always are. It's worse if you plug in an external monitor because if you have one with a discrete gpu chip in it, that will then activate,...
Bumping this for relevance because i'm now working on doing the same thing and with offscreen canvas. [My project is here](https://github.com/jeffreytgilbert/goto-booth) if anyone wants to check out why. I'm rendering...
For those interested, there is a pull request open here which was a bit dated, but I've been working on. The OffscreenCanvas support doesn't appear that involved, but there doesn't...
@justadudewhohacks tfjs updates is a non-starter. Typescript wont have support for OffscreenCanvas until 3.5.0 and that's not officially released. Even if they do release it, it's currently buggy and TensorFlow...
` function isBrowser() { return typeof window === 'object' && typeof document !== 'undefined' && typeof HTMLImageElement !== 'undefined' && typeof HTMLCanvasElement !== 'undefined' && typeof HTMLVideoElement !== 'undefined' &&...
Ok, so I'm posting this update to let everyone in this thread know that it is possible today to fool both tensorflow and face-api.js into running in a web worker...
Here's what I'm seeing btw. I'm going to try your suggestion of looking at using a different model that might process faster.
Check this out. This is what I'm talking about when I'm making this correlation. When timers are used in bulk, they appear to mess up the process scheduling by spamming...
ok, possibly disproved the timer spam theory. I'm now pointing to the GPU work. While I was overwriting everything sacred (window, document, etc) I rewrote the setTimeout function so it...
**Timeout replacement code** // More really bad practices to fix closed libraries. Here we overload setTimeout to replace it with a flawed promise implementation which sometimes cant be canceled. let...