mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 09:02:15 +03:00
Fix ov for LPR (#20117)
* Check complex model * Reset state for complex models * Send arg * Fix * Cleanup
This commit is contained in:
@@ -43,7 +43,9 @@ class OvDetector(DetectionApi):
|
||||
self.w = detector_config.model.width
|
||||
|
||||
self.runner = OpenVINOModelRunner(
|
||||
model_path=detector_config.model.path, device=detector_config.device
|
||||
model_path=detector_config.model.path,
|
||||
device=detector_config.device,
|
||||
complex_model=False,
|
||||
)
|
||||
|
||||
# For dfine models, also pre-allocate target sizes tensor
|
||||
|
||||
Reference in New Issue
Block a user