BlendArMocap
BlendArMocap copied to clipboard
can't start detection with stream or movie
blender version is 3.0.1 after installing everything I pres the start detection button and it throws an error into me:
Python: Traceback (most recent call last): File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_blender\interface\ui_operators.py", line 140, in modal running = self.detection_handler.detector.image_detection() File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_detection\detect_face.py", line 30, in image_detection with self.solution.FaceMesh( File "C:\Users\дом\Desktop\blender-3.0.1-windows-x64\3.0\python\lib\site-packages\mediapipe\python\solutions\face_mesh.py", line 94, in init super().init( File "C:\Users\дом\Desktop\blender-3.0.1-windows-x64\3.0\python\lib\site-packages\mediapipe\python\solution_base.py", line 253, in init validated_graph.initialize( FileNotFoundError: The path does not exist.
location:
pls help me
Seems like an error within mediapipe. Which version of Blendarmocap / operating system U are using?
BlendArMocap - release 152 (that's how the downloaded file named), and Windows 10
actually I've misread the log. it states that you started movie detection without selecting a movie file. can u send me the log when you start a stream? or, make sure to select a movie file when starting the movie detection
this error shows up when I start a stream:
Python: Traceback (most recent call last): File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_blender\interface\ui_operators.py", line 140, in modal running = self.detection_handler.detector.image_detection() File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_detection\detect_pose.py", line 30, in image_detection with self.solution.Pose( File "C:\Users\дом\Desktop\blender-3.0.1-windows-x64\3.0\python\lib\site-packages\mediapipe\python\solutions\pose.py", line 146, in init super().init( File "C:\Users\дом\Desktop\blender-3.0.1-windows-x64\3.0\python\lib\site-packages\mediapipe\python\solution_base.py", line 253, in init validated_graph.initialize( FileNotFoundError: The path does not exist.
location:
And this error shows up when I start the movie detection:
Python: Traceback (most recent call last): File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_blender\interface\ui_operators.py", line 45, in execute selected_armature = user.selected_rig.name_full AttributeError: 'NoneType' object has no attribute 'name_full'
location:
But this error shows only after trying to transfer the animation from mp4
I think U tried to transfer while not having a generated rogify rig as target. You got to set the transfer target.
Besides, it seems like mediapipe has an issue in it self here, can U run as admin, uninstall the dependencies and reinstall? Then check if the error persists.
Nope. I did all this but the same error shows when I start a stream And this error shows when I try to transfer animation from mp4 (now with selected armature):
Python: Traceback (most recent call last): File "C:\Users\дом\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\BlendArMocap-main\src\cgt_blender\interface\ui_operators.py", line 53, in execute col_mapping[col](armature, driver_objects) KeyError: 'Collection'
location:
Please check the readme about the transfer. This time U didn't select a driver collection :>
U gotta select b.e. CGT_pose and a generated rigify rig.
No idea what's going on with the stream / cannot reproduce it either. Will revisit this in the future
Thank you for the help so far. How will I know that you've already done something to the stream? shall I simply check your github page sometimes or something like this?
You are welcome.
I'll keep this issue open till its fixed. Seems to be a new issue with mediapipe and there aren't resources available yet.
the new version of mediapipe (0.9.1) has better packaging than (0.8.x), so this is resolved