From fd70729961aa66e4efeaac3e3de7752e14104927 Mon Sep 17 00:00:00 2001 From: Em Dash <67752771+mbyx@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:05:25 +0500 Subject: [PATCH] Fixed problem where recording is inverted by default. --- vidmaker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vidmaker/__init__.py b/vidmaker/__init__.py index 78a7f87..99069f8 100644 --- a/vidmaker/__init__.py +++ b/vidmaker/__init__.py @@ -77,7 +77,7 @@ def update(self, frame: np.ndarray, inverted: bool = False): :param frame: next frame to be rendered :param inverted: if the colors are inverted set this value to true """ - if inverted: + if not inverted: frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) if self.auto_res: