mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Don't incorrectly overwrite score history (#8795)
This commit is contained in:
parent
a490c375f4
commit
9b003e175d
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user