Skip to content

Commit 78a8e61

Browse files
committed
removed report print function
1 parent 6068801 commit 78a8e61

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

experiments/custom/triggers.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,9 @@ def check_skeleton(self, skeleton: dict):
368368
self._skeleton = skeleton
369369
else:
370370
joint_travel = calculate_distance(skeleton[self._bodypart], self._skeleton[self._bodypart])
371-
print(joint_travel)
372371
self._timewindow.append(joint_travel)
373-
print(self._timewindow)
374372
if len(self._timewindow) == self._timewindow_len:
375373
joint_moved = np.sum(self._timewindow)
376-
print(joint_moved)
377374

378375
if abs(joint_moved) <= self._threshold:
379376
result = True
@@ -426,12 +423,9 @@ def check_skeleton(self, skeleton: dict):
426423
self._skeleton = skeleton
427424
else:
428425
joint_travel = calculate_distance(skeleton[self._bodypart], self._skeleton[self._bodypart])
429-
print(joint_travel)
430426
self._timewindow.append(joint_travel)
431-
print(self._timewindow)
432427
if len(self._timewindow) == self._timewindow_len:
433428
joint_moved = np.sum(self._timewindow)
434-
print(joint_moved)
435429

436430
if abs(joint_moved) >= self._threshold:
437431
result = True

0 commit comments

Comments
 (0)