From 8f68df60c7904e046524da382967697f048b3dc6 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 14 Dec 2020 07:05:27 -0600 Subject: [PATCH] fix test --- frigate/test/test_yuv_region_2_rgb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/test/test_yuv_region_2_rgb.py b/frigate/test/test_yuv_region_2_rgb.py index d8378fe79..a6dbd17c1 100644 --- a/frigate/test/test_yuv_region_2_rgb.py +++ b/frigate/test/test_yuv_region_2_rgb.py @@ -32,7 +32,7 @@ class TestYuvRegion2RGB(TestCase): # cv2.imwrite(f"bgr_frame.jpg", self.bgr_frame) yuv_frame = cv2.cvtColor(bgr_frame, cv2.COLOR_BGR2YUV_I420) - cropped = yuv_region_2_rgb(yuv_frame, (0, 852, 650, 1502)) + cropped = yuv_region_2_rgb(yuv_frame, (0, 852, 648, 1500)) # cv2.imwrite(f"cropped.jpg", cv2.cvtColor(cropped, cv2.COLOR_RGB2BGR)) if __name__ == '__main__':