Hussein El-Hadidy commited on
Commit ·
8a5cc0b
1
Parent(s): dfd6226
Comment cv2.destroy
Browse files- CPR/chest_initializer.py +1 -1
CPR/chest_initializer.py
CHANGED
|
@@ -19,7 +19,7 @@ class ChestInitializer:
|
|
| 19 |
"""Main initialization routine"""
|
| 20 |
success = self._sample_initial_frames(cap, pose_estimator)
|
| 21 |
self._calculate_chest_point(cap)
|
| 22 |
-
cv2.destroyWindow(self.debug_window)
|
| 23 |
return success
|
| 24 |
|
| 25 |
def _sample_initial_frames(self, cap, pose_estimator):
|
|
|
|
| 19 |
"""Main initialization routine"""
|
| 20 |
success = self._sample_initial_frames(cap, pose_estimator)
|
| 21 |
self._calculate_chest_point(cap)
|
| 22 |
+
#cv2.destroyWindow(self.debug_window)
|
| 23 |
return success
|
| 24 |
|
| 25 |
def _sample_initial_frames(self, cap, pose_estimator):
|