Use regular expressions for plate matching (#14727)

This commit is contained in:
Josh Hawkins
2025-02-08 12:47:01 -06:00
committed by Blake Blackshear
parent a0c35101fb
commit 8bb037f82e
5 changed files with 26 additions and 25 deletions
+3 -3
View File
@@ -154,7 +154,7 @@ class Embeddings:
"detection.onnx": "https://github.com/hawkeye217/paddleocr-onnx/raw/refs/heads/master/models/detection.onnx"
},
model_size="large",
model_type=ModelTypeEnum.alpr_detect,
model_type=ModelTypeEnum.lpr_detect,
requestor=self.requestor,
device="CPU",
)
@@ -166,7 +166,7 @@ class Embeddings:
"classification.onnx": "https://github.com/hawkeye217/paddleocr-onnx/raw/refs/heads/master/models/classification.onnx"
},
model_size="large",
model_type=ModelTypeEnum.alpr_classify,
model_type=ModelTypeEnum.lpr_classify,
requestor=self.requestor,
device="CPU",
)
@@ -178,7 +178,7 @@ class Embeddings:
"recognition.onnx": "https://github.com/hawkeye217/paddleocr-onnx/raw/refs/heads/master/models/recognition.onnx"
},
model_size="large",
model_type=ModelTypeEnum.alpr_recognize,
model_type=ModelTypeEnum.lpr_recognize,
requestor=self.requestor,
device="CPU",
)