Code Monkey home page Code Monkey logo

Comments (9)

DavidEdi-6over6 avatar DavidEdi-6over6 commented on June 13, 2024 1

Hi, @DavidEdi-6over6 please could help me find at which line are you changing the maxIterationsPerAnimFrame to 1

Can you please share it with me?
Many Thanks,

clm.js line 48
params.maxIterationsPerAnimFrame = 1

But see auduno's response, this is not recommend

from clmtrackr.

fthues avatar fthues commented on June 13, 2024

We're seeing the same behavior as well.

from clmtrackr.

auduno avatar auduno commented on June 13, 2024

I can confirm this issue, I'll try to investigate the cause.

from clmtrackr.

auduno avatar auduno commented on June 13, 2024

It looks like the issue might be related to clmtrackr triggering too many updates per second. I've added a parameter in the dev-branch to limit the amount of iterations per animation frame, that seems to help.

Could you verify if the latest build in the dev-branch resolves the issue?

from clmtrackr.

DavidEdi-6over6 avatar DavidEdi-6over6 commented on June 13, 2024

@auduno Thanks for the quick response! Your last change made it a bit faster but it still very laggy.
I played with the maxIterationsPerAnimFrame parameter and I tried to change the value and the results are:
maxIterationsPerAnimFrame=2 , less laggy but still noticeable
maxIterationsPerAnimFrame=1, work fluently

from clmtrackr.

auduno avatar auduno commented on June 13, 2024

Hmm, it's a bit of a bummer to have to limit updates to 60 fps (which setting maxIterationsPerAnimFrame to 1 effectively does). I've been trying to figure out what changes in Mojave and/or Safari could cause the issue, but I haven't found anything obvious. Does anyone know exactly which Safari version introduced the issue?

from clmtrackr.

DavidEdi-6over6 avatar DavidEdi-6over6 commented on June 13, 2024

I saw it once I upgraded my Mac, 12.0.1 is the only version I got once my OS was upgraded..

from clmtrackr.

laurent-kouassi avatar laurent-kouassi commented on June 13, 2024

Hi, @DavidEdi-6over6 please could help me find at which line are you changing the maxIterationsPerAnimFrame to 1

Can you please share it with me?
Many Thanks,

from clmtrackr.

laurent-kouassi avatar laurent-kouassi commented on June 13, 2024

Thank you @DavidEdi-6over6
I still can't get the current position.
It's always false.

Do you have any hint on how to fix this issue?

Is it related to Canvas Size Video Size

from clmtrackr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.