diff --git a/frigate/util.py b/frigate/util.py index 6a8892a06..f11c0b0f9 100755 --- a/frigate/util.py +++ b/frigate/util.py @@ -604,6 +604,7 @@ def add_mask(mask, mask_img): ) cv2.fillPoly(mask_img, pts=[contour], color=(0)) + def load_labels(path, encoding="utf-8"): """Loads labels from file (with or without index numbers). Args: