This commit is contained in:
davidpagnon 2024-01-05 11:05:39 +01:00
parent 5ef5bd1441
commit 71648bf051
14 changed files with 14 additions and 14 deletions

View File

@ -123,7 +123,7 @@ single_person = true # false for multi-person analysis (not supported yet), true
tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
# and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) # and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
reproj_error_threshold_association = 20 # px reproj_error_threshold_association = 20 # px
likelihood_threshold_triangulation = 0.2 likelihood_threshold_association = 0.2
[triangulation] [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -123,7 +123,7 @@ single_person = true # false for multi-person analysis (not supported yet), true
tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
# and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) # and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
reproj_error_threshold_association = 20 # px reproj_error_threshold_association = 20 # px
likelihood_threshold_triangulation = 0.2 likelihood_error_threshold_association = 0.2
[triangulation] [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -123,7 +123,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -123,7 +123,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -123,7 +123,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -124,7 +124,7 @@
# tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py # tracked_keypoint = 'Neck' # If the neck is not detected by the pose_model, check skeleton.py
## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE) ## and choose a stable point for tracking the person of interest (e.g., 'right_shoulder' with BLAZEPOSE)
# reproj_error_threshold_association = 20 # px # reproj_error_threshold_association = 20 # px
# likelihood_threshold_triangulation = 0.2 # likelihood_error_threshold_association = 0.2
# [triangulation] # [triangulation]

View File

@ -113,8 +113,8 @@ def best_persons_and_cameras_combination(config, json_files_framef, personsIDs_c
''' '''
error_threshold_tracking = config.get('personAssociation').get('reproj_error_threshold_association') error_threshold_tracking = config.get('personAssociation').get('reproj_error_threshold_association')
likelihood_threshold = config.get('personAssociation').get('likelihood_threshold_association')
min_cameras_for_triangulation = config.get('triangulation').get('min_cameras_for_triangulation') min_cameras_for_triangulation = config.get('triangulation').get('min_cameras_for_triangulation')
likelihood_threshold = config.get('triangulation').get('likelihood_threshold_association')
undistort_points = config.get('triangulation').get('undistort_points') undistort_points = config.get('triangulation').get('undistort_points')
n_cams = len(json_files_framef) n_cams = len(json_files_framef)