kinemotion 1.0.0__py3-none-any.whl → 2.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of kinemotion might be problematic. Click here for more details.

@@ -292,20 +292,13 @@ class CMJMetricsValidator(MetricsValidator):
292
292
  value=duration,
293
293
  bounds=(bounds.absolute_min, bounds.absolute_max),
294
294
  )
295
- elif bounds.contains(duration, profile):
296
- result.add_info(
297
- "concentric_duration",
298
- f"Concentric duration {duration:.3f}s within expected range for {profile.value}",
299
- value=duration,
300
- )
301
295
  else:
302
- expected_min, expected_max = self._get_profile_range(profile, bounds)
303
- result.add_warning(
296
+ # NOTE: Downgraded from WARNING to INFO - standing end detection has
297
+ # ~117ms offset causing misleading warnings. See issue #16.
298
+ result.add_info(
304
299
  "concentric_duration",
305
- f"Concentric duration {duration:.3f}s outside typical range "
306
- f"[{expected_min:.3f}-{expected_max:.3f}]s for {profile.value}",
300
+ f"Concentric duration {duration:.3f}s",
307
301
  value=duration,
308
- bounds=(expected_min, expected_max),
309
302
  )
310
303
 
311
304
  def _check_eccentric_duration(
@@ -333,20 +326,13 @@ class CMJMetricsValidator(MetricsValidator):
333
326
  value=duration,
334
327
  bounds=(bounds.absolute_min, bounds.absolute_max),
335
328
  )
336
- elif bounds.contains(duration, profile):
337
- result.add_info(
338
- "eccentric_duration",
339
- f"Eccentric duration {duration:.3f}s within expected range for {profile.value}",
340
- value=duration,
341
- )
342
329
  else:
343
- expected_min, expected_max = self._get_profile_range(profile, bounds)
344
- result.add_warning(
330
+ # NOTE: Downgraded from WARNING to INFO - standing end detection has
331
+ # ~117ms offset causing misleading warnings. See issue #16.
332
+ result.add_info(
345
333
  "eccentric_duration",
346
- f"Eccentric duration {duration:.3f}s outside typical range "
347
- f"[{expected_min:.3f}-{expected_max:.3f}]s for {profile.value}",
334
+ f"Eccentric duration {duration:.3f}s",
348
335
  value=duration,
349
- bounds=(expected_min, expected_max),
350
336
  )
351
337
 
352
338
  def _check_peak_velocities(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kinemotion
3
- Version: 1.0.0
3
+ Version: 2.0.0
4
4
  Summary: Video-based kinematic analysis for athletic performance
5
5
  Project-URL: Homepage, https://github.com/feniix/kinemotion
6
6
  Project-URL: Repository, https://github.com/feniix/kinemotion
@@ -8,7 +8,7 @@ kinemotion/cmj/cli.py,sha256=P2b77IIw6kqTSIkncxlShzhmjIwqMFBNd-pZxYP-TsI,9918
8
8
  kinemotion/cmj/debug_overlay.py,sha256=bX9aPLhXiLCCMZW9v8Y4OiOAaZO0i-UGr-Pl8HCsmbI,15810
9
9
  kinemotion/cmj/joint_angles.py,sha256=HmheIEiKcQz39cRezk4h-htorOhGNPsqKIR9RsAEKts,9960
10
10
  kinemotion/cmj/kinematics.py,sha256=KwA8uSj3g1SeNf0NXMSHsp3gIw6Gfa-6QWIwdYdRXYw,13362
11
- kinemotion/cmj/metrics_validator.py,sha256=3oFB331Xch2sRMTvqALiwOvsWkCUhrLQ7ZCZ4QhI2lA,30986
11
+ kinemotion/cmj/metrics_validator.py,sha256=JWuWFfDXyZMTHXFWVdI0MhaQjMR3cjd01tTrDy_if2U,30290
12
12
  kinemotion/cmj/validation_bounds.py,sha256=Ry915JdInPXbqjaVGNY_urnDO1PAkCSJqHwNKRq-VkU,12048
13
13
  kinemotion/core/__init__.py,sha256=8WB7tAJPKOxgNzbhIEOnGnkRr0CcdNeTnz91Jsiyafo,1812
14
14
  kinemotion/core/auto_tuning.py,sha256=lhAqPc-eLjMYx9BCvKdECE7TD2Dweb9KcifV6JHaXOE,11278
@@ -42,8 +42,8 @@ kinemotion/models/pose_landmarker_lite.task,sha256=WZKeHR7pUodzXd2DOxnPSsRtKbx6_
42
42
  kinemotion/models/rtmpose-s_simcc-body7_pt-body7-halpe26_700e-256x192-7f134165_20230605.onnx,sha256=dfZTq8kbhv8RxWiXS0HUIJNCUpxYTBN45dFIorPflEs,133
43
43
  kinemotion/models/yolox_tiny_8xb8-300e_humanart-6f3252f9.onnx,sha256=UsutHVQ6GP3X5pCcp52EN8q7o2J3d-TnxZqlF48kY6I,133
44
44
  kinemotion/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
- kinemotion-1.0.0.dist-info/METADATA,sha256=-ilOGij77UMgZGXP8I7O9ACtu3PBDbCjDx7-BDt6w2k,26124
46
- kinemotion-1.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
47
- kinemotion-1.0.0.dist-info/entry_points.txt,sha256=zaqnAnjLvcdrk1Qvj5nvXZCZ2gp0prS7it1zTJygcIY,50
48
- kinemotion-1.0.0.dist-info/licenses/LICENSE,sha256=KZajvqsHw0NoOHOi2q0FZ4NBe9HdV6oey-IPYAtHXfg,1088
49
- kinemotion-1.0.0.dist-info/RECORD,,
45
+ kinemotion-2.0.0.dist-info/METADATA,sha256=D782eqHaZnFWgRVE-N3FOGCNlqjSv0apIAP0ghVYnWQ,26124
46
+ kinemotion-2.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
47
+ kinemotion-2.0.0.dist-info/entry_points.txt,sha256=zaqnAnjLvcdrk1Qvj5nvXZCZ2gp0prS7it1zTJygcIY,50
48
+ kinemotion-2.0.0.dist-info/licenses/LICENSE,sha256=KZajvqsHw0NoOHOi2q0FZ4NBe9HdV6oey-IPYAtHXfg,1088
49
+ kinemotion-2.0.0.dist-info/RECORD,,