Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def create_monitor_interface():
|
|
18 |
self.max_image_size = (800, 800)
|
19 |
self.colors = [(0, 0, 255), (255, 0, 0), (0, 255, 0), (255, 255, 0), (255, 0, 255)]
|
20 |
|
21 |
-
|
22 |
if frame is None:
|
23 |
return ""
|
24 |
|
|
|
18 |
self.max_image_size = (800, 800)
|
19 |
self.colors = [(0, 0, 255), (255, 0, 0), (0, 255, 0), (255, 255, 0), (255, 0, 255)]
|
20 |
|
21 |
+
def analyze_frame(self, frame: np.ndarray) -> str:
|
22 |
if frame is None:
|
23 |
return ""
|
24 |
|