Skip to content

Commit

Permalink
Fix so shoots in correct color
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sun committed Apr 7, 2014
1 parent bba9eff commit 12bbb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimpleCV/Camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -3783,7 +3783,7 @@ def _captureFrame(self, timeout = 2000):

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

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

0 comments on commit 12bbb78

Please sign in to comment.