Spaces:
Runtime error
Runtime error
update
Browse files- myturtle_cv.py +1 -1
myturtle_cv.py
CHANGED
|
@@ -25,7 +25,7 @@ def crop_and_scaled_imgs(imgs):
|
|
| 25 |
w = x_end - x
|
| 26 |
h = y_end - y
|
| 27 |
|
| 28 |
-
SIZE =
|
| 29 |
# Calculate the position to center the ROI in the SIZExSIZE image
|
| 30 |
start_x = max(0, (SIZE - w) // 2)
|
| 31 |
start_y = max(0, (SIZE - h) // 2)
|
|
|
|
| 25 |
w = x_end - x
|
| 26 |
h = y_end - y
|
| 27 |
|
| 28 |
+
SIZE = 400
|
| 29 |
# Calculate the position to center the ROI in the SIZExSIZE image
|
| 30 |
start_x = max(0, (SIZE - w) // 2)
|
| 31 |
start_y = max(0, (SIZE - h) // 2)
|