Object attribute classification (#19205)

* Add enum for type of classification for objects

* Update recognized license plate topic to be used as attribute updater

* Update attribute for attribute type object classification

* Cleanup
This commit is contained in:
Nicolas Mowen
2025-07-18 08:28:02 -06:00
committed by Blake Blackshear
parent 55e5a55fa2
commit d071325ca7
6 changed files with 49 additions and 22 deletions

View File

@@ -1545,8 +1545,8 @@ class LicensePlateProcessingMixin:
),
)
self.sub_label_publisher.publish(
EventMetadataTypeEnum.recognized_license_plate,
(id, top_plate, avg_confidence),
EventMetadataTypeEnum.attribute,
(id, "recognized_license_plate", top_plate, avg_confidence),
)
# save the best snapshot for dedicated lpr cams not using frigate+