Skip to content

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

TypeScript

_init_.py fix

aaroncheriana9dcaab3a3fb
diff --git a/freemocap/__init__.py b/freemocap/__init__.py
index 1a0524c7..87a847ed 100644
--- a/freemocap/__init__.py
+++ b/freemocap/__init__.py
@@ -3,8 +3,8 @@ from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
-# from freemocap.fmc_runme import RunMe
-# from freemocap import fmc_demo, fmc_runme
+from freemocap.fmc_runme import RunMe
+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
@@ -37,10 +37,9 @@ del get_versions
# userDataPath,
# recordVid)
-# def RunDemo():
-# """
-# Will (eventually) download sample data from Figshare, and run the animation for it
-# """
-# sample_data_location, sample_data_name = fmc_demo.DemoSetup() #run a bunch of GUIs, get the location of the directory where the data folder with the sample data is
-# #fmc_runme.RunMe(sessionID = sample_data_name,stage = 5,useOpenPose = False, useMediaPipe = True,useDLC = True, userDataPath = sample_data_location)
-
+def RunDemo():
+ """
+ Will (eventually) download sample data from Figshare, and run the animation for it
+ """
+ sample_data_location, sample_data_name = fmc_demo.DemoSetup() #run a bunch of GUIs, get the location of the directory where the data folder with the sample data is
+ #fmc_runme.RunMe(sessionID = sample_data_name,stage = 5,useOpenPose = False, useMediaPipe = True,useDLC = True, userDataPath = sample_data_location)
\ No newline at end of file