mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
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:
committed by
Blake Blackshear
parent
55e5a55fa2
commit
d071325ca7
@@ -1157,7 +1157,8 @@ def set_plate(
|
||||
new_score = None
|
||||
|
||||
request.app.event_metadata_updater.publish(
|
||||
EventMetadataTypeEnum.recognized_license_plate, (event_id, new_plate, new_score)
|
||||
EventMetadataTypeEnum.attribute,
|
||||
(event_id, "recognized_license_plate", new_plate, new_score),
|
||||
)
|
||||
|
||||
return JSONResponse(
|
||||
|
||||
Reference in New Issue
Block a user