mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Don't run classification on false positives
This commit is contained in:
parent
af597bcc23
commit
fff75df504
@ -225,6 +225,9 @@ class CustomObjectClassificationProcessor(RealTimeProcessorApi):
|
||||
self.model_config.name
|
||||
].value = self.classifications_per_second.eps()
|
||||
|
||||
if obj_data["false_positive"]:
|
||||
return
|
||||
|
||||
if obj_data["label"] not in self.model_config.object_config.objects:
|
||||
return
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user