Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GaussianBlurBackgroundProcessor takes upwards of 8 seconds to load blur model #72

Open
7 tasks done
kNoAPP opened this issue Nov 17, 2023 · 0 comments
Open
7 tasks done
Labels
bug Something isn't working

Comments

@kNoAPP
Copy link

kNoAPP commented Nov 17, 2023

  • I have verified that the issue occurs with the latest twilio-video-processors.js release and is not marked as a known issue in the CHANGELOG.md.
  • I reviewed the Common Issues and open GitHub issues and verified that this report represents a potentially new issue.
  • I am not sharing any Personally Identifiable Information (PII)
    or sensitive account information (API keys, credentials, etc.) when reporting this issue.

Code to reproduce the issue:

    const background = new GaussianBlurBackgroundProcessor({
        assetsPath: "/twilio",
        maskBlurRadius: 15,
        blurFilterRadius: 35,
        pipeline: Pipeline.Canvas2D,
        debounce: true,
    });
    await background.loadModel();

Expected behavior:

await background.loadModel() should take at most 1-2 seconds.

Actual behavior:

await background.loadModel() takes upwards of 8 seconds to complete.

Software versions:

  • Browser(s): Chrome 119
  • Operating System: Windows 10
  • twilio-video-processors.js: 2.0.0
  • Third-party libraries (e.g., Angular, React, etc.): React
@kNoAPP kNoAPP added the bug Something isn't working label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant