Improve frame cache debugging (#18741)

This commit is contained in:
Josh Hawkins
2025-06-16 08:29:54 -06:00
committed by GitHub
parent 2d586eeeb7
commit d727adddde
2 changed files with 18 additions and 8 deletions
+2 -2
View File
@@ -419,7 +419,7 @@ class TrackedObject:
try:
best_frame = cv2.cvtColor(
self.frame_cache[self.thumbnail_data["frame_time"]],
self.frame_cache[self.thumbnail_data["frame_time"]]["frame"],
cv2.COLOR_YUV2BGR_I420,
)
except KeyError:
@@ -448,7 +448,7 @@ class TrackedObject:
try:
best_frame = cv2.cvtColor(
self.frame_cache[self.thumbnail_data["frame_time"]],
self.frame_cache[self.thumbnail_data["frame_time"]]["frame"],
cv2.COLOR_YUV2BGR_I420,
)
except KeyError: