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: