Update app.py
Browse files
app.py
CHANGED
@@ -128,8 +128,8 @@ class DroneDetectionPipeline:
|
|
128 |
|
129 |
# Choose color: Red for detection, Blue for tracking
|
130 |
color = (0, 0, 255) if not is_tracking else (255, 0, 0)
|
131 |
-
|
132 |
-
label_text = f"Drone"
|
133 |
|
134 |
if confidence is not None and not is_tracking:
|
135 |
label_text = f"Drone {confidence:.2f}"
|
|
|
128 |
|
129 |
# Choose color: Red for detection, Blue for tracking
|
130 |
color = (0, 0, 255) if not is_tracking else (255, 0, 0)
|
131 |
+
label_text = f"Drone (Detection)" if not is_tracking else f"Drone (Tracker)"
|
132 |
+
# label_text = f"Drone"
|
133 |
|
134 |
if confidence is not None and not is_tracking:
|
135 |
label_text = f"Drone {confidence:.2f}"
|