* Catch case where object does not have thumbnail data

* Catch intel stats json decoding error

* Catch division by zero
This commit is contained in:
Nicolas Mowen
2024-10-21 08:38:48 -06:00
committed by GitHub
parent 8fcb8e54f7
commit 560dc68120
2 changed files with 7 additions and 2 deletions

View File

@@ -344,6 +344,7 @@ class CameraState:
# if the object's thumbnail is not from the current frame, skip
if (
current_frame is None
or obj.thumbnail_data is None
or obj.false_positive
or obj.thumbnail_data["frame_time"] != frame_time
):