Spaces:
Sleeping
Sleeping
Update tracking.py
Browse files- tracking.py +1 -1
tracking.py
CHANGED
|
@@ -262,6 +262,6 @@ class SimpleTracker:
|
|
| 262 |
return intersection / (union + 1e-6)
|
| 263 |
|
| 264 |
def set_match_threshold(self, threshold: float):
|
| 265 |
-
|
| 266 |
self.match_threshold = max(0.1, min(0.8, threshold))
|
| 267 |
print(f"Tracker match threshold set to: {self.match_threshold}")
|
|
|
|
| 262 |
return intersection / (union + 1e-6)
|
| 263 |
|
| 264 |
def set_match_threshold(self, threshold: float):
|
| 265 |
+
|
| 266 |
self.match_threshold = max(0.1, min(0.8, threshold))
|
| 267 |
print(f"Tracker match threshold set to: {self.match_threshold}")
|