cspell fixes (#11447)

This commit is contained in:
Meow
2024-05-20 07:37:56 -06:00
committed by GitHub
parent 84e823c62f
commit 6e39d55dd3
11 changed files with 200 additions and 11 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class FrigateMotionDetector(MotionDetector):
frameDelta, self.threshold.value, 255, cv2.THRESH_BINARY
)[1]
# black out everything in the avg_delta where there isnt motion in the current frame
# black out everything in the avg_delta where there isn't motion in the current frame
avg_delta_image = cv2.convertScaleAbs(self.avg_delta)
avg_delta_image = cv2.bitwise_and(avg_delta_image, current_thresh)
+1 -1
View File
@@ -28,7 +28,7 @@ logger = logging.getLogger(__name__)
def get_standard_aspect_ratio(width: int, height: int) -> tuple[int, int]:
"""Ensure that only standard aspect ratios are used."""
# it is imoprtant that all ratios have the same scale
# it is important that all ratios have the same scale
known_aspects = [
(16, 9),
(9, 16),
+1 -1
View File
@@ -163,7 +163,7 @@ class OnvifController:
logger.warning(f"Unable to get status from camera: {camera_name}: {e}")
status = None
# autoracking relative panning/tilting needs a relative zoom value set to 0
# autotracking relative panning/tilting needs a relative zoom value set to 0
# if camera supports relative movement
if (
self.config.cameras[camera_name].onvif.autotracking.zooming
+1 -1
View File
@@ -88,7 +88,7 @@ class TestConfig(unittest.TestCase):
"type": "openvino",
},
},
# needs to be a file that will exist, doesnt matter what
# needs to be a file that will exist, doesn't matter what
"model": {"path": "/etc/hosts", "width": 512},
}