mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 05:27:44 +03:00
always publish identifier
This commit is contained in:
parent
e292d639a7
commit
2f20e893a6
@ -1062,11 +1062,10 @@ class LicensePlateProcessingMixin:
|
|||||||
self.sub_label_publisher.publish(
|
self.sub_label_publisher.publish(
|
||||||
EventMetadataTypeEnum.sub_label, (id, sub_label, avg_confidence)
|
EventMetadataTypeEnum.sub_label, (id, sub_label, avg_confidence)
|
||||||
)
|
)
|
||||||
# If it's not a known plate, publish to identifier instead
|
|
||||||
else:
|
self.sub_label_publisher.publish(
|
||||||
self.sub_label_publisher.publish(
|
EventMetadataTypeEnum.identifier, (id, top_plate, avg_confidence)
|
||||||
EventMetadataTypeEnum.identifier, (id, top_plate, avg_confidence)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
self.detected_license_plates[id] = {
|
self.detected_license_plates[id] = {
|
||||||
"plate": top_plate,
|
"plate": top_plate,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user