Giter Club home page Giter Club logo

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 dependabot[bot] avatar jonmatthis avatar snokamedia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blendarmocap's Issues

Left and Right hands are swapped

Was just trying out this add on to do some hand tracking and its very impressive, the problem ive run into is that the left and right hands are swapped. So my left hand ends up on the characters right hand, this causes some serious glitches as I have rotation limits in place, and the hand is trying to rotate in the wrong direction. Any idea how to fix this?

Thanks,
Steven

install dependencies error

when install dependencies, it going to wrong.
Command '['D:\Software\blender-3.0\3.0\python\bin\python.EXE', '-m', 'pip', 'install', 'mediapipe', '--user']' returned non-zero exit status 2.

App shouldn't require to run with admin privileges

I find it unsettling to have to run the app with admin privileges. There should be, instead, a workflow to enable the permissions required piecemeal. "Add yourself to this group, etc." Or maybe install the packages locally? Or somewhere where the normal users have access?

As a side-note, I run my app on Linux as a normal user and it works well, webcam and all.

Can't Start Detection

Hi! After I press the Start Detection button, there's an error command,

Error: Python: Traceback (most recent call last):
File "C:\Users*\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\blender\interface\detection_operator.py", line 47, in execute
self.init_detector(detection_type)
File "C:\Users*\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\blender\interface\detection_operator.py", line 56, in init_detector
from utils.open_cv import stream
File "C:\Users*\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\utils\open_cv\stream.py", line 1, in
import cv2
ModuleNotFoundError: No module named 'cv2'

location: :-1

And before that, there's no Install Dependencies button on add-ons preferences.

why? my webcam is Cl-eye Driver.

Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendArMocap-main\cgt_blender\interface\stream_detection_operator.py", line 40, in execute
self.init_detector(detection_type)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendArMocap-main\cgt_blender\interface\stream_detection_operator.py", line 60, in init_detector
self.tracking_handler.stream = stream.Webcam(camera_index=camera_index)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendArMocap-main\cgt_utils\stream.py", line 16, in init
raise IOError("Cannot open webcam")
OSError: Cannot open webcam

location: :-1

Invalid id to euler combat

In cgt_bridge/pose_drivers.py lines 227 and 230

shoulder_euler = self.try_get_euler(shoulder_rotation, offset, 7)
hip_euler = self.try_get_euler(hip_rotation, offset, 8)
contains invalid indexes for previos rotations in method try_get_euler. previos_rotations are initialized in euler_rotate for shoulder center and hip centers (indexes 47 and 48 instead of 7 and 8). Therefore method try_get_euler has never used previous poses and logs key error:
print(f"invalid id to euler combat {m_rot}, {self.frame}")

Console returns "non zero exit" while trying to install dependencies

Hi!

Console gave me this error when I was trying to install the dependencies:

Command '['C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE', '-m', 'pip', 'install', 'opencv-python']' returned non-zero exit status 1.

Ahh, I think something may be missing? Not sure what's going on honestly. This and This post may have an answer, but they both have wildly different responses.
I'm using Blender 3.0.0 on Windows 10 x64

Traceback error when activating plugin

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Users\MYUSERNAME\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-release\__init__.py", line 41, in <module>
    from utils import log
ImportError: cannot import name 'log' from 'utils' (C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\startup\bl_ui\utils.py)

This error pops up upon trying to check the box to activate the plugin. Both downloading from Github and Gumroad. Windows 10. Run as admin.

Python error when installing in Blender (Win64) as Admin

Traceback (most recent call last):
File "A:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\Paimon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main_init_.py", line 41, in
from utils import log
File "C:\Users\Paimon\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\utils.py", line 14, in
from . import maths
ImportError: attempted relative import with no known parent package

I tried in 3.0.1 and 3.1.0

Cannot install dependencies for Blender installed with Snap

Software Version
Ubuntu 20.04.4
Blender 3.1.2
Python 3.10.2

When I attempt to install the add-ons deps I get the error message Command '['/snap/blender/2106/3.1/python/bin/python3.10', '-m', 'pip', 'install', 'mediapipe']' returned non-zero exit status 1.. Here is the full console output as well:

$ blender
Read prefs: /home/oz/.config/blender/3.1/config/userpref.blend
BlendArMocap-release - Initializing...
PACKAGE: BlendArMocap-release
binary: /snap/blender/2106/blender
blender version: (3, 1, 2) exe: /snap/blender/2106/3.1/python/bin/python3.10
BlendArMocap-release - Dependencies installed: False
Registing BlendArMocap

Try to access dependencies
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: REQUIRED MODULE NOT FOUND
accessing pip installer
/snap/blender/2106/3.1/python/bin/python3.10 -m pip --version
pip 22.0.4 from /home/oz/.local/lib/python3.10/site-packages/pip (python 3.10)
['/snap/blender/2106/3.1/python/bin/python3.10', '-m', 'pip', 'install', '--upgrade', 'pip']
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in ./.local/lib/python3.10/site-packages (22.0.4)
Try to install: mediapipe
/snap/blender/2106/3.1/python/bin/python3.10 -m pip install mediapipe
/snap/blender/2106/3.1/python/bin/python3.10: No module named pip
INSTALL USING --USER TAG
 Command '['/snap/blender/2106/3.1/python/bin/python3.10', '-m', 'pip', 'install', 'mediapipe']' returned non-zero exit status 1.
/snap/blender/2106/3.1/python/bin/python3.10: No module named pip
accessing pip installer
/snap/blender/2106/3.1/python/bin/python3.10 -m pip --version
pip 22.0.4 from /home/oz/.local/lib/python3.10/site-packages/pip (python 3.10)
['/snap/blender/2106/3.1/python/bin/python3.10', '-m', 'pip', 'install', '--upgrade', 'pip']
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in ./.local/lib/python3.10/site-packages (22.0.4)
Try to install: mediapipe
/snap/blender/2106/3.1/python/bin/python3.10 -m pip install mediapipe
/snap/blender/2106/3.1/python/bin/python3.10: No module named pip
INSTALL USING --USER TAG
 Command '['/snap/blender/2106/3.1/python/bin/python3.10', '-m', 'pip', 'install', 'mediapipe']' returned non-zero exit status 1.
/snap/blender/2106/3.1/python/bin/python3.10: No module named pip
Saved session recovery to '/tmp/quit.blend'
Unregister BlendArMocap

Blender quit

When run with sudo blender, the output is the same except for this extra warning:

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

I ran the installation steps manually myself and they completed successfully:

$ /snap/blender/2106/3.1/python/bin/python3.10 -m pip install --user numpy mediapipe opencv-python
Requirement already satisfied: numpy in ./.local/lib/python3.10/site-packages (1.22.3)
Requirement already satisfied: mediapipe in ./.local/lib/python3.10/site-packages (0.8.9.1)
Requirement already satisfied: opencv-python in ./.local/lib/python3.10/site-packages (4.5.5.64)
Requirement already satisfied: opencv-contrib-python in ./.local/lib/python3.10/site-packages (from mediapipe) (4.5.5.64)
Requirement already satisfied: protobuf>=3.11.4 in ./.local/lib/python3.10/site-packages (from mediapipe) (3.20.0)
Requirement already satisfied: attrs>=19.1.0 in ./.local/lib/python3.10/site-packages (from mediapipe) (21.4.0)
Requirement already satisfied: matplotlib in ./.local/lib/python3.10/site-packages (from mediapipe) (3.5.1)
Requirement already satisfied: absl-py in ./.local/lib/python3.10/site-packages (from mediapipe) (1.0.0)
Requirement already satisfied: six in ./.local/lib/python3.10/site-packages (from absl-py->mediapipe) (1.16.0)
Requirement already satisfied: pillow>=6.2.0 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (9.1.0)
Requirement already satisfied: fonttools>=4.22.0 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (4.32.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (1.4.2)
Requirement already satisfied: packaging>=20.0 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (21.3)
Requirement already satisfied: python-dateutil>=2.7 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (2.8.2)
Requirement already satisfied: pyparsing>=2.2.1 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (3.0.8)
Requirement already satisfied: cycler>=0.10 in ./.local/lib/python3.10/site-packages (from matplotlib->mediapipe) (0.11.0)

The Blender Snap package is "unconfined," so I don't believe it is an issue with Snap sandboxing, but I could be mistaken. Is this perhaps a Blender 3 issue?

dependencies download on Mac M1

I have been faced this error

Command '['/Applications/Blender.app/Contents/Resources/3.0/python/bin/python3.9', '-m', 'pip', 'install', 'mediapipe', '--user']' returned non-zero exit status 1.

When try to download a mediapipe I had this error

error: could not find a version that satisfies the requirement mediapipe (from versions: none) error: no matching distribution found for mediapipe

Help Plz 😔

Error on camera

I don't have a webcam so I'm trying to use Droidcam + OBS instead of it to use my cell phone camera, however the video is getting like this, and if I try to choose another webcam besides number 0 and 1 it says it didn't find it. I installed all packages and it didn't returns me any error.

(Windows 11)
image

Cant install dependencies on addon even after updating python

Soo yeah, ive done every step correctly, opened up blender with privileges and tried to install the dependencies, but whenever i tried to, it always ended up bugging and leaving this message for me

Command '['C:\Program Files\Blender Foundation\Blender 2.91\2.91\python\bin\python.EXE', '-m', 'pip', 'install', 'mediapipe', '--user']' returned non-zero exit status 1.

[https://cdn.discordapp.com/attachments/869803787785736222/959992551958519848/unknown.png](And this message on the console)

I'm not sure whats happening, i tried to restart my pc, update python, run legacy versions, but none of them worked. What could be happening?

Hands are angled weirdly

Hello!

When applying captured hand movements, the hands never seem to be angled properly and always turning in unnatural ways. Is there any position I need to put my hand in so they stay straight forward instead of straight up or to the side?
Example:
aaaaaaaaaaaaaaaaaa3

Feature request LiDAR

iPhones have lidar and can be used as webcams.

This technology could potentially help with tracking.

MacOS dramas and a [partial] fix

Hey!

Trying to get this puppy running on MacOs on a Macbookpro M1 Max unit.

So, first thing that comes up is getting dependencies running. Mediapipe isn't officially packaged for arm64 based macs. However an unofficial package exists called "mediapipe-silicon". AFAIK it should be possible to fix that on a mac by editing BlendArMocap-release/src/cgt_blender/utils/install_dependencies.py

And change the lines after import bpy.app to

Dependency = namedtuple("Dependency", ["module", "package", "name"])
dependencies = (Dependency(module="mediapipe", package="mediapipe-silicon", name=None),
                Dependency(module="opencv-python", package=None, name="cv2"))

It should install after this. I think.

if it doesn't a command something like

/Applications/Blender.app/Contents/Resources/3.1/python/bin/pip3 install opencv-python
/Applications/Blender.app/Contents/Resources/3.1/python/bin/pip3 install mediapipe-silicon

ought do the job.

Now. What I've found from here is that Blender launched from the desktop by mashing the Blender.app (or launching it from spotlight) will crash out completely when running "start detection". My guess is its colliding with sandboxing and permissions for some reason.

HOWEVER

Running it from the command line seemed to work fine (Though I did do a xattr -d -r somethingorother.sandbox type thingo to remvoe sandboxing, not sure if necessary), however it is fairly buggy. Im not sure if its stuff others are seeing, if its something fixed in the github already, or its a side effect of my particular arangement of things. Its erratic though. Often if it fails, trying again works.

There are bugs about not enough, or too many values, unplugging from the observer (I wasnt actually aware this abstract base class stuff was actually in python, figured that was more a Java curse lol.

If you wish I can provide error dumps.

WITH ALL THAT SAID. Good work my dude! This is actually really good stuff. Its already more featureful than some commercial mocap things. Sure its buggy, but glory does come overnight, it takes work. And I really applaud what your doing. This true open-source integrated hands and face and body mocap from a single camera, built into blender could turn out a real game changer for this industry.

Some nice-to-haves:
Multi camera! Dont know if OpenCV and your own algorithms could be coerced to do this, but 3-4 $30 webcams + an aligment method would push this over the edge into a truly production useful solution.
Un-enumerate the camera drop down so we can work out what option refers to what camera (I have 5 cameras in my studio)

Havent checked out the transfer stuff yet. Will report back if its borked.

MediaPipe crash on fedora

hi after starting hand detection blender crash with this infos

sudo ./blender
Read prefs: /root/.config/blender/3.1/config/userpref.blend
2022-02-11 21:23:42,065 - app - DEBUG - REGISTERING BLENDARMOCAP (ui_registration.py:40)
2022-02-11 21:23:42,065 - app - DEBUG - <class '_blender.interface.ui_preferences.PREFERENCES_OT_install_dependencies_button'> (ui_registration.py:43)
2022-02-11 21:23:42,065 - app - DEBUG - <class '_blender.interface.ui_preferences.BLENDARMOCAP_preferences'> (ui_registration.py:43)
2022-02-11 21:23:42,066 - app - DEBUG - <class '_blender.interface.ui_panels.UI_PT_warning_panel'> (ui_registration.py:43)
2022-02-11 21:23:42,066 - app - DEBUG - TRY ACCESS INSTALLED DEPENDENCIES (ui_registration.py:47)
2022-02-11 21:23:42,066 - app - DEBUG - Dependency(module='mediapipe', package=None, name=None) (ui_registration.py:49)
2022-02-11 21:23:42,710 - app - DEBUG - Dependency(module='opencv-python', package=None, name='cv2') (ui_registration.py:49)
2022-02-11 21:23:42,710 - app - INFO - REGISTER BLENDARMOCAP INTERFACE (ui_registration.py:62)
2022-02-11 21:23:42,710 - app - DEBUG - <class '_blender.interface.properties.MyProperties'> (ui_registration.py:64)
2022-02-11 21:23:42,710 - app - DEBUG - <class '_blender.interface.ui_panels.UI_transfer_anim_button'> (ui_registration.py:64)
2022-02-11 21:23:42,710 - app - DEBUG - <class '_blender.interface.stream_detection_operator.WM_modal_detection_operator'> (ui_registration.py:64)
2022-02-11 21:23:42,710 - app - DEBUG - <class '_blender.interface.ui_panels.UI_PT_main_panel'> (ui_registration.py:64)
2022-02-11 21:24:04,483 - app - INFO - RUNNING MP AS TIMER DETECTION MODAL (stream_detection_operator.py:35)
2022-02-11 21:24:04,484 - app - INFO - INITIALIZING HAND DETECTION (stream_detection_operator.py:59)
2022-02-11 21:24:05,628 - app - DEBUG - OBSERVER ATTACHED FROM UPDATE LISTENER (events.py:15)
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Writing: /tmp/blender.crash.txt
[1]    44879 segmentation fault  sudo ./blender
❯ cat /tmp/blender.crash.txt
# Blender 3.1.0, Commit date: 2022-02-09 17:06, Hash d1202bd641ca
bpy.data.window_managers["WinMan"].addon_search = "moc"  # Property
bpy.context.scene.m_cgtinker_mediapipe.key_frame_step = 1  # Property

# backtrace
./blender(BLI_system_backtrace+0x20) [0xb32b0a0]
./blender() [0x112feda]
/lib64/libc.so.6(+0x42750) [0x7fb480429750]
./blender() [0x15cf089]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN6tflite8Subgraph11CleanupNodeEi+0x4d) [0x7fb44175999d]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN6tflite8SubgraphD1Ev+0x4f) [0x7fb441759a1f]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN6tflite8SubgraphD0Ev+0x12) [0x7fb441759c82]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN6tflite11InterpreterD1Ev+0x1ef) [0x7fb44176433f]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe4api226InferenceCalculatorCpuImpl5CloseEPNS_17CalculatorContextE+0x2c) [0x7fb4410ea44c]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe14CalculatorNode9CloseNodeERKN4absl12lts_202103246StatusEb+0x919) [0x7fb4417d6dd9]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe14CalculatorNode11ProcessNodeEPNS_17CalculatorContextE+0x1de) [0x7fb4417d72fe]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe8internal14SchedulerQueue17RunCalculatorNodeEPNS_14CalculatorNodeEPNS_17CalculatorContextE+0xfb) [0x7fb4417d11cb]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe8internal14SchedulerQueue11RunNextTaskEv+0x81) [0x7fb4417d1d31]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe10ThreadPool9RunWorkerEv+0xc4) [0x7fb44180c014]
/home/arpu/Downloads/blender-3.1.0-beta+v31.d1202bd641ca-linux.x86_64-release/3.1/python/lib/python3.10/site-packages/mediapipe/python/_framework_bindings.cpython-310-x86_64-linux-gnu.so(_ZN9mediapipe10ThreadPool12WorkerThread10ThreadBodyEPv+0x33d) [0x7fb44180c59d]
/lib64/libc.so.6(+0x8db1a) [0x7fb480474b1a]
/lib64/libc.so.6(+0x112650) [0x7fb4804f9650]

# Python backtrace


regression: 1.4.0 can't access webcam

Hi,
this is a great project, thank you for your hard work!

Version "BlendArMocap-beta-120.zip" (main branch) worked, but the dev branch downloaded on the 27th of March had the issue that the webcam window would not close anymore by pressing ESC and reopened immediately if closed by clicking on the X on the window header or using Alt-F4, so it was unusable. Also going back to the older version did not help, the issue persisted. Each version was removed before installing the new one.

Now with version 1.4.0 from main branch, the webcam window won't even open after clicking "start detection".

Blender 3.1.0, platform: manjaro stable

Error message:

Python: Traceback (most recent call last):
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_blender/interface/stream_detection_operator.py", line 39, in execute
    self.init_detector(detection_type)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_blender/interface/stream_detection_operator.py", line 59, in init_detector
    self.tracking_handler.stream = stream.Webcam(camera_index=camera_index)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_utils/stream.py", line 16, in __init__
    raise IOError("Cannot open webcam")
OSError: Cannot open webcam

location: <unknown location>:-1

After clicking it again:

Python: Exception ignored in: <function RealtimeDetector.__del__ at 0x7fc9d5033d90>
Traceback (most recent call last):
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_detection/abstract_detector.py", line 102, in __del__
    self.listener.detach(self.observer)
AttributeError: 'NoneType' object has no attribute 'detach'
Traceback (most recent call last):
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_blender/interface/stream_detection_operator.py", line 39, in execute
    self.init_detector(detection_type)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_blender/interface/stream_detection_operator.py", line 59, in init_detector
    self.tracking_handler.stream = stream.Webcam(camera_index=camera_index)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/src/cgt_utils/stream.py", line 16, in __init__
    raise IOError("Cannot open webcam")
OSError: Cannot open webcam

location: <unknown location>:-1

Webcam popup UI text invisible

image
The text on the buttons here seems to not be displaying properly, I am using arch linux with the GNOME desktop environment.

Video popup won't close

Install went well, I allready had the dependencies, I don't have a webcam so I used Splitcam to feed a video instead.
"Start Detection" works like a charm, but when I close the window showing mediapipe at work, it automatically reopen.
No more keypoints seems to be written, but I have to save and reopen my blender file to get rid of the video popup.

Windows 10
Blender 3.0.1

Unable to transfer animation

First of all, thanks for developing such great things,
I am playing around with the ArMocap and the Blendtrack 2.0 since a few days
and I couldn't really archive my first success with it but maybe reporting what
I get to see on my end might hopefully help you improving it.
I love the stuff you do so far and I hope it will get even better.

As written above my issue is to transfer the captured movement onto generated into a Rigify-Rig
(made from a a standard blender human rig)
I'm using a mac, running blender 3.0.0 (also tried other versions, elder and younger) but I always
get the same error (below) leading to no movement in the rig.

This is the error message, hope you have an Idea to solve this:

Error: Python: Traceback (most recent call last):
File "/Users/XYZ/Library/Application Support/Blender/3.0/scripts/addons/BlendArMocap-release/src/cgt_blender/interface/ui_panels.py", line 92, in execute
input_manager.transfer_animation()
File "/Users/XYZ/Library/Application Support/Blender/3.0/scripts/addons/BlendArMocap-release/src/cgt_blender/input_manager.py", line 19, in transfer_animation
selected_armature = user.selected_rig.name_full
AttributeError: 'NoneType' object has no attribute 'name_full'

location: :-1

Segfault on Ubuntu :(

Helo,
Wonderful project! What a gem! Congrats @cgtinker

But this wonderful plugin (1.4.1 and 1.5dev) in Blender 3.1.2 on Ubuntu 21.10 doesn't work as is.
In today's version (1.5.0dev); on hand detection with a human full metarig:

# Blender 2.93.3, Unknown revision
bpy.data.window_managers["WinMan"].addon_filter = 'User'  # Property
bpy.context.space_data.bookmarks_active = 0  # Property
Modules Installed (BlendArMocap-release) from '/home/pm/Documents/blender/BlendArMocap-release-v141.zip' into '/home/pm/.config/blender/2.93/scripts/addons'  # Info
Modules Installed (BlendArMocap-development) from '/home/pm/Documents/blender/BlendArMocap-development.zip' into '/home/pm/.config/blender/2.93/scripts/addons'  # Info
bpy.ops.object.armature_add(enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.editmode_toggle()  # Operator
bpy.ops.object.armature_human_metarig_add()  # Operator
bpy.context.scene.m_cgtinker_mediapipe.selected_rig = bpy.data.objects["metarig"]  # Property

# backtrace
blender(BLI_system_backtrace+0x37) [0x564c8d0a5497]
blender(+0xfdc443) [0x564c8b1d0443]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fd2cea79520]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0(+0x5263) [0x7fd1eeaa7263]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0(+0x548e) [0x7fd1eeaa748e]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0(+0x4ff5) [0x7fd1eeaa6ff5]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libxkbcommon-x11-c65ed502.so.0.0.0(xkb_x11_keymap_new_from_device+0x4f) [0x7fd1eeaa4caf]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libQt5XcbQpa-ca221f44.so.5.15.0(+0x3e418) [0x7fd1f0a4c418]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libQt5XcbQpa-ca221f44.so.5.15.0(_ZN14QtOpenCVPython14QXcbConnectionC1EPNS_19QXcbNativeInterfaceEbjPKc+0x264) [0x7fd1f0a47164]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/../../../../opencv_python.libs/libQt5XcbQpa-ca221f44.so.5.15.0(_ZN14QtOpenCVPython15QXcbIntegrationC1ERKNS_11QStringListERiPPc+0x2e7) [0x7fd1f0a49b47]
/usr/local/lib/python3.9/dist-packages/cv2/qt/plugins/platforms/libqxcb.so(+0x243f) [0x7fd2203c643f]
/usr/local/lib/python3.9/dist-packages/cv2/../opencv_python.libs/libQt5Gui-ba0a2070.so.5.15.0(_ZN14QtOpenCVPython22QGuiApplicationPrivate25createPlatformIntegrationEv+0x5ec) [0x7fd224fd2a6c]
/usr/local/lib/python3.9/dist-packages/cv2/../opencv_python.libs/libQt5Gui-ba0a2070.so.5.15.0(_ZN14QtOpenCVPython22QGuiApplicationPrivate21createEventDispatcherEv+0x30) [0x7fd224fd4010]
/usr/local/lib/python3.9/dist-packages/cv2/../opencv_python.libs/libQt5Core-39545cc7.so.5.15.0(_ZN14QtOpenCVPython23QCoreApplicationPrivate4initEv+0xab6) [0x7fd2249df2f6]
/usr/local/lib/python3.9/dist-packages/cv2/../opencv_python.libs/libQt5Gui-ba0a2070.so.5.15.0(_ZN14QtOpenCVPython22QGuiApplicationPrivate4initEv+0x1b) [0x7fd224fd6a3b]
/usr/local/lib/python3.9/dist-packages/cv2/../opencv_python.libs/libQt5Widgets-e69d94fb.so.5.15.0(_ZN14QtOpenCVPython19QApplicationPrivate4initEv+0x9) [0x7fd225925979]
/usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so(+0x12e73d8) [0x7fd228c113d8]
/usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so(+0x12f32dd) [0x7fd228c1d2dd]
/usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so(+0x12e17dc) [0x7fd228c0b7dc]
/usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so(+0x4ff223) [0x7fd227e29223]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x10dc73) [0x7fd2d0fe5c73]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x94) [0x7fd2d0fa1034]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x866c) [0x7fd2d0f530cc]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71dd3) [0x7fd2d0f49dd3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x6fd6) [0x7fd2d0f51a36]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71dd3) [0x7fd2d0f49dd3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x6fd6) [0x7fd2d0f51a36]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71dd3) [0x7fd2d0f49dd3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x6fd6) [0x7fd2d0f51a36]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71dd3) [0x7fd2d0f49dd3]
blender(+0x199aaca) [0x564c8bb8eaca]
blender(+0x1960142) [0x564c8bb54142]
blender(+0x13c78fe) [0x564c8b5bb8fe]
blender(+0x13ca044) [0x564c8b5be044]
blender(+0x13ca27c) [0x564c8b5be27c]
blender(wm_event_do_handlers+0x3f4) [0x564c8b5be9a4]
blender(WM_main+0x20) [0x564c8b57f7d0]
blender(main+0x2cb) [0x564c8b143e1b]
/lib/x86_64-linux-gnu/libc.so.6(+0x29fd0) [0x7fd2cea60fd0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7d) [0x7fd2cea6107d]
blender(_start+0x25) [0x564c8b1b01c5]

# Python backtrace
  File "/home/pm/.config/blender/2.93/scripts/addons/BlendArMocap-development/src/cgt_utils/stream.py", line 52 in draw
  File "/home/pm/.config/blender/2.93/scripts/addons/BlendArMocap-development/src/cgt_detection/abs_detector.py", line 63 in exec_detection
  File "/home/pm/.config/blender/2.93/scripts/addons/BlendArMocap-development/src/cgt_detection/detect_hands.py", line 16 in image_detection
  File "/home/pm/.config/blender/2.93/scripts/addons/BlendArMocap-development/src/cgt_blender/interface/ui_operators.py", line 140 in modal

All is installed using Blender deb package:
image

dependencies greyed out

I've run on win 11 steam version via admin elevation- unable to install dependencies. It is not clickable.
v3.1

Issue while installing dependencies (mac os 12.3.1, Blender 2.9.3)

I get the following error message when trying to get the add on to install dependencies. I have mediapipe etc already installed. Per the instructions, I opened blender in admin mode through sudo command in terminal. Watching the progress there, it looked like finding/installing modules wasn't actually the issue, the error seems to come afterwards?

I'd love to get this add on working!!

Read prefs: /var/root/Library/Application Support/Blender/2.93/config/userpref.blend
BlendArMocap-release - Initializing...
PACKAGE: BlendArMocap-release
binary: /Applications/Blender.app/Contents/MacOS/Blender
blender version: (2, 93, 9) exe: /Applications/Blender.app/Contents/Resources/2.93/python/bin/python3.9
BlendArMocap-release - Dependencies installed: False
Registing BlendArMocap

Try to access dependencies
Dependency(module='mediapipe', package=None, name=None)
Exception in module register(): /var/root/Library/Application Support/Blender/2.93/scripts/addons/BlendArMocap-release/init.py
Traceback (most recent call last):
File "/Applications/Blender.app/Contents/Resources/2.93/scripts/modules/addon_utils.py", line 386, in enable
mod.register()
File "/var/root/Library/Application Support/Blender/2.93/scripts/addons/BlendArMocap-release/init.py", line 45, in register
ui_registration.register()
File "/var/root/Library/Application Support/Blender/2.93/scripts/addons/BlendArMocap-release/src/cgt_blender/interface/ui_registration.py", line 40, in register
install_dependencies.import_module(module_name=dependency.module, global_name=dependency.name)
File "/var/root/Library/Application Support/Blender/2.93/scripts/addons/BlendArMocap-release/src/cgt_blender/utils/install_dependencies.py", line 54, in import_module
globals()[global_name] = importlib.import_module(global_name)
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/init.py", line 17, in
import mediapipe.python.solutions as solutions
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/python/solutions/init.py", line 17, in
import mediapipe.python.solutions.drawing_styles
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/python/solutions/drawing_styles.py", line 20, in
from mediapipe.python.solutions.drawing_utils import DrawingSpec
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/python/solutions/drawing_utils.py", line 25, in
from mediapipe.framework.formats import detection_pb2
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/framework/formats/detection_pb2.py", line 14, in
from mediapipe.framework.formats import location_data_pb2 as mediapipe_dot_framework_dot_formats_dot_location__data__pb2
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/framework/formats/location_data_pb2.py", line 14, in
from mediapipe.framework.formats.annotation import rasterization_pb2 as mediapipe_dot_framework_dot_formats_dot_annotation_dot_rasterization__pb2
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/mediapipe/framework/formats/annotation/rasterization_pb2.py", line 36, in
_descriptor.FieldDescriptor(
File "/Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 560, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Mocap for other rigs in blender

Great works! Is this also workable to rigs that doesn't have IK drivers? E.g. If I create a generic character in blender, can I still use this to rotate the bones?
Thanks.

In fullsize pose capture, root should be at feet

In pose capture, when I balance arms left and right, the whole body is seen as rotating around Y axis.
Even after zeroing hip center rotation, hip left and right Z locations, feet rotate around Y axis.
Here I had my 2 feet on the ground, only my hands are on the left:
image
selected are 3 hips curves (center Y rotation, Z locations for the 2 others) and you can see they are zero.
I don't know mediapipe and in the capture, I was not rotating on screen.

Is there a way to set root to feet for us non-dancers? 😄

VIDEO INPUT

Can we use recorded video instead of live camera?

Start Transfer Issue

Hi
I tried to "Start Transfer" but it did not work and I got these errors:

2022-02-07 18:36:32,067 - app - INFO - TRYING TO TRANSFER ANIMATION DATA FROM cgt_FACE TO metarig (input_manager.py:29)
2022-02-07 18:36:32,067 - app - ERROR - COLLECTION MAPPING FAILED FOR cgt_FACE (input_manager.py:38)
2022-02-07 18:36:37,424 - app - INFO - TRYING TO TRANSFER ANIMATION DATA FROM cgt_HANDS TO metarig (input_manager.py:29)
2022-02-07 18:36:37,424 - app - ERROR - COLLECTION MAPPING FAILED FOR cgt_HANDS (input_manager.py:38)
2022-02-07 18:36:39,643 - app - INFO - TRYING TO TRANSFER ANIMATION DATA FROM cgt_POSE TO metarig (input_manager.py:29)
2022-02-07 18:36:39,643 - app - ERROR - COLLECTION MAPPING FAILED FOR cgt_POSE (input_manager.py:38)

Before receiving this errors message, I did face, hands and body capture with "Start Detection" then Add rigify Human(meta-rig) and Select the on of cgt_FACE , HANDS and POSE from "Animation Transfer" panel and Select Armature "metarig" then press "Start Transfer" button,
blender 3
rigify 0.6.4

After install in addons, there's no dependencies pacakge button appears

Here's error note

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 386, in enable
mod.register()
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendArMocap-main_init_.py", line 45, in register
ui_registration.register()
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendArMocap-main\cgt_blender\interface\ui_registration.py", line 33, in register
register_class(m_class)
ValueError: register_class(...): already registered as a subclass 'PREFERENCES_OT_install_dependencies_button'

Who knows what happend, The same result with my VPN on/off .

Linux can't open camera by index cap_v4l

Hi, get this on fedora

[ WARN:[email protected]] global /io/opencv/modules/videoio/src/cap_v4l.cpp (889) open VIDEOIO(V4L2:/dev/video1): can't open camera by index
Python: Traceback (most recent call last):
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/_blender/interface/stream_detection_operator.py", line 47, in execute
    self.init_detector(detection_type)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/_blender/interface/stream_detection_operator.py", line 69, in init_detector
    self.tracking_handler.stream = stream.Webcam(camera_index=camera_index)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/utils/open_cv/stream.py", line 14, in __init__
    raise IOError("Cannot open webcam")
OSError: Cannot open webcam

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/_blender/interface/stream_detection_operator.py", line 47, in execute
    self.init_detector(detection_type)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/_blender/interface/stream_detection_operator.py", line 69, in init_detector
    self.tracking_handler.stream = stream.Webcam(camera_index=camera_index)
  File "/root/.config/blender/3.1/scripts/addons/BlendArMocap-main/utils/open_cv/stream.py", line 14, in __init__
    raise IOError("Cannot open webcam")
OSError: Cannot open webcam

location: <unknown location>:-1

OpenCV failed to install

Hello,

Ive started the Blender with admin privilege's but get this error ?

Installing collected packages: opencv-python
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\Blender\3.1\python\Lib\site-packages\cv2\cv2.pyd'
Consider using the --user option or check the permissions.

Using pre recorded videos instead of webcam

Hello is it possible to use pre-recorded videos of the desired animation instead of creating live videos with a webcam?
What is the ideal way to change the video setting for this application?

Thank you!

Similar Issue to Akikannblossom

This is the error I am getting, Running it as administrator. it continues to say "Module not found" and "unknown argument, loading as file: -m" which seems to be where it fails.

Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
accessing pip installer
Blender 2.80 (sub 75)
build date: 2019-07-29
build time: 09:44 AM
build commit date: 2019-07-29
build commit time: 14:47
build hash: f6cb5f54494e
build platform: Windows
build type:
build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP -openmp
build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc -openmp
build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221
build system: CMake
Try to install: mediapipe 1
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit
INSTALL USING SUPER USER
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit
Read blend: C:\Users\Snider\Desktop\Nick\GameDev Projects\Fighter Game\Blender\Character Mesh's\BaseModel.blend
accessing pip installer
Blender 2.80 (sub 75)
build date: 2019-07-29
build time: 09:44 AM
build commit date: 2019-07-29
build commit time: 14:47
build hash: f6cb5f54494e
build platform: Windows
build type:
build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP -openmp
build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc -openmp
build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221
build system: CMake
Try to install: mediapipe 1
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit
INSTALL USING SUPER USER
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit
reloading addon: BlendArMocap-main 1646294527.570284 1646299263.4900224 'C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\BlendArMocap-main\init.py'
Modules Installed () from 'C:\Users\Snider\Desktop\Nick\GameDev Projects\Fighter Game\Blender\BlendArMocap-beta-120.zip' into 'C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons'

UNREGISTER BLENDARMOCAP
addon_utils.disable: BlendArMocap-main not loaded
Modules Installed (BlendArMocap-main) from 'C:\Users\Snider\Desktop\Nick\GameDev Projects\Fighter Game\Blender\BlendArMocap-beta-120.zip' into 'C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons'
module changed on disk: 'C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\BlendArMocap-main\init.py' reloading...
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
Warning: This script was written Blender version 2.90.0 and might not function (correctly), though it is enabled

accessing pip installer
Blender 2.80 (sub 75)
build date: 2019-07-29
build time: 09:44 AM
build commit date: 2019-07-29
build commit time: 14:47
build hash: f6cb5f54494e
build platform: Windows
build type:
build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP -openmp
build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc -openmp
build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221
build system: CMake
Try to install: mediapipe 1
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit
INSTALL USING SUPER USER
Read prefs: C:\Users\Snider\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.80\python
DEPENDENCIES INSTALLED: False

REGISTERING BLENDARMOCAP
TRY ACCESS INSTALLED DEPENDENCIES
Dependency(module='mediapipe', package=None, name=None)
REGISTRATION FAILED: MODULE NOT FOUND
unknown argument, loading as file: -m
Error: Cannot read file 'C:\Program Files\Blender Foundation\Blender-m': No such file or directory
Error: argument has no '.blend' file extension, not using as new file, exiting! C:\Program Files\Blender Foundation\Blender-m
Saved session recovery to 'C:\Users\Snider\AppData\Local\Temp\quit.blend'

Blender quit

Unable to transfer animation

There may be something strange because of the translated English, Sorry.
I can capture the motion, but when I press "Start Transfer", the following message appears and it doesn't move.
スクリーンショット 2022-02-01 165021

What should I do?

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.