ljmerza / frigate_plate_recognizer

Identify license plates via Plate Recognizer and add them as sublabels to Frigate
120 stars 15 forks source link

How does one get a box around the license plate in the frigate snapshot ? #43

Open atv2016 opened 7 months ago

atv2016 commented 7 months ago

Is that possible ? I mean I know there is draw_box but I thought it was part of saving snapshots to disk ?

frigate: savesnapshots: True # Saves a snapshot called [Camera Name][timestamp].png draw_box: True # Optional - Draws a box around the plate on the snapshot along with the license plate text (Required Frigate plus setting) always_save_snapshot: True # Optional - will save a snapshot of every event sent to frigate_plate_recognizer, even if no plate is detected

Also not sure why this is a separate option, one already gets the labels in frigate, but I guess it's for those who want separate license plate jpegs?

kyle4269 commented 7 months ago

You can get a box around the license plate in frigate by enabling bounding_box in frigate config. But that's totally separate from this.

atv2016 commented 7 months ago

So that works with car object detection ? If I mess around with bounding box in debug I don't think it happens specifically for license plates ,just for anything that moves I think.

Anyway as you say that's outside of the scope here then. Would still be nice to have!