Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

fix __init__ bug

Jon7a5597457b24
diff --git a/freemocap/__init__.py b/freemocap/__init__.py
index 87a847ed..180eba9b 100644
--- a/freemocap/__init__.py
+++ b/freemocap/__init__.py
@@ -8,34 +8,34 @@ from freemocap import fmc_demo, fmc_runme
# from freemocap import fmc_runme, fmc_demo #JSM NOTE - there's gotta be a better way to do this lol
-# def RunMe(sessionID=None,
-# stage=1,
-# useOpenPose=True,
-# openPoseDummyRun=False,
-# useMediaPipe=False,
-# useDLC=False,
-# dlcConfigPath=None,
-# debug=False,
-# setDataPath=False,
-# userDataPath = None,
-# recordVid=False,
-# reconstructionConfidenceThreshold = .8,
-# charucoSquareSize = 36,
-# ):
-# """
-# Passes user-set values from the freemocap_runme_script to the fmc_runme.Run function (and allows the user to run the pipeline with just an fmc.RunMe command)
-# """
-# fmc_runme.Run(sessionID,
-# stage,
-# useOpenPose,
-# openPoseDummyRun,
-# useMediaPipe,
-# useDLC,
-# dlcConfigPath,
-# debug,
-# setDataPath,
-# userDataPath,
-# recordVid)
+def RunMe(sessionID=None,
+ stage=1,
+ useOpenPose=True,
+ openPoseDummyRun=False,
+ useMediaPipe=False,
+ useDLC=False,
+ dlcConfigPath=None,
+ debug=False,
+ setDataPath=False,
+ userDataPath = None,
+ recordVid=False,
+ reconstructionConfidenceThreshold = .8,
+ charucoSquareSize = 36,
+ ):
+ """
+ Passes user-set values from the freemocap_runme_script to the fmc_runme.Run function (and allows the user to run the pipeline with just an fmc.RunMe command)
+ """
+ fmc_runme.Run(sessionID,
+ stage,
+ useOpenPose,
+ openPoseDummyRun,
+ useMediaPipe,
+ useDLC,
+ dlcConfigPath,
+ debug,
+ setDataPath,
+ userDataPath,
+ recordVid)
def RunDemo():
"""