GithubHelp home page GithubHelp logo

Comments (5)

autotel avatar autotel commented on May 27, 2024

I found a solution that works for myself: I changed the detection model from BlazePose into MoveNet

simply changed the statement

const detector = await poseDetection.createDetector(
    poseDetection.SupportedModels.BlazePose,
    {
        runtime: 'tfjs',
        enableSmoothing: true,

    });

into

const detector = await poseDetection.createDetector(
    poseDetection.SupportedModels.MoveNet,
    {
        runtime: 'tfjs',
        enableSmoothing: true,

    });

and It works.
Still curious as to why BlazePose would output only NaNs without throwing any error.

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on May 27, 2024

Hi, @autotel

I apologize for the delayed response and good to hear that your issue got resolved after changing poseDetection.SupportedModels.BlazePose to poseDetection.SupportedModels.MoveNet, actually I'm trying to replicate the same behaviour from my end but after running npm run serve command I'm getting DONE Compiled successfully in 1414ms message when I'm trying run http://localhost:8080/?model=blazepose and http://localhost:8080/?model=MoveNet after clicking on Start Capture button I'm getting below error message even though I have given permission to my camera so do you have any idea why I'm getting below error, if so please guide me so I can replicate same behavior from my end also.

Here is error screenshot for reference :

image

Thank you for your cooperation and patience.

from tfjs.

github-actions avatar github-actions commented on May 27, 2024

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

from tfjs.

github-actions avatar github-actions commented on May 27, 2024

This issue was closed due to lack of activity after being marked stale for past 7 days.

from tfjs.

google-ml-butler avatar google-ml-butler commented on May 27, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tfjs.

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.