zonkypop / blendypose Goto Github PK
View Code? Open in Web Editor NEWBlender Motion Capture using your camera!
License: Apache License 2.0
Blender Motion Capture using your camera!
License: Apache License 2.0
Any ideas on the best way to animate a Blender character with this mocap data?
Some work on BVH output from mocap was done in python at: https://github.com/KevinLTT/video2bvh
A more recent conversion using bones is at: https://blog.tensorflow.org/2020/05/pose-animator-open-source-tool-to-bring-svg-characters-to-life.html
The following might be of interest for getting angles with numpy that could be applied to bones: https://www.youtube.com/watch?v=EgjwKM3KzGU
A solution within MediaPipe would be ideal.
Heres the error in the Info Log:
Traceback (most recent call last):
File "C:\Program Files (x86)\Blender_Launcher_v1.14.1_Windows_x64\stable\blender-3.6.4+stable.21bfc5e7fe3f\3.6\scripts\modules\addon_utils.py", line 333, in enable
mod = import(module_name)
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\PosePipe-main_init_.py", line 30, in
from PosePipe.core.Setups import *
ModuleNotFoundError: No module named 'PosePipe'
any facial mocap
Will you please take a look at https://github.com/carlosedubarreto/b3d_mocap_import and create a pull request to bring Mediapipe smoothing into that plugin? The code is fairly advanced but its output is jittering.
The developer says he would like to offer his code to help others.
"That code was shared so people could be able to use it as a starting point..."
Maybe you'll even find ideas there you can incorporate into Blendypose.
Thanks.
I tried to install and run this add-on in Blender 3.0, then the Blender just crashed.
Which is the best version of Blender to use this add-on?
閿欒: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\blendy_pose.py", line 119, in run_body
import cv2
ModuleNotFoundError: No module named 'cv2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\blendy_pose.py", line 377, in execute
if context.scene.settings.body_tracking: run_body("None")
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\blendy_pose.py", line 124, in run_body
install()
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\blendy_pose.py", line 59, in install
subprocess.check_call([sys.executable, "-m", "ensurepip"])
File "F:\Blender Foundation\Blender 2.83\2.83\python\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['F:\Blender Foundation\Blender 2.83\blender.exe', '-m', 'ensurepip']' returned non-zero exit status 1.
location: :-1
Hello there,
Thanks for your great work. could you provide me with any suggestions on how to retarget the blendy pose outcome to any 3D character in the blender?
Thanks
I have inserted the PosePipe plugin (https://github.com/SpectralVectors/PosePipe), it works perfectly, it has correctly transmitted the motion capture. (To see photo 01)
I understand that mocap needs a skeleton (rig) to associate to an avatar, I have added the skeleton without problem [Add --> Armature --> Human (MetaRig)]. The skeleton added. (To see photo 02)
Then, I have pressed the "Generate Bones" button, to join between the mocap points and the skeleton, they get an error: (To see photo 03)
Python: Traceback (most recent call last):
File "C:\Users\xxxxxxxx\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\PosePipe.py", line 557, in execute
bpy.data.armatures['Armature'].name = "Body_Skeleton"
KeyError: 'bpy_prop_collection[key]: key "Armature" not found'location: :-1
Whit Blender 2.93.9 LTS
I hope your help, I'm not a Blender expert, I love learning.
Thank you very much.
LuisFer
Photo 01: Mocap OK
Photo 02: The skeleton added and the "Generate Bones" button
Photo 03: Error
When I try to run the script into blender, Um facing the problem...
register_class(...):
Warning: 'BlendyPose' does not contain 'PT' with prefix and suffix
I'm using blender version 2.93.6
I am not familiar with blender,please help me finding the BlendyPose panel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.