Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Pose2Sim/Demo_Batch/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@


[project]
multi_person = false # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = 1.72 # m # float if single person, list of float if multi-person (same order as the Static trials) # Only used for marker augmentation
participant_mass = 70.0 # kg # Only used for marker augmentation and scaling
multi_person = false # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = 'auto' # 'auto', float (eg 1.72), or list of floats (eg [1.72, 1.40]) # meters # Only used for marker augmentation
participant_mass = 70.0 # float (eg 70.0), or list of floats (eg [70.0, 63.5]) # kg # Only used for marker augmentation and scaling, no impact on results unless you need to further compute forces rather than only kinematics

frame_rate = 'auto' # fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
frame_range = [] # For example [10,300], or [] for all frames.
Expand Down Expand Up @@ -183,6 +183,10 @@ make_c3d = true # also save triangulated data in c3d format
## "RAnkle", "LAnkle", "RHeel", "LHeel", "RSmallToe", "LSmallToe",
## "RBigToe", "LBigToe", "RElbow", "LElbow", "RWrist", "LWrist"]
make_c3d = true # save triangulated data in c3d format in addition to trc
fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)


[kinematics]
Expand All @@ -191,10 +195,6 @@ right_left_symmetry = true # true or false (lowercase) # Set to false only if yo

remove_individual_scaling_setup = true # true or false (lowercase) # If true, the individual scaling setup files are removed to avoid cluttering
remove_individual_IK_setup = true # true or false (lowercase) # If true, the individual IK setup files are removed to avoid cluttering
fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)


# CUSTOM skeleton, if you trained your own model from DeepLabCut or MMPose for example.
Expand Down
16 changes: 8 additions & 8 deletions Pose2Sim/Demo_Batch/Trial_1/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@


# [project]
# multi_person = false # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
# participant_height = 1.72 # m # float if single person, list of float if multi-person (same order as the Static trials) # Only used for marker augmentation
# participant_mass = 70.0 # kg # Only used for marker augmentation and scaling
# multi_person = false # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
# participant_height = 'auto' # 'auto', float (eg 1.72), or list of floats (eg [1.72, 1.40]) # meters # Only used for marker augmentation
# participant_mass = 70.0 # float (eg 70.0), or list of floats (eg [70.0, 63.5]) # kg # Only used for marker augmentation and scaling, no impact on results unless you need to further compute forces rather than only kinematics

# frame_rate = 'auto' # fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
# frame_range = [] # For example [10,300], or [] for all frames.
Expand Down Expand Up @@ -183,18 +183,18 @@
# ## "RAnkle", "LAnkle", "RHeel", "LHeel", "RSmallToe", "LSmallToe",
# ## "RBigToe", "LBigToe", "RElbow", "LElbow", "RWrist", "LWrist"]
# make_c3d = false # save triangulated data in c3d format in addition to trc

# fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
# close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
# large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
# trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)

# [kinematics]
# use_augmentation = true # true or false (lowercase) # Set to true if you want to use the model with augmented markers
# right_left_symmetry = true # true or false (lowercase) # Set to false only if you have good reasons to think the participant is not symmetrical (e.g. prosthetic limb)

# remove_individual_scaling_setup = true # true or false (lowercase) # If true, the individual scaling setup files are removed to avoid cluttering
# remove_individual_IK_setup = true # true or false (lowercase) # If true, the individual IK setup files are removed to avoid cluttering
# fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
# close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
# large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
# trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)



# # CUSTOM skeleton, if you trained your own model from DeepLabCut or MMPose for example.
Expand Down
23 changes: 12 additions & 11 deletions Pose2Sim/Demo_Batch/Trial_2/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@


[project]
multi_person = true # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = [1.72, 1.40] # m # float if single person, list of float if multi-person (same order as the Static trials) # Only used for marker augmentation
participant_mass = [70.0, 63.5] # kg # Only used for marker augmentation and scaling
multi_person = true # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = 'auto' # 'auto', float (eg 1.72), or list of floats (eg [1.72, 1.40]) # meters # Only used for marker augmentation
participant_mass = [70.0, 63.5] # float (eg 70.0), or list of floats (eg [70.0, 63.5]) # kg # Only used for marker augmentation and scaling, no impact on results unless you need to further compute forces rather than only kinematics

# frame_rate = 'auto' # fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
# frame_range = [] # For example [10,300], or [] for all frames.
Expand Down Expand Up @@ -56,6 +56,7 @@ participant_mass = [70.0, 63.5] # kg # Only used for marker augmentation and sca

[synchronization]
# display_sync_plots = true # true or false (lowercase)

keypoints_to_consider = ['RWrist'] # 'all' if all points should be considered, for example if the participant did not perform any particicular sharp movement. In this case, the capture needs to be 5-10 seconds long at least
# # ['RWrist', 'RElbow'] list of keypoint names if you want to specify keypoints with a sharp vertical motion.
# approx_time_maxspeed = 'auto' # 'auto' if you want to consider the whole capture (default, slower if long sequences)
Expand Down Expand Up @@ -147,17 +148,17 @@ keypoints_to_consider = ['RWrist'] # 'all' if all points should be considered, f
# interpolation = 'linear' #linear, slinear, quadratic, cubic, or none
# # 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# fill_large_gaps_with = 'last_value' # 'last_value', 'nan', or 'zeros'
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# fill_large_gaps_with = 'last_value' # 'last_value', 'nan', or 'zeros'
# handle_LR_swap = false # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# undistort_points = false # Better if distorted image (parallel lines curvy on the edge or at least one param > 10^-2), but unnecessary (and slightly slower) if distortions are low
# make_c3d = false # save triangulated data in c3d format in addition to trc
# make_c3d = true # save triangulated data in c3d format in addition to trc


# [filtering]
# type = 'butterworth' # butterworth, kalman, gaussian, LOESS, median, butterworth_on_speed
# display_figures = false # true or false (lowercase)
# make_c3d = false # also save triangulated data in c3d format
# make_c3d = true # also save triangulated data in c3d format

# [filtering.butterworth]
# order = 4
Expand All @@ -182,18 +183,18 @@ keypoints_to_consider = ['RWrist'] # 'all' if all points should be considered, f
# ## "RAnkle", "LAnkle", "RHeel", "LHeel", "RSmallToe", "LSmallToe",
# ## "RBigToe", "LBigToe", "RElbow", "LElbow", "RWrist", "LWrist"]
# make_c3d = false # save triangulated data in c3d format in addition to trc

# fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
# close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
# large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
# trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)

# [kinematics]
# use_augmentation = true # true or false (lowercase) # Set to true if you want to use the model with augmented markers
# right_left_symmetry = true # true or false (lowercase) # Set to false only if you have good reasons to think the participant is not symmetrical (e.g. prosthetic limb)

# remove_individual_scaling_setup = true # true or false (lowercase) # If true, the individual scaling setup files are removed to avoid cluttering
# remove_individual_IK_setup = true # true or false (lowercase) # If true, the individual IK setup files are removed to avoid cluttering
# fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
# close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
# large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
# trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)



# # CUSTOM skeleton, if you trained your own model from DeepLabCut or MMPose for example.
Expand Down
14 changes: 7 additions & 7 deletions Pose2Sim/Demo_MultiPerson/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

[project]
multi_person = true # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = [1.72, 1.40] # m # float if single person, list of float if multi-person (same order as the Static trials) # Only used for marker augmentation
participant_mass = [70.0, 63.5] # kg # Only used for marker augmentation and scaling
participant_height = 'auto' # 'auto', float (eg 1.72), or list of floats (eg [1.72, 1.40]) # meters # Only used for marker augmentation
participant_mass = [70.0, 63.5] # float (eg 70.0), or list of floats (eg [70.0, 63.5]) # kg # Only used for marker augmentation and scaling, no impact on results unless you need to further compute forces rather than only kinematics

frame_rate = 'auto' # fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
frame_range = [] # For example [10,300], or [] for all frames.
Expand Down Expand Up @@ -183,18 +183,18 @@ make_c3d = false # also save triangulated data in c3d format
## "RAnkle", "LAnkle", "RHeel", "LHeel", "RSmallToe", "LSmallToe",
## "RBigToe", "LBigToe", "RElbow", "LElbow", "RWrist", "LWrist"]
make_c3d = true # save triangulated data in c3d format in addition to trc

fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.05 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)

[kinematics]
use_augmentation = true # true or false (lowercase) # Set to true if you want to use the model with augmented markers
right_left_symmetry = true # true or false (lowercase) # Set to false only if you have good reasons to think the participant is not symmetrical (e.g. prosthetic limb)

remove_individual_scaling_setup = true # true or false (lowercase) # If true, the individual scaling setup files are removed to avoid cluttering
remove_individual_IK_setup = true # true or false (lowercase) # If true, the individual IK setup files are removed to avoid cluttering
fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)



# CUSTOM skeleton, if you trained your own model from DeepLabCut or MMPose for example.
Expand Down
14 changes: 7 additions & 7 deletions Pose2Sim/Demo_SinglePerson/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

[project]
multi_person = false # true for trials with multiple participants. If false, only the person with lowest reprojection error is analyzed.
participant_height = 1.72 # m # float if single person, list of float if multi-person (same order as the Static trials) # Only used for marker augmentation
participant_mass = 70.0 # kg # Only used for marker augmentation and scaling
participant_height = 'auto' # 'auto', float (eg 1.72), or list of floats (eg [1.72, 1.40]) # meters # Only used for marker augmentation
participant_mass = 70.0 # float (eg 70.0), or list of floats (eg [70.0, 63.5]) # kg # Only used for marker augmentation and scaling, no impact on results unless you need to further compute forces rather than only kinematics

frame_rate = 'auto' # fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
frame_range = [] # For example [10,300], or [] for all frames.
Expand Down Expand Up @@ -183,18 +183,18 @@ make_c3d = true # also save triangulated data in c3d format
## "RAnkle", "LAnkle", "RHeel", "LHeel", "RSmallToe", "LSmallToe",
## "RBigToe", "LBigToe", "RElbow", "LElbow", "RWrist", "LWrist"]
make_c3d = true # save triangulated data in c3d format in addition to trc

fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)

[kinematics]
use_augmentation = true # true or false (lowercase) # Set to true if you want to use the model with augmented markers
right_left_symmetry = true # true or false (lowercase) # Set to false only if you have good reasons to think the participant is not symmetrical (e.g. prosthetic limb)

remove_individual_scaling_setup = true # true or false (lowercase) # If true, the individual scaling setup files are removed to avoid cluttering
remove_individual_IK_setup = true # true or false (lowercase) # If true, the individual IK setup files are removed to avoid cluttering
fastest_frames_to_remove_percent = 0.1 # Frames with high speed are considered as outliers
close_to_zero_speed_m = 0.2 # Sum for all keypoints: about 50 px/frame or 0.2 m/frame
large_hip_knee_angles = 45 # Hip and knee angles below this value are considered as imprecise
trimmed_extrema_percent = 0.5 # Proportion of the most extreme segment values to remove before calculating their mean)



# CUSTOM skeleton, if you trained your own model from DeepLabCut or MMPose for example.
Expand Down
Loading
Loading