Spaces:
Sleeping
Sleeping
Update preprocessing.py
Browse files- preprocessing.py +0 -1
preprocessing.py
CHANGED
|
@@ -28,7 +28,6 @@ class VideoPreprocessor:
|
|
| 28 |
ret, frame = cap.read()
|
| 29 |
if not ret:
|
| 30 |
break
|
| 31 |
-
frame = cv2.resize(frame, (1280, 720))
|
| 32 |
# Convert the BGR image to RGB
|
| 33 |
rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
| 34 |
|
|
|
|
| 28 |
ret, frame = cap.read()
|
| 29 |
if not ret:
|
| 30 |
break
|
|
|
|
| 31 |
# Convert the BGR image to RGB
|
| 32 |
rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
| 33 |
|