Free Motion Capture for Everyone πβ¨
TypeScript
mediapipe path fixes
Aaron Cherianbe5b37f3dd33
diff --git a/freemocap/fmc_mediapipe.py b/freemocap/fmc_mediapipe.pyindex bb8098bc..5b1c66b2 100644--- a/freemocap/fmc_mediapipe.py+++ b/freemocap/fmc_mediapipe.py@@ -141,8 +141,8 @@ def runMediaPipe(session, dummyRun=False):session.mediaPipe_jsonPathList = mediaPipe_jsonPathListsession.mediaPipe_imgPathList = mediaPipe_imgPathList- session.session_settings['mediaPipe_imgPathList'] = str(mediaPipe_imgPathList)- session.session_settings['mediaPipe_jsonPathList'] = str(mediaPipe_jsonPathList)+ session.session_settings['mediaPipe_imgPathList'] = mediaPipe_imgPathList_yaml+ session.session_settings['mediaPipe_jsonPathList'] = mediaPipe_jsonPathList_yaml#yaml = YAML()#data = yaml.load(session.yamlPath)diff --git a/freemocap/fmc_runme.py b/freemocap/fmc_runme.pyindex b845eeed..2640d3e1 100644--- a/freemocap/fmc_runme.py+++ b/freemocap/fmc_runme.py@@ -93,6 +93,7 @@ def Run(sessionID=None,# 3) If no sessionID was user-input, search the chosen directory for the last session createdif sesh.setDataPath == True:basePath = runmeGUI.RunChooseDataPathGUI(session)+ sesh.basePath = Path(basePath)#sesh.dataFolderPath = Path(basePath)/sesh.dataFolderNameelif sesh.userDataPath is not None:@@ -104,7 +105,7 @@ def Run(sessionID=None,except KeyError('Saved Data path not found, please choose a new one'):basePath = runmeGUI.RunChooseDataPathGUI(session)- dataFolder = Path(basePath)/sesh.dataFolderName+ dataFolder = Path(sesh.basePath)/sesh.dataFolderNamesesh.dataFolderPath = dataFolderif not dataFolder.exists():@@ -262,7 +263,7 @@ def Run(sessionID=None,print('Starting Skeleton Plotting')playskeleton.ReplaySkeleton_matplotlib(sesh,- vidType=1,+ vidType=0,startFrame=40,azimuth=-90,elevation=-80,