This commit is contained in:
davidpagnon 2024-01-01 04:23:11 +01:00
parent b2046530d5
commit 5b76c2ca1d
14 changed files with 13 additions and 14 deletions

View File

@ -127,7 +127,7 @@ interpolation = 'cubic' #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
show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -127,7 +127,7 @@ interpolation = 'cubic' #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
show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -128,7 +128,7 @@
## 'none' if you don't want to interpolate missing points
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
# show_interp_indices = true # true or false (lowercase). For each keypoint, return the frames that need to be interpolated
# handle_LR_swap = true # Set to false if you use many cameras (eg more than 4), or if the pose estimation never confuses right and left limbs (eg no camera facing sagittal plane)
# handle_LR_swap = true # Better if few cameras (eg less than 4) with risk of limb swapping (eg camera facing sagittal plane), otherwise slightly less accurate and slower
# make_c3d = false # save triangulated data in c3d format in addition to trc

View File

@ -248,7 +248,6 @@ def track_2d_all(config):
tracked_keypoint = config.get('personAssociation').get('tracked_keypoint')
frame_range = config.get('project').get('frame_range')
print('\n\n\nHLKAJHLKJHL\n\n', project_dir, session_dir, '\n', os.listdir(session_dir), '\n\n\nHLKAJHLKJHL\n\n')
calib_dir = [os.path.join(session_dir, c) for c in os.listdir(session_dir) if ('Calib' or 'calib') in c][0]
calib_file = glob.glob(os.path.join(calib_dir, '*.toml'))[0] # lastly created calibration file
pose_dir = os.path.join(project_dir, 'pose')