Free Motion Capture for Everyone πβ¨
TypeScript
Rotated videos not running from stage 2 of the pipeline bug fix
Aaron Cherianf5c15d79ec1c
diff --git a/freemocap/webcam/videotrim.py b/freemocap/webcam/videotrim.pyindex 33d36808..9b5a82dc 100644--- a/freemocap/webcam/videotrim.py+++ b/freemocap/webcam/videotrim.py@@ -15,7 +15,6 @@ def VideoTrim(session, vidList, ft, parameterDictionary, rotationState, numCamRatrueWidth = resWidth # creating true resWidth and resHeight in case we need to rotate our imagestrueHeight = resHeightcodec = parameterDictionary.get("codec")-postTrimmingTotalNumFrames = []for vid,cam,camNum in zip(vidList,camList,numCamRange): #iterate in parallel through camera identifiers and matching videosdiff --git a/freemocap/webcamGUI.py b/freemocap/webcamGUI.pyindex c29773e9..246ad8c6 100644--- a/freemocap/webcamGUI.py+++ b/freemocap/webcamGUI.py@@ -109,8 +109,8 @@ def initialize(session, stage, board):#from the config settings add the camera input parameters to parameter dictionarysession.parameterDictionary = session.session_settings['recording_parameters']['ParameterDict']- session.rotationInputs = session.session_settings['recording_parameters']['RotationInputs']-+ rotationDict = session.session_settings['recording_parameters']['RotationInputs']+ session.rotationInputs = list(rotationDict.values())#initialize the path to the timestamp csvcsvName = session.sessionID + '.csv'csvPath = session.sessionPath/csvName