Set the min region size as the model size (#8486)

This commit is contained in:
Nicolas Mowen
2023-11-06 05:45:37 -07:00
committed by GitHub
parent 08777100b5
commit 2b2c831253
3 changed files with 12 additions and 4 deletions

View File

@@ -487,7 +487,9 @@ class FrigateApp:
# create or update region grids for each camera
for camera in self.config.cameras.values():
self.region_grids[camera.name] = get_camera_regions_grid(
camera.name, camera.detect
camera.name,
camera.detect,
max(self.config.model.width, self.config.model.height),
)
def start_camera_processors(self) -> None: