Don't require plates

This commit is contained in:
Nicolas Mowen 2025-03-28 16:57:56 -06:00
parent 83a431dc43
commit e310d3e085

View File

@ -323,7 +323,7 @@ def stats_snapshot(
embeddings_metrics.alpr_pps.value, 2
)
if "license_plate" not in config.objects.all_objects:
if embeddings_metrics.yolov9_lpr_pps.value:
stats["embeddings"]["yolov9_plate_detection_speed"] = round(
embeddings_metrics.yolov9_lpr_speed.value * 1000, 2
)