mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Use in maintainer
This commit is contained in:
parent
0ad1cda0b0
commit
90333883de
@ -64,7 +64,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
|
|
||||||
# set face recognition conditions
|
# set face recognition conditions
|
||||||
self.face_recognition_enabled = self.config.face_recognition.enabled
|
self.face_recognition_enabled = self.config.face_recognition.enabled
|
||||||
self.requires_face_detection = "face" not in self.config.model.all_attributes
|
self.requires_face_detection = "face" not in self.config.objects.all_objects
|
||||||
self.detected_faces: dict[str, float] = {}
|
self.detected_faces: dict[str, float] = {}
|
||||||
|
|
||||||
# create communication for updating event descriptions
|
# create communication for updating event descriptions
|
||||||
@ -76,7 +76,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
# set license plate recognition conditions
|
# set license plate recognition conditions
|
||||||
self.lpr_config = self.config.lpr
|
self.lpr_config = self.config.lpr
|
||||||
self.requires_license_plate_detection = (
|
self.requires_license_plate_detection = (
|
||||||
"license_plate" not in self.config.model.all_attributes
|
"license_plate" not in self.config.objects.all_objects
|
||||||
)
|
)
|
||||||
self.detected_license_plates: dict[str, dict[str, any]] = {}
|
self.detected_license_plates: dict[str, dict[str, any]] = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user