Free Motion Capture for Everyone πβ¨
TypeScript
Merge branch 'blender_stuff' of https://github.com/jonmatthis/freemocap into blender_stuff
aaroncherianac5e6d5acb5c
diff --cc freemocap/fmc_runme.pyindex 3e6197ad,85b06c7f..cda94d20--- a/freemocap/fmc_runme.py+++ b/freemocap/fmc_runme.py@@@ -180,17 -174,14 +180,23 @@@ def RunMe(sessionID=Noneelse:print('Skipping Run MediaPipe')++++ if useBlender == True:+ #blenderExePath = Path('C:\Program Files\Blender Foundation\Blender 2.93')+ #os.chdir(blenderExePath)+ output = subprocess.run([blenderEXEpath, "--background", "--python", str(subprocessPath), "--", str(sesh.dataArrayPath/'mediaPipeSkel_3d.npy')], capture_output=True, text=True, check=True)+ print(output)+# %% Stage Five - Make Skreleton Animationif stage <= 5:+ if useBlender == True:+ blenderPath = startupGUI.RunChooseBlenderPathGUI(session)+ print("Saving out FreeMoCap Data as, like, a bunch of different formats I hope?")+ output = subprocess.run([str(blenderPath), "--background", "--python", "fmc_blender.py", "--", str(sesh.dataArrayPath/'mediaPipeSkel_3d.npy')], capture_output=True, text=True, check=True)+ print(output)+print('Starting Skeleton Plotting')play_skeleton_animation.PlaySkeletonAnimation(sesh,