mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-04 13:47:37 +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()
|
line = f.readline()
|
||||||
|
|
||||||
def process_frame(self, obj_data, frame):
|
def process_frame(self, obj_data, frame):
|
||||||
|
if not self.interpreter:
|
||||||
|
return
|
||||||
|
|
||||||
if obj_data["label"] != "bird":
|
if obj_data["label"] != "bird":
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user