You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extrinsics_extension = 'png'# any video or image extension
143
145
# 'board' should be large enough to be detected when laid on the floor. Not recommended.
144
146
# 'scene' involves manually clicking any point of know coordinates on scene. Usually more accurate if points are spread out.
145
147
# 'keypoints' uses automatic pose estimation of a person freely walking and waving arms in the scene. Slighlty less accurate, requires synchronized cameras.
148
+
show_reprojection_error = true# true or false (lowercase)
146
149
moving_cameras = false# Not implemented yet
147
150
148
151
[calibration.calculate.extrinsics.board]
149
-
show_reprojection_error = true# true or false (lowercase)
150
152
board_position = 'vertical'# 'vertical' or 'horizontal'
151
-
extrinsics_extension = 'png'# any video or image extension
152
153
extrinsics_corners_nb = [4,7] # [H,W] rather than [w,h]
153
154
extrinsics_square_size = 60# mm # [h,w] if square is actually a rectangle
154
155
155
156
[calibration.calculate.extrinsics.scene]
156
-
show_reprojection_error = true# true or false (lowercase)
157
-
extrinsics_extension = 'png'# any video or image extension
158
157
# list of 3D coordinates to be manually labelled on images. Can also be a 2 dimensional plane.
159
158
# in m -> unlike for intrinsics, NOT in mm!
160
159
# [X,Y,Z], which becomes [Z,X,Y] in the TRC reference frame, and [-Y,X,Z] in the Blender one
@@ -284,7 +283,7 @@ use_custom_logging = false # if integrated in an API that already has logging
# extrinsics_extension = 'png' # any video or image extension
143
145
# # 'board' should be large enough to be detected when laid on the floor. Not recommended.
144
146
# # 'scene' involves manually clicking any point of know coordinates on scene. Usually more accurate if points are spread out.
145
147
# # 'keypoints' uses automatic pose estimation of a person freely walking and waving arms in the scene. Slighlty less accurate, requires synchronized cameras.
148
+
# show_reprojection_error = true # true or false (lowercase)
146
149
# moving_cameras = false # Not implemented yet
147
150
148
151
# [calibration.calculate.extrinsics.board]
149
-
# show_reprojection_error = true # true or false (lowercase)
150
152
# board_position = 'vertical' # 'vertical' or 'horizontal'
151
-
# extrinsics_extension = 'png' # any video or image extension
152
153
# extrinsics_corners_nb = [4,7] # [H,W] rather than [w,h]
153
154
# extrinsics_square_size = 60 # mm # [h,w] if square is actually a rectangle
154
155
155
156
# [calibration.calculate.extrinsics.scene]
156
-
# show_reprojection_error = true # true or false (lowercase)
157
-
# extrinsics_extension = 'png' # any video or image extension
158
157
# # list of 3D coordinates to be manually labelled on images. Can also be a 2 dimensional plane.
159
158
# # in m -> unlike for intrinsics, NOT in mm!
160
159
# # [X,Y,Z], which becomes [Z,X,Y] in the TRC reference frame, and [-Y,X,Z] in the Blender one
# extrinsics_extension = 'png' # any video or image extension
141
143
# # 'board' should be large enough to be detected when laid on the floor. Not recommended.
142
144
# # 'scene' involves manually clicking any point of know coordinates on scene. Usually more accurate if points are spread out.
143
145
# # 'keypoints' uses automatic pose estimation of a person freely walking and waving arms in the scene. Slighlty less accurate, requires synchronized cameras.
146
+
# show_reprojection_error = true # true or false (lowercase)
144
147
# moving_cameras = false # Not implemented yet
145
148
146
149
# [calibration.calculate.extrinsics.board]
147
-
# show_reprojection_error = true # true or false (lowercase)
148
150
# board_position = 'vertical' # 'vertical' or 'horizontal'
149
-
# extrinsics_extension = 'png' # any video or image extension
150
151
# extrinsics_corners_nb = [4,7] # [H,W] rather than [w,h]
151
152
# extrinsics_square_size = 60 # mm # [h,w] if square is actually a rectangle
152
153
153
154
# [calibration.calculate.extrinsics.scene]
154
-
# show_reprojection_error = true # true or false (lowercase)
155
-
# extrinsics_extension = 'png' # any video or image extension
156
155
# # list of 3D coordinates to be manually labelled on images. Can also be a 2 dimensional plane.
157
156
# # in m -> unlike for intrinsics, NOT in mm!
158
157
# # [X,Y,Z], which becomes [Z,X,Y] in the TRC reference frame, and [-Y,X,Z] in the Blender one
@@ -283,7 +282,7 @@ keypoints_to_consider = ['RWrist'] # 'all' if all points should be considered, f
extrinsics_extension = 'png'# any video or image extension
143
145
# 'board' should be large enough to be detected when laid on the floor. Not recommended.
144
146
# 'scene' involves manually clicking any point of know coordinates on scene. Usually more accurate if points are spread out.
145
147
# 'keypoints' uses automatic pose estimation of a person freely walking and waving arms in the scene. Slighlty less accurate, requires synchronized cameras.
148
+
show_reprojection_error = true# true or false (lowercase)
146
149
moving_cameras = false# Not implemented yet
147
150
148
151
[calibration.calculate.extrinsics.board]
149
-
show_reprojection_error = true# true or false (lowercase)
150
-
extrinsics_extension = 'png'# any video or image extension
151
152
board_position = 'vertical'# 'vertical' or 'horizontal'
152
153
extrinsics_corners_nb = [4,7] # [H,W] rather than [w,h]
153
154
extrinsics_square_size = 60# mm # [h,w] if square is actually a rectangle
154
155
155
156
[calibration.calculate.extrinsics.scene]
156
-
show_reprojection_error = true# true or false (lowercase)
157
-
extrinsics_extension = 'png'# any video or image extension
158
157
# list of 3D coordinates to be manually labelled on images. Can also be a 2 dimensional plane.
159
158
# in m -> unlike for intrinsics, NOT in mm!
160
159
# [X,Y,Z], which becomes [Z,X,Y] in the TRC reference frame, and [-Y,X,Z] in the Blender one
@@ -284,7 +283,7 @@ use_custom_logging = false # if integrated in an API that already has logging
Copy file name to clipboardExpand all lines: Pose2Sim/Demo_SinglePerson/Config.toml
+13-15Lines changed: 13 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,13 @@ participant_mass = 70.0 # float (eg 70.0), or list of floats (eg [70
24
24
25
25
frame_rate = 'auto'# fps # int or 'auto'. If 'auto', finds from video (or defaults to 60 fps if you work with images)
26
26
frame_range = 'auto'# 'auto', 'all', or range like [10,300]. If 'auto', will trim around the frames with low reprojection error (useful if a person enters/exits the scene)
27
-
28
-
## If cameras are not synchronized, designates the frame range of the camera with the shortest recording time
29
-
## N.B.: If you want a time range instead, use frame_range = time_range * frame_rate
30
-
## For example if you want to analyze from 0.1 to 2 seconds with a 60 fps frame rate,
31
-
## frame_range = [0.1, 2.0]*frame_rate = [6, 120]
27
+
# If cameras are not synchronized, designates the frame range of the camera with the shortest recording time
28
+
# N.B.: If you want a time range instead, use frame_range = time_range * frame_rate
29
+
# For example if you want to analyze from 0.1 to 2 seconds with a 60 fps frame rate,
30
+
# frame_range = [0.1, 2.0]*frame_rate = [6, 120]
32
31
33
32
exclude_from_batch = [] # List of trials to be excluded from batch analysis, ['<participant_dir/trial_dir>', 'etc'].
34
-
# e.g. ['S00_P00_Participant/S00_P00_T00_StaticTrial', 'S00_P00_Participant/S00_P00_T01_BalancingTrial']
33
+
# e.g. ['S00_P00_Participant/S00_P00_T00_StaticTrial', 'S00_P00_Participant/S00_P00_T01_BalancingTrial']
# /!\ Only RTMPose is natively embeded in Pose2Sim. For all other pose estimation methods, you will have to run them yourself, and then refer to the documentation to convert the output files if needed
49
48
# /!\ For Face and Animal, use mode="""{dictionary}""", and find the corresponding .onnx model there https://github.com/open-mmlab/mmpose/tree/main/projects/rtmpose
50
-
51
49
#With MMPose: HALPE_26, COCO_133, COCO_17, CUSTOM. See CUSTOM example at the end of the file
handle_LR_swap = false# Might be useful if cameras film from the sagittal plane and the right and left sides are hard to differenciate to your eye.
92
90
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
93
91
94
-
display_detection = true
95
-
overwrite_pose = false#set to false if you don't want to recalculate pose estimation when it has already been done
92
+
display_detection = true# Real-time display of the videos with pose estimation
93
+
overwrite_pose = false#Set to false if you don't want to recalculate pose estimation when it has already been done
96
94
save_video = 'to_video'# 'to_video' or 'to_images', 'none', or ['to_video', 'to_images']
97
95
output_format = 'openpose'# 'openpose', 'mmpose', 'deeplabcut', 'none' or a list of them # /!\ only 'openpose' is supported for now
extrinsics_extension = 'png'# any video or image extension
146
146
# 'board' should be large enough to be detected when laid on the floor. Not recommended.
147
147
# 'scene' involves manually clicking any point of know coordinates on scene. Usually more accurate if points are spread out.
148
148
# 'keypoints' uses automatic pose estimation of a person freely walking and waving arms in the scene. Slighlty less accurate, requires synchronized cameras.
149
+
show_reprojection_error = true# true or false (lowercase)
149
150
moving_cameras = false# Not implemented yet
150
151
151
152
[calibration.calculate.extrinsics.board]
152
-
show_reprojection_error = true# true or false (lowercase)
153
-
extrinsics_extension = 'png'# any video or image extension
154
153
board_position = 'vertical'# 'vertical' or 'horizontal'
155
154
extrinsics_corners_nb = [4,7] # [H,W] rather than [w,h]
156
155
extrinsics_square_size = 60# mm # [h,w] if square is actually a rectangle
157
156
158
157
[calibration.calculate.extrinsics.scene]
159
-
show_reprojection_error = true# true or false (lowercase)
160
-
extrinsics_extension = 'png'# any video or image extension
161
158
# list of 3D coordinates to be manually labelled on images. Can also be a 2 dimensional plane.
162
159
# in m -> unlike for intrinsics, NOT in mm!
163
160
# [X,Y,Z], which becomes [Z,X,Y] in the TRC reference frame, and [-Y,X,Z] in the Blender one
0 commit comments