Skip to content

Commit 12bbb78

Browse files
author
John Sun
committed
Fix so shoots in correct color
1 parent bba9eff commit 12bbb78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎SimpleCV/Camera.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3783,7 +3783,7 @@ def _captureFrame(self, timeout = 2000):
37833783

37843784
# Have to rotate it by 90 degrees and flip when returning it as an "Image"
37853785
rgb = np.flipud(np.rot90(rgb))
3786-
return Image(rgb)
3786+
return Image(rgb, colorSpace = ColorSpace.RGB)
37873787

37883788
except Exception, e:
37893789
print "Exception acquiring frame: %s: %s" % (e, traceback.format_exc())

0 commit comments

Comments
 (0)