Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -371,6 +371,7 @@ def preprocess_frame(frame_data):
|
|
| 371 |
imgdata = base64.b64decode(frame_data)
|
| 372 |
nparr = np.frombuffer(imgdata, np.uint8)
|
| 373 |
frame = cv2.imdecode(nparr, cv2.IMREAD_COLOR)
|
|
|
|
| 374 |
|
| 375 |
# Apply image processing here (example: grayscale conversion)
|
| 376 |
processed_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
|
|
|
|
| 371 |
imgdata = base64.b64decode(frame_data)
|
| 372 |
nparr = np.frombuffer(imgdata, np.uint8)
|
| 373 |
frame = cv2.imdecode(nparr, cv2.IMREAD_COLOR)
|
| 374 |
+
print("rani dezte hna koolchi mezian")
|
| 375 |
|
| 376 |
# Apply image processing here (example: grayscale conversion)
|
| 377 |
processed_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
|