Don't incorrectly overwrite score history (#8795)

This commit is contained in:
Nicolas Mowen 2023-11-29 16:37:28 -07:00 committed by GitHub
parent a490c375f4
commit 9b003e175d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,9 +128,6 @@ class TrackedObject:
self.frame = None self.frame = None
self.previous = self.to_dict() self.previous = self.to_dict()
# start the score history
self.score_history = [self.obj_data["score"]]
def _is_false_positive(self): def _is_false_positive(self):
# once a true positive, always a true positive # once a true positive, always a true positive
if not self.false_positive: if not self.false_positive: