Spaces:
Runtime error
Runtime error
Update player_context.py
Browse files- player_context.py +1 -0
player_context.py
CHANGED
|
@@ -18,3 +18,4 @@ def is_pad_contact(ball_xy, landmarks, width, height):
|
|
| 18 |
if np.linalg.norm(np.array([px, py]) - np.array(ball_xy)) < 50:
|
| 19 |
return True
|
| 20 |
return False
|
|
|
|
|
|
| 18 |
if np.linalg.norm(np.array([px, py]) - np.array(ball_xy)) < 50:
|
| 19 |
return True
|
| 20 |
return False
|
| 21 |
+
|