mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-30 10:37:42 +03:00
Handle metadata
This commit is contained in:
parent
29835909a6
commit
33ae42a940
@ -209,7 +209,9 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
|
|
||||||
if any(c.review.genai.enabled_in_config for c in self.config.cameras.values()):
|
if any(c.review.genai.enabled_in_config for c in self.config.cameras.values()):
|
||||||
self.post_processors.append(
|
self.post_processors.append(
|
||||||
ReviewDescriptionProcessor(self.config, self.metrics, self.genai_client)
|
ReviewDescriptionProcessor(
|
||||||
|
self.config, self.requestor, self.metrics, self.genai_client
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.config.lpr.enabled:
|
if self.config.lpr.enabled:
|
||||||
|
|||||||
@ -142,6 +142,7 @@ class PendingReviewSegment:
|
|||||||
"zones": self.zones,
|
"zones": self.zones,
|
||||||
"audio": list(self.audio),
|
"audio": list(self.audio),
|
||||||
"thumb_time": self.thumb_time,
|
"thumb_time": self.thumb_time,
|
||||||
|
"metadata": None,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user