Hussein El-Hadidy commited on
Commit ·
ea99063
1
Parent(s): 8a5cc0b
Comment cv2.moveWindow
Browse files- CPR/CPRAnalyzer.py +1 -1
CPR/CPRAnalyzer.py
CHANGED
|
@@ -201,7 +201,7 @@ class CPRAnalyzer:
|
|
| 201 |
# Center window
|
| 202 |
pos_x = (self.screen_width - new_w) // 2
|
| 203 |
pos_y = (self.screen_height - new_h) // 2
|
| 204 |
-
cv2.moveWindow(self.window_name, pos_x, pos_y)
|
| 205 |
|
| 206 |
#cv2.imshow(self.window_name, resized)
|
| 207 |
print(f"[DISPLAY] Resized to {new_w}x{new_h} (scale: {scale:.2f}) in {(time.time()-display_start)*1000:.1f}ms")
|
|
|
|
| 201 |
# Center window
|
| 202 |
pos_x = (self.screen_width - new_w) // 2
|
| 203 |
pos_y = (self.screen_height - new_h) // 2
|
| 204 |
+
#cv2.moveWindow(self.window_name, pos_x, pos_y)
|
| 205 |
|
| 206 |
#cv2.imshow(self.window_name, resized)
|
| 207 |
print(f"[DISPLAY] Resized to {new_w}x{new_h} (scale: {scale:.2f}) in {(time.time()-display_start)*1000:.1f}ms")
|