Comments (5)
to show if there is memory leak or not, you need to enable debug in configuration and collect browser logs, without that its just a speculation which is not actionable.
and yes, webworkers require offscreencanvas - there is no way around it.
from human.
Thank you for your response.
I have enabled debug mode and added some console.log statements for debugging.
Regarding the console results, there haven't been any error messages.
In the screenshot I provided (obtained through Mac's Web Inspector), the last console.log message before a forced page refresh is always "human.detect."
This has led me to suspect that it might be an out-of-memory (OOM) issue.
Sometimes, when performance is worse, it will display a message saying "A Problem Repeatedly Occurred on…" before a forced refresh.
I'm not entirely sure if the screenshots I have are what you were referring to. However, I have genuinely conducted numerous tests.
At times, the issue arises with just 5 images, while on other occasions, it can handle up to 18 images without any problems.
My biggest challenge is the lack of additional console information, which led me to this speculation.
However, as I mentioned earlier, when I disable the use of worker mode, the issue doesn't occur on an iPhone SE 2 (iOS 17.2.1).
I have also conducted similar tests on other phones without using worker mode:
iPhone 15 Plus, iOS 17.1 => OK
iPhone SE 3, iOS 16.6 => NG (This might be expected as it doesn't support OffscreenCanvas)
iPhone 11, iOS 17.2.1 => NG
I haven't yet tested it in worker mode, but I will do so.
In any case, thank you for your response.
from human.
Additional supplement
iPhone SE 2 (17.2.1) still automatically refreshes in non-worker mode. Previously, I only uploaded around 20 images, and there were no issues. However, today, when I uploaded more than 20, around 23 or 24, the problem started to occur.”
Thanks.
from human.
some devices/platforms are just not good enough for web-worker mode.
but if it works for 10 image and and break on 20 - there is no reason for that unless you're either submitting them in parallel or not doing cleanups in your code. i'm sorry i cant say more, but i really cannot spend time analyzing your code.
from human.
I think I will double-check my syntax on this end to see if there are any missing cleanups.
Thank you once again for your assistance.
from human.
Related Issues (20)
- Can not import ESM bundle for browser with NextJS 14 HOT 4
- Face IDs shift when a face disappears HOT 1
- About the gaze tracking HOT 1
- Webpack unable to handle @mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html HOT 3
- Human inferencing stops after ~5 mins on Chrome on Windows HOT 2
- Face recognition is not working HOT 8
- Questions on using the face meshes to make masks HOT 1
- The highest priority backend 'webgpu' has not yet been initialized. HOT 6
- camera images sometimes out of focus - adding focusMode? HOT 3
- Facing “Reference Error: tJ is not defined” error when trying to precompile using "npm run build" command. HOT 2
- Is it possible to detect pinch gesture with one hand 2 fingers or two hands each with 2 fingers HOT 2
- Blaze resized image normalization HOT 1
- Identification Failures near Glass Windows and Glasses HOT 2
- Is there any way to tell whether to wear a mask? HOT 3
- Recognizing the wrong person HOT 1
- TypeError: Human is not a constructor HOT 3
- error loading model: @vladmandic/human-models/models/blazeface.json TypeError: Failed to parse URL from @vladmandic/human-models/models/blazeface.json HOT 1
- Head Pose Estimation HOT 4
- Accessing leftEye/rightEye/mouth/nose face landmarks HOT 1
- How to use alternative face description models? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from human.