MTerryJack commited on
Commit
47da054
·
verified ·
1 Parent(s): 6e3b47d

Upload miner.py

Browse files
Files changed (1) hide show
  1. miner.py +2 -3
miner.py CHANGED
@@ -112,9 +112,8 @@ class Miner:
112
  if not hasattr(detection, "keypoints") or detection.keypoints is None:
113
  continue
114
  frame_keypoints: list[tuple[int, int]] = []
115
- print(detection.keypoints.data)
116
- for person_points in detection.keypoints.data:
117
- for x, y in person_points:
118
  frame_keypoints.append((int(x), int(y)))
119
  if len(frame_keypoints) < n_keypoints:
120
  frame_keypoints.extend(
 
112
  if not hasattr(detection, "keypoints") or detection.keypoints is None:
113
  continue
114
  frame_keypoints: list[tuple[int, int]] = []
115
+ for part_points in detection.keypoints.data:
116
+ for x, y, _ in part_points:
 
117
  frame_keypoints.append((int(x), int(y)))
118
  if len(frame_keypoints) < n_keypoints:
119
  frame_keypoints.extend(