|
152 | 152 | 'keypoint_likelihood_threshold': 0.3, |
153 | 153 | 'average_likelihood_threshold': 0.5, |
154 | 154 | 'keypoint_number_threshold': 0.3, |
| 155 | + 'max_distance': 100, |
155 | 156 | 'CUSTOM': { 'name': 'Hip', |
156 | 157 | 'id': 19, |
157 | 158 | 'children': [{'name': 'RHip', |
|
233 | 234 | 'interp_gap_smaller_than': 10, |
234 | 235 | 'fill_large_gaps_with': 'last_value', |
235 | 236 | 'sections_to_keep':'all', |
| 237 | + 'min_chunk_size': 10, |
236 | 238 | 'reject_outliers': True, |
237 | 239 | 'filter': True, |
238 | 240 | 'show_graphs': True, |
|
315 | 317 | 'keypoint_likelihood_threshold': ["", "detected keypoints are not retained if likelihood is below this threshold. 0.3 if not specified"], |
316 | 318 | 'average_likelihood_threshold': ["", "detected persons are not retained if average keypoint likelihood is below this threshold. 0.5 if not specified"], |
317 | 319 | 'keypoint_number_threshold': ["", "detected persons are not retained if number of detected keypoints is below this threshold. 0.3 if not specified, i.e., i.e., 30 percent"], |
| 320 | + 'max_distance': ["", "If a person is detected further than max_distance from its position on the previous frame, it will be considered as a new one. in px or None, 100 by default."], |
318 | 321 | 'fastest_frames_to_remove_percent': ["", "Frames with high speed are considered as outliers. Defaults to 0.1"], |
319 | 322 | 'close_to_zero_speed_px': ["", "Sum for all keypoints: about 50 px/frame or 0.2 m/frame. Defaults to 50"], |
320 | 323 | 'large_hip_knee_angles': ["", "Hip and knee angles below this value are considered as imprecise. Defaults to 45"], |
|
326 | 329 | 'interp_gap_smaller_than': ["", "interpolate sequences of missing data if they are less than N frames long. 10 if not specified"], |
327 | 330 | 'fill_large_gaps_with': ["", "last_value, nan, or zeros. last_value if not specified"], |
328 | 331 | 'sections_to_keep': ["", "all, largest, first, or last. Keep 'all' valid sections even when they are interspersed with undetected chunks, or the 'largest' valid section, or the 'first' one, or the 'last' one"], |
| 332 | + 'min_chunk_size': ["", "Minimum number of valid frames in a row to keep a chunk of data for a person. 10 if not specified"], |
329 | 333 | 'reject_outliers': ["", "reject outliers with Hampel filter before other filtering methods. true if not specified"], |
330 | 334 | 'filter': ["", "filter results. true if not specified"], |
331 | 335 | 'filter_type': ["", "butterworth, kalman, gcv_spline, gaussian, median, or loess. butterworth if not specified"], |
|
0 commit comments