Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New process for poseEstimation using multiple processes #156

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
7 changes: 6 additions & 1 deletion Pose2Sim/Demo_Batch/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ exclude_from_batch = [] # List of trials to be excluded from batch analysis, ['<


[pose]
vid_img_extension = 'mp4' # any video or image extension
orientation = 'landscape' #'landscape' or 'portrait'
vid_img_extension = 'mp4' # any video or image extension or 'webcam'
webcam_ids = 0 # your webcam id 0, or [0, 1, ...] (0 is default)

input_size = [] # [W, H]. Lower resolution will be faster but less precise.
capture_mode = 'continuous' #'continuous' or 'alternating'

pose_model = 'Body_with_feet' #With RTMLib:
# - Body_with_feet (default HALPE_26 model),
Expand Down
7 changes: 6 additions & 1 deletion Pose2Sim/Demo_MultiPerson/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ exclude_from_batch = [] # List of trials to be excluded from batch analysis, ['<


[pose]
vid_img_extension = 'mp4' # any video or image extension
orientation = 'landscape' #'landscape' or 'portrait'
vid_img_extension = 'mp4' # any video or image extension or 'webcam'
webcam_ids = 0 # your webcam id 0, or [0, 1, ...] (0 is default)

input_size = [] # [W, H]. Lower resolution will be faster but less precise.
capture_mode = 'continuous' #'continuous' or 'alternating'

pose_model = 'Body_with_feet' #With RTMLib:
# - Body_with_feet (default HALPE_26 model),
Expand Down
11 changes: 8 additions & 3 deletions Pose2Sim/Demo_SinglePerson/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ exclude_from_batch = [] # List of trials to be excluded from batch analysis, ['<


[pose]
vid_img_extension = 'mp4' # any video or image extension
orientation = 'landscape' #'landscape' or 'portrait'
vid_img_extension = 'webcam' # any video or image extension or 'webcam'
webcam_ids = [0, 1, 2, 3] # your webcam id 0, or [0, 1, ...] (0 is default)

input_size = [] # [W, H]. Lower resolution will be faster but less precise.
capture_mode = 'continuous' #'continuous' or 'alternating'

pose_model = 'Body_with_feet' #With RTMLib:
# - Body_with_feet (default HALPE_26 model),
Expand Down Expand Up @@ -80,14 +85,14 @@ det_frequency = 1 # Run person detection only every N frames, and inbetween trac
device = 'auto' # 'auto', 'CPU', 'CUDA', 'MPS', 'ROCM'
backend = 'auto' # 'auto', 'openvino', 'onnxruntime', 'opencv'

display_detection = true
display_detection = false
overwrite_pose = false # set to false if you don't want to recalculate pose estimation when it has already been done
save_video = 'to_video' # 'to_video' or 'to_images', 'none', or ['to_video', 'to_images']
output_format = 'openpose' # 'openpose', 'mmpose', 'deeplabcut', 'none' or a list of them # /!\ only 'openpose' is supported for now


[synchronization]
display_sync_plots = true # true or false (lowercase)
display_sync_plots = false # true or false (lowercase)
keypoints_to_consider = 'all' # '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
Loading