Free Motion Capture for Everyone πβ¨
TypeScript
bugfix in the previous bugfix lol
Jon Matthisbb70d0cded01
diff --git a/freemocap/fmc_runme.py b/freemocap/fmc_runme.pyindex 666eb868..817e2325 100644--- a/freemocap/fmc_runme.py+++ b/freemocap/fmc_runme.py@@ -38,6 +38,7 @@ def Run(sessionID=None,stage=1,useOpenPose=True,useMediaPipe=False,useDLC=True,d# sesh.dlcConfigPath = Path("C:\\Users\\jonma\\Dropbox\\GitKrakenRepos\\freemocap\\DLC_Models\\PinkGreenRedJugglingBalls-JSM-2021-05-31\\config.yaml")#sesh.dlcConfigPath = Path("C:\\Users\\jonma\\Desktop\\freemocap\\DLC_Models\\PinkGreenRedJugglingBalls-JSM-2021-05-31\\config.yaml")+ dataFolder = Path.cwd()/'Data'if dataFolder.exists():subfolders = [f.path for f in os.scandir(dataFolder) if f.is_dir()] # copy-pasta from who knows wheresesh.sessionID = Path(subfolders[-1]).stem # grab the name of the last folder in the list of subfolders