kinemotion 0.69.2__py3-none-any.whl → 0.70.1__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.

kinemotion/core/pose.py CHANGED
@@ -306,6 +306,16 @@ class PoseTrackerFactory:
306
306
  # Not macOS, fall back to CPU
307
307
  return cls._check_backend_available("rtmpose-cpu")
308
308
 
309
+ # On macOS, verify CoreML wrapper is available
310
+ try:
311
+ from kinemotion.core.rtmpose_wrapper import RTMPoseWrapper
312
+
313
+ _ = RTMPoseWrapper # Mark as intentionally used
314
+ return normalized
315
+ except ImportError:
316
+ # CoreML wrapper not available, fall back to CPU
317
+ return cls._check_backend_available("rtmpose-cpu")
318
+
309
319
  if normalized == "rtmpose-cpu":
310
320
  try:
311
321
  from kinemotion.core.rtmpose_cpu import (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kinemotion
3
- Version: 0.69.2
3
+ Version: 0.70.1
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
@@ -23,7 +23,8 @@ Requires-Python: <3.13,>=3.10
23
23
  Requires-Dist: click>=8.1.7
24
24
  Requires-Dist: mediapipe>=0.10.30
25
25
  Requires-Dist: numpy>=1.26.0
26
- Requires-Dist: onnxruntime-gpu>=1.23.2
26
+ Requires-Dist: onnxruntime-gpu>=1.23.2; sys_platform == 'linux' and platform_machine == 'x86_64'
27
+ Requires-Dist: onnxruntime>=1.23.2; sys_platform != 'linux' or platform_machine != 'x86_64'
27
28
  Requires-Dist: opencv-python>=4.9.0
28
29
  Requires-Dist: platformdirs>=4.0.0
29
30
  Requires-Dist: rtmlib>=0.0.13
@@ -21,7 +21,7 @@ kinemotion/core/formatting.py,sha256=G_3eqgOtym9RFOZVEwCxye4A2cyrmgvtQ214vIshowU
21
21
  kinemotion/core/metadata.py,sha256=bJAVa4nym__zx1hNowSZduMGKBSGOPxTbBQkjm6N0D0,7207
22
22
  kinemotion/core/model_downloader.py,sha256=mqhJBHGaNe0aN9qbcBqvcTk9FDd7xaHqEcwD-fyP89c,5205
23
23
  kinemotion/core/pipeline_utils.py,sha256=B5jMXoiLaTh02uGA2MIe1uZLVSRGZ5nxbARuvdrjDrQ,15161
24
- kinemotion/core/pose.py,sha256=t48DZf440zRKXWieQ-fpNd_87RQ4UGxugvldpJXhJbs,28221
24
+ kinemotion/core/pose.py,sha256=d5hCWiKifuB80shOC68uuRIYoXVBOQOtU54RjgNaTqc,28637
25
25
  kinemotion/core/pose_landmarks.py,sha256=LcEbL5K5xKia6dCzWf6Ft18UIE1CLMMqCZ3KUjwUDzM,1558
26
26
  kinemotion/core/quality.py,sha256=VUkRL2N6B7lfIZ2pE9han_U68JwarmZz1U0ygHkgkhE,13022
27
27
  kinemotion/core/rtmpose_cpu.py,sha256=Mox8Hon3hulyA6uHKUIe2hCR4xinDZfotOOIVncXi2M,22356
@@ -44,8 +44,8 @@ kinemotion/models/pose_landmarker_lite.task,sha256=WZKeHR7pUodzXd2DOxnPSsRtKbx6_
44
44
  kinemotion/models/rtmpose-s_simcc-body7_pt-body7-halpe26_700e-256x192-7f134165_20230605.onnx,sha256=hcXWaaoLDHlpeZ6p4GINO4wdPCtoeCQ-mKHvg1FFeYY,22793379
45
45
  kinemotion/models/yolox_tiny_8xb8-300e_humanart-6f3252f9.onnx,sha256=zrEcBymPlcUNfFq-uQbQM0DIXyOqeePmaWbn-2wwclA,20283006
46
46
  kinemotion/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
- kinemotion-0.69.2.dist-info/METADATA,sha256=3KcGHLZdgF8MIuVGyMBfHWD9Mc_RRnOf7SzdiIVtZ9c,26222
48
- kinemotion-0.69.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
49
- kinemotion-0.69.2.dist-info/entry_points.txt,sha256=zaqnAnjLvcdrk1Qvj5nvXZCZ2gp0prS7it1zTJygcIY,50
50
- kinemotion-0.69.2.dist-info/licenses/LICENSE,sha256=KZajvqsHw0NoOHOi2q0FZ4NBe9HdV6oey-IPYAtHXfg,1088
51
- kinemotion-0.69.2.dist-info/RECORD,,
47
+ kinemotion-0.70.1.dist-info/METADATA,sha256=nQ1AOdsgyVvO96oAwTXuAJ7Gbi29FYbg2mv6UCsF7h0,26372
48
+ kinemotion-0.70.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
49
+ kinemotion-0.70.1.dist-info/entry_points.txt,sha256=zaqnAnjLvcdrk1Qvj5nvXZCZ2gp0prS7it1zTJygcIY,50
50
+ kinemotion-0.70.1.dist-info/licenses/LICENSE,sha256=KZajvqsHw0NoOHOi2q0FZ4NBe9HdV6oey-IPYAtHXfg,1088
51
+ kinemotion-0.70.1.dist-info/RECORD,,