Giter Site home page Giter Site logo

[Bug]: High CPU usage about vrigunity HOT 2 OPEN

kariaro avatar kariaro commented on May 28, 2024
[Bug]: High CPU usage

from vrigunity.

Comments (2)

jlarisch avatar jlarisch commented on May 28, 2024 1

Hello there, thank you for the quick response ! And for doing this project.

Just follow the guide, no sucess, this using 50% when tracking and 12% when doing nothing.

Try my code with model_complexity in 1 and still much lower usage.

I used the medipipe CPU. Below there is a zip with my code. Take a look at the section "Ignoring empty camera frame", it might fix the high usage when is not tracking.

HandTracking.zip

this code is almost the example they use on ther website.

from vrigunity.

Kariaro avatar Kariaro commented on May 28, 2024

Iā€™m currently using model complexity 1 for the tool. This is a feature I really want to add! I can add this for the next version.

This tool performs better with lower camera resolutions (You could even try 140p). I wrote a small optimization guide: https://github.com/Kariaro/VRigUnity/wiki/Optimizing

The webcam fps will be limited by how fast the AI is. Higher resolutions makes the AI really slow.

Bone configuration will be fixed next version. The bone settings was experimental for a while.

One question:

  • Did you use mediapipe GPU in python or CPU?

from vrigunity.

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.