typo
This commit is contained in:
parent
b2046530d5
commit
5b76c2ca1d
@ -127,7 +127,7 @@ interpolation = 'cubic' #linear, slinear, quadratic, cubic, or none
|
|||||||
# 'none' if you don't want to interpolate missing points
|
# 'none' if you don't want to interpolate missing points
|
||||||
interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
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
|
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
|
make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ interpolation = 'cubic' #linear, slinear, quadratic, cubic, or none
|
|||||||
# 'none' if you don't want to interpolate missing points
|
# 'none' if you don't want to interpolate missing points
|
||||||
interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
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
|
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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
## 'none' if you don't want to interpolate missing points
|
## 'none' if you don't want to interpolate missing points
|
||||||
# interp_if_gap_smaller_than = 10 # do not interpolate bigger gaps
|
# 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
|
# 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
|
# make_c3d = false # save triangulated data in c3d format in addition to trc
|
||||||
|
|
||||||
|
|
||||||
|
@ -248,7 +248,6 @@ def track_2d_all(config):
|
|||||||
tracked_keypoint = config.get('personAssociation').get('tracked_keypoint')
|
tracked_keypoint = config.get('personAssociation').get('tracked_keypoint')
|
||||||
frame_range = config.get('project').get('frame_range')
|
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_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
|
calib_file = glob.glob(os.path.join(calib_dir, '*.toml'))[0] # lastly created calibration file
|
||||||
pose_dir = os.path.join(project_dir, 'pose')
|
pose_dir = os.path.join(project_dir, 'pose')
|
||||||
|
Loading…
Reference in New Issue
Block a user