diff --git a/frigate/data_processing/common/license_plate/model.py b/frigate/data_processing/common/license_plate/model.py index b22ab73a5f..25e7b2cafc 100644 --- a/frigate/data_processing/common/license_plate/model.py +++ b/frigate/data_processing/common/license_plate/model.py @@ -12,13 +12,13 @@ class LicensePlateModelRunner(DataProcessorModelRunner): def __init__(self, requestor, device: str = "CPU", model_size: str = "large"): super().__init__(requestor, device, model_size) self.detection_model = PaddleOCRDetection( - model_size=model_size, requestor=requestor, device="CPU" + model_size=model_size, requestor=requestor, device=device ) self.classification_model = PaddleOCRClassification( - model_size=model_size, requestor=requestor, device="CPU" + model_size=model_size, requestor=requestor, device=device ) self.recognition_model = PaddleOCRRecognition( - model_size=model_size, requestor=requestor, device="CPU" + model_size=model_size, requestor=requestor, device=device ) self.yolov9_detection_model = LicensePlateDetector( model_size=model_size, requestor=requestor, device=device