Skip to content

Commit 21cee86

Browse files
author
Manuel Manso
committed
Fix bug (cv uses BGR and not RGB)
1 parent 07dedc7 commit 21cee86

File tree

1 file changed

+1
-1
lines changed
  • pythonvideoannotator_models_gui/models/video/objects/object2d/datasets/path

1 file changed

+1
-1
lines changed

pythonvideoannotator_models_gui/models/video/objects/object2d/datasets/path/path_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def draw(self, frame, frame_index):
342342
if self.color is None:
343343
Path.draw(self, frame, frame_index, None)
344344
else:
345-
Path.draw(self, frame, frame_index, (self.color.red(), self.color.green(), self.color.blue()))
345+
Path.draw(self, frame, frame_index, (self.color.blue(), self.color.green(), self.color.red()))
346346

347347
######################################################################
348348
### PROPERTIES #######################################################

0 commit comments

Comments
 (0)