GithubHelp home page GithubHelp logo

az7dev / blendarmocap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cgtinker/blendarmocap

0.0 0.0 0.0 6.19 MB

realtime motion tracking in blender using mediapipe and rigify

License: GNU General Public License v3.0

Shell 0.13% Python 99.87%

blendarmocap's Introduction

BlendArMocap

BlendArMocap is a tool preform markerless tracking within Blender using Google’s Mediapipe. The main goal of the add-on is to efficiently transfer the generated detection results to rigs.

For more information, please refer to the documentation.

Discontinued

I cannot activly maintain BlendArMocap anymore, I may accept PR's and consider to transfer the ownership if someone plans to activly maintain it.

Features

  • Detection of Mediapipe detection results in stream or video
    • Calculation of rotations for mediapipe data
  • Import of Freemocap mediapipe session data
  • Transfer tracking data to rigs and generate new transfer configurations
    • currently, officially supports the transfer to generated rifigy rigs

Mediapipe Detection

Run Mediapipe within Blender to detect pose, hand, face or holistic features. BlendArMocap calculates rotation data based on the detection results at runtime to drive rigs.

Caution: Requires external dependencies which can be installed via the add-on preferences with elevated privileges.

Freemocap import

Freemocap session data can be saved in a session folder which then can be imported using BlendArMocap. To import session data to blender, set the path to the session directory and press the import button.

Transfer

Currently there's a preset configuration to transfer detection results to generated humanoid rifigy rigs. To transfer, just select the generated humaniod rig as transfer target and press the Transfer Button. The transfer is based on mapping objects which you can modify. The modifications you can save as own configurations.

You'll find the mapping objects in the collections generated while tracking such as cgt_HANDS. Mapping instructions are stored as object properties and can be modified in the object data properties panel (where the constraints live). Here the concept of mapping objects:

mapping_object: object with instructions and constraints
driver_object: generated driver based on instructions
target_object: copies values from driver_object via constraints

If you happen to create a configuration to support another rig, feel free to send it to me for sharing via [email protected].

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Copyright (C) Denys Hsu - cgtinker, cgtinker.com, [email protected]



For tutorials regarding my tools may check out my YouTube-Channel. If you want to support me you can become a Patreon.

blendarmocap's People

Contributors

cgtinker avatar jonmatthis avatar dependabot[bot] avatar

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.