mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Don't run bird classification if model is not downloaded yet (#18474)
This commit is contained in:
parent
c11ca42fb5
commit
27914fc3b8
@ -97,6 +97,9 @@ class BirdRealTimeProcessor(RealTimeProcessorApi):
|
||||
line = f.readline()
|
||||
|
||||
def process_frame(self, obj_data, frame):
|
||||
if not self.interpreter:
|
||||
return
|
||||
|
||||
if obj_data["label"] != "bird":
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user